window下配置QT QMAKESPEC has not been set, so configuration cannot be deduced

原创 2011年08月16日 21:53:43

果编译时候出现错误:QMAKESPEC has not been set, so configuration cannot be deduced.

Error processing project file: XXXXX.pro
参考文章:
http://qtnode.net/wiki/Qt4_with_Visual_Studio

个人在2011.4.3也编译过4.7.2,不过当时编译完之后就没有用,直到今后,要编译itemviews-ng(Itemviews – The Next Generation),它依赖Qt4.7,它做什么的,查一文档吧,中文的帮助很少, 个人在Youtube视频上看到的KDE资源管理器就用了它, 下面是一下能缩放大小的表格,


在环境变量加上:

QMAKESPEC = win32-msvc2008

附linux下解决办法:

是QMAKESPEC变量没有设置好,在/root/.bash_profile里加入一行:

export QMAKESPEC=/usr/local/qt-x11-opensource-src-4.3.2/mkspecs/linux-g++(即是linux-g++的路径)。

参考网址

相关文章推荐

linux下编译QT出错:QMAKESPEC has not been set, so configuration cannot be deduced

如果编译时候出现错误:QMAKESPEC has not been set, so configuration cannot be deduced. Error processing project...

QT程序编译时的错误:QMAKESPEC has not been set, so configuration cannot be deduced.

如果在编译的时候出现下面的错误:QMAKESPEC has not been set, so configuration cannot be deduced.Error processing proj...

linux下配置QT QMAKESPEC has not been set, so configuration cannot be deduced

如果编译时候出现错误:QMAKESPEC has not been set, so configuration cannot be deduced. Error processing project...

QT程序编译时的错误:QMAKESPEC has not been set, so configuration cannot be deduced.

如果编译时候出现错误:QMAKESPEC has not been set, so configuration cannot be deduced. Error processing proje...

qmake QT工程出现qmakespec has not been set错误解决方案

很早之前QT编译好了,当时也可以用,可是过了一段时间,突然想用VS来qmake一下QT的工程,发现出现上述错误,很是纳闷,于是查找了半天,终于发现原因了。          这是由于程序找不到静态库...

java.lang.IllegalStateException: File has been moved - cannot be read again

在用jqueryfileupload上传文件时报如下错误: java.lang.IllegalStateException: File has been moved - cannot be read...

偶尔发生File has been moved - cannot be read again,其实是个误解

java

The operation cannot be completed because the DbContext has been disposed

第99行换成: ZhaopinDbContext db = new ZhaopinDbContext(); 错误消失,页面显示正常了。到这里问题已经解决,是否就应该翻篇了呢。no,这不是一个程序员...
  • sxf359
  • sxf359
  • 2016年11月24日 11:07
  • 433

AsyncTask时异常: Cannot execute task: the task has already been executed (a task can be executed only o

使用AsyncTask时有一个破异常,这个异常让我从AsyncTask转到Handler  Cannot execute task: the task has already been execut...

Debug error:"One or more breakpoints cannot be set and have been disabled.Execution will stop at the

Debug error:"One or more breakpoints cannot be set and have been disabled.Execution will stop at the...
  • artmcu
  • artmcu
  • 2012年09月28日 08:48
  • 698
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:window下配置QT QMAKESPEC has not been set, so configuration cannot be deduced
举报原因:
原因补充:

(最多只允许输入30个字)