使用Visual Studio命令提示符構建Qt後, 我的配置字符串:configure.exe -releaseQt和Visual Studio 2010的錯誤
我嘗試測試我的第一個Hello World應用程序
#include <QtCore/QCoreApplication>
#include <iostream>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
std::cout<<"hello";
return a.exec();
}
,但我得到這個錯誤:
Error 1 error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' c:\Users\Kato\documents\visual studio 2010\Projects\qhelloworld\qhelloworld\QtCore4.lib(QtCore4.dll) qhelloworld
任何幫助?
我正在使用visual studio 2010 ultimate –
現在退房:) – Blood