读书人

QT4.3的程序放到QT4.6上编译异常请高

发布时间: 2012-09-05 15:19:35 作者: rapoo

QT4.3的程序放到QT4.6下编译错误,请高人指点!
qt3.4下编写的程序,放到4.6版本不能编译,有如下错误,请问怎么解决,是在VS2008环境下,非常感谢!
错误:WARNING: Can't find the Qt version that's associated with this project. Defaulting to 4.6.2 instead.


[解决办法]
Qt4和Qt3有很多的地方时不同的,在一些输出类中,他们的输出流的格式都不一样。你最好看一下Qt4的文档中的
porting to QT4,对你可能有帮助
[解决办法]

探讨
qt3.4下编写的程序,放到4.6版本不能编译,有如下错误,请问怎么解决,是在VS2008环境下,非常感谢!
错误:WARNING: Can't find the Qt version that's associated with this project. Defaulting to 4.6.2 instead.

[解决办法]
的确只是警告...没有关系。
[解决办法]
重新导入一下.pro文件...
[解决办法]
WARNING: Can't find the Qt version that's associated with this project. Defaulting to 4.6.2 instead.

再做一遍.pro 然后qmake
[解决办法]
探讨
WARNING: Can't find the Qt version that's associated with this project. Defaulting to 4.6.2 instead.

再做一遍.pro 然后qmake

[解决办法]
是二进制文件不能运行么?
还是说编译有错误?
qt3的api在qt4中很多都已经遗弃掉了或者是升级了。
[解决办法]
1>UIC PlayForm.ui
1>The system cannot find the path specified.

检查UIC命令,或PlayForm.ui文件是否存在。或者.ui文件中引用的其它文件是否存在。

读书人网 >QT开发

热点推荐