after building Qt using Visual Studio command prompt , my configure string: configure.exe -release
I try to test my first hello world application
#include <QtCore/QCoreApplication>
#include <iostream>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
std::cout<<"hello";
return a.exec();
}
but I got this error:
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
any help??