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
Qt Code:
  1. #include <QApplication>
  2. #include <QTextEdit>
  3.  
  4. int main( int args, char **argv )
  5. {
  6. QApplication myApp( args, argv );
  7. QTextEdit textedit;
  8.  
  9. textedit.show();
  10. return myApp.exec();
  11. }
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.