vs2005下的qt打开D:\SDK\ 路径下的test_QT.pro文件出现如下错误求解。 5
---(Import):Generatingnewprojectoftest_QT.profile---(qmake):Using:c:\qt\qt4.8.5\bin\q...
--- (Import): Generating new project of test_QT.pro file
--- (qmake) : Using: c:\qt\qt4.8.5\bin\qmake
--- (qmake) : Working Directory:
--- (Import): Generating new project of test_QT.pro file
--- (qmake) : Using: c:\qt\qt4.8.5\bin\qmake
--- (qmake) : Working Directory: D:\SDK\SDK_RO\Tools\demo\linux_demo\Alarm
--- (qmake) : Arguments: -tp vc "test_QT.pro" -o "test_QT.vcproj" QMAKE_INCDIR_QT=$(QTDIR)\include QMAKE_LIBDIR=
$(QTDIR)\lib QMAKE_MOC=$(QTDIR)\bin\moc.exe QMAKE_QMAKE=$(QTDIR)\bin\qmake.exe
[1] - QMAKESPEC has not been set, so configuration cannot be deduced.
[2] - Error processing project file: test_QT.pro
--- (Import): Error(s): 2
--- (qmake) : Exit Code: 3
--- (qmake) : Arguments: -tp vc "test_QT.pro" -o "test_QT.vcproj" QMAKE_INCDIR_QT=$(QTDIR)\include QMAKE_LIBDIR=
$(QTDIR)\lib QMAKE_MOC=$(QTDIR)\bin\moc.exe QMAKE_QMAKE=$(QTDIR)\bin\qmake.exe
[1] - QMAKESPEC has not been set, so configuration cannot be deduced.
[2] - Error processing project file: test_QT.pro
--- (Import): Error(s): 2
--- (qmake) : Exit Code: 3
我看了下QMAKESPEC这个环境变量配置文件QMAKESPEC=win32-msvc2005,这个应该没问题的,不知道哪里还有错误,没分了悬赏五分吧 展开
--- (qmake) : Using: c:\qt\qt4.8.5\bin\qmake
--- (qmake) : Working Directory:
--- (Import): Generating new project of test_QT.pro file
--- (qmake) : Using: c:\qt\qt4.8.5\bin\qmake
--- (qmake) : Working Directory: D:\SDK\SDK_RO\Tools\demo\linux_demo\Alarm
--- (qmake) : Arguments: -tp vc "test_QT.pro" -o "test_QT.vcproj" QMAKE_INCDIR_QT=$(QTDIR)\include QMAKE_LIBDIR=
$(QTDIR)\lib QMAKE_MOC=$(QTDIR)\bin\moc.exe QMAKE_QMAKE=$(QTDIR)\bin\qmake.exe
[1] - QMAKESPEC has not been set, so configuration cannot be deduced.
[2] - Error processing project file: test_QT.pro
--- (Import): Error(s): 2
--- (qmake) : Exit Code: 3
--- (qmake) : Arguments: -tp vc "test_QT.pro" -o "test_QT.vcproj" QMAKE_INCDIR_QT=$(QTDIR)\include QMAKE_LIBDIR=
$(QTDIR)\lib QMAKE_MOC=$(QTDIR)\bin\moc.exe QMAKE_QMAKE=$(QTDIR)\bin\qmake.exe
[1] - QMAKESPEC has not been set, so configuration cannot be deduced.
[2] - Error processing project file: test_QT.pro
--- (Import): Error(s): 2
--- (qmake) : Exit Code: 3
我看了下QMAKESPEC这个环境变量配置文件QMAKESPEC=win32-msvc2005,这个应该没问题的,不知道哪里还有错误,没分了悬赏五分吧 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询