How did you install Qt? What commands did you take to compile the sample app? What does "qmake -v" output?
How did you install Qt? What commands did you take to compile the sample app? What does "qmake -v" output?
J-P Nurmi
I downloaded and installed QT 4.3.4 from the Trolltech website. I'm using the Code::Blocks IDE with GNU GCC compiler.
I just told Code::Blocks the location from QT and it worked...
The files QTimer.h and QDateTime.h exists...
But the compiler gives me a error
What should I do?
![]()
So, looks like it's a problem "how to setup Code::Blocks with Qt". You might want to search these or Code::Blocks forums. There have been some threads about setting up Code::Blocks with Qt. To assure your Qt installation functions, you could launch "Qt Command Prompt" from Start-menu and invoke command qmake & make in the project directory. This way it should compile fine.
J-P Nurmi
Bookmarks