PDA

View Full Version : Trouble compiling with MinGW 5 and QT4



Yogibear
3rd October 2007, 16:48
Good Day,


I am trying to compile the QT4 tutorial 1 simple example "Hello World" with the latest MinGW compiler(version 5) but it does not seem to work.Can someone help me or give some advice. suspect it has to be the MinGW compiler.I am new to QT so please forgive my ignorance.:)

BTW: I am using the open source QT 4

marcel
3rd October 2007, 17:00
What is the error?

Yogibear
3rd October 2007, 17:30
I have attached a screenshot of the error in the zip file, for the best description.

Yogibear
3rd October 2007, 17:33
I have attached a screenshot of the error in the zip file, for the best description.

Essentially

C:\MinGW\bin ................................mingw32\bin\Id.exe : cannot find -iqtmaind

I hope this is better,I appreciate your help

marcel
3rd October 2007, 17:34
Come on, in a doc?
Anyway, you most likely don't have the debug version of the Qt libs.
The solution is either to compile Qt in debug mode or compile your app in release( remove debug from CONFIG, in the pro file).

Yogibear
3rd October 2007, 17:45
Sorry about that i did not mean for the post to come over like that.My computer is acting up.:crying:

Anyway the error is

C:\MinGW\bin ................................mingw32\bin\Id.exe : cannot find -iqtmaind

I suspect it MinGW.

Again i do apologize for that last doc post.

marcel
3rd October 2007, 17:59
I know what the error is and I also suggested a solution.
Is your Qt installation compiled in debug mode too?

Yogibear
4th October 2007, 13:07
Hi Marcel,

I got everything to work,thanks to you and your advice:cool: