Results 1 to 8 of 8

Thread: Trouble compiling with MinGW 5 and QT4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2007
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Trouble compiling with MinGW 5 and QT4

    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

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Trouble compiling with MinGW 5 and QT4

    What is the error?

  3. #3
    Join Date
    Oct 2007
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Trouble compiling with MinGW 5 and QT4

    I have attached a screenshot of the error in the zip file, for the best description.
    Attached Files Attached Files

  4. #4
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Trouble compiling with MinGW 5 and QT4

    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).

  5. #5
    Join Date
    Oct 2007
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Trouble compiling with MinGW 5 and QT4

    Sorry about that i did not mean for the post to come over like that.My computer is acting up.

    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.

  6. #6
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Trouble compiling with MinGW 5 and QT4

    I know what the error is and I also suggested a solution.
    Is your Qt installation compiled in debug mode too?

  7. The following user says thank you to marcel for this useful post:

    Yogibear (4th October 2007)

  8. #7
    Join Date
    Oct 2007
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Trouble compiling with MinGW 5 and QT4

    Hi Marcel,

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

  9. #8
    Join Date
    Oct 2007
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Trouble compiling with MinGW 5 and QT4

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.