[Qt] Nothing to be done for ...
Posted: Tue Jul 30, 2013 11:05 am
I'm trying to use Qt, but is not working
It is a console application
Already added all environment variable
Source: main.cpp
It is a console application
Already added all environment variable
Code: Select all
C:\Windows\system32\cmd.exe /c "mingw32-make.exe -j 4 -e -f Makefile"
"----------Building project:[ MyQtProj - Debug ]----------"
mingw32-make.exe[1]: Entering directory `C:/Users/pc/Desktop/TestLibrary/MyQtProj'
mingw32-make.exe[1]: Nothing to be done for `MyQtProj.mk'.
mingw32-make.exe[1]: Leaving directory `C:/Users/pc/Desktop/TestLibrary/MyQtProj'
0 errors, 0 warnings
Code: Select all
#include <QString>
int main(int argc, char **argv)
{
QString str;
str = "Hello world from QT";
printf("%s\n", str.toLocal8Bit().constData());
return 0;
}