Hi guys,
I have medium level experience of programming in C++. Today I got a very small project assignment in University. For that I want to use Qt to connect with MySQl for basic data storage and retrieval. But unfortunately I am stuck at the very first level of compiling and running a hello world type program in Qt.
I have Qt SDK 4.8.0 installed on Windows 7.
I have placed the following source code in a file named: GUITextEdit.cpp
#include <QApplication>
#include <QTextEdit>
int main( int args, char **argv )
{
textedit.show();
return myApp.exec();
}
#include <QApplication>
#include <QTextEdit>
int main( int args, char **argv )
{
QApplication myApp( args, argv );
QTextEdit textedit;
textedit.show();
return myApp.exec();
}
To copy to clipboard, switch view to plain text mode
Here is what happens when I try to compile this program.
line no. 66 of the generated Makefile is:
Makefile: GUITextEdit.pro c:/QtSDK/Desktop/Qt/4.8.0/mingw/mkspecs/default/qmake.conf c:/QtSDK/Desktop/Qt/4.8.0/mingw/mkspecs/qconfig.pri \
I also have netbeans 7.1 installed with cygwin for my usual C++ ( and java ) programming. Could it be a reason of this problem.
Please help me and tell what could be a reason of this problem.
Bookmarks