qmake QT工程出现qmakespec has not been set错误解决方案
2014-03-10 10:28
441 查看
很早之前QT编译好了,当时也可以用,可是过了一段时间,突然想用VS来qmake一下QT的工程,发现出现下面的错误,很是纳闷,
于是查找了半天,终于发现原因了。
这是由于程序找不到静态库,根据提示用文本格式打开XXX.pro的QT工程文件,替换XXX.pro文件中路径C:\Windows\System32为 QGLViewer2.lib所在目录。另外把 QGLViewer2.dll所在目录添加到系统环境变量中或者将dll复制到 C:\Windows\System32中。这样就我们再次qmake就没问题了。
(注:上述均是在VS2010编译器中)
相关文章推荐
- 配置编译linux下QT程序编译时的错误:QMAKESPEC has not been set, so configuration cannot be deduced.
- QT程序编译时的错误:QMAKESPEC has not been set, so configuration cannot be deduced.
- linux下QT程序编译时的错误:QMAKESPEC has not been set, so configuration cannot be deduced.
- QT程序编译时的错误:QMAKESPEC has not been set, so configuration cannot be deduced.
- 果编译时候出现错误:QMAKESPEC has not been set, so configuration cannot be deduced.
- linux下配置QT QMAKESPEC has not been set, so configuration cannot be deduced
- linux下编译QT出错:QMAKESPEC has not been set, so configuration cannot be deduced
- window下配置QT QMAKESPEC has not been set, so configuration cannot be deduced
- 问题四20150827解决maven打包编译出现File encoding has not been set问题
- 解决maven打包编译出现File encoding has not been set问题
- 工程make时出现"时钟错误的问题"的解决方案
- 解决Mac上Qt出现Project ERROR: Xcode not set up properly错误方法
- webpack打包The 'mode' option has not been set,错误提示
- 打Android包出现异常UnityException: Bundle Identifier has not been set up correctly
- 解决maven打包编译出现File encoding has not been set问题
- 解决maven打包编译出现File encoding has not been set问题
- tesseract-ocr 出现 错误 Please make sure the TESSDATA_PREFIX environment variable is set to the parent d irectory of your "tessdata" directory.解决方案
- Qt creator工程项目移植时因环境变换造成qmake错误的解决方案 1.问题描述:移植从他机上的qt工程项目,打开时提示: Qt Creator找到了一个由其他开发环境创建的设置文件,或许
- 学习笔记:出现错误ActivityManager: Warning: Activity not started, its current task has been brought to the fr
- 解决maven打包编译出现File encoding has not been set问题