Results 1 to 3 of 3

Thread: QT install compatibilty problem

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

    Question QT install compatibilty problem

    I have installled qt (Open source current release ) on the windows XP ,while installing it asks for the Mingw directory,when i provide the path to that directory,an error prompts and said

    "Compatibilty error The g++ version required is 3.4.2 (detected 3.4.1) w32api.h" This may cause the compatibility problem.

    But when i checked the command line for version it prompted as "3.4.5" which i guess should be compatible.By the way i have installed the mingw by checking the installation instructions in the Mingw's wiki page.It worked fine and my c++ programs work but QT installation causes error.

    I dont know what that means,how it affected the QT,When Tried to run the command line utility of "QT 4.2.2 Build debug release",It failed and it brings out the long list of error as shown in short below:

    project.cpp: At global scope:
    project.cpp:2494: error: expected `,' or `...' before '&' token
    project.cpp:2495: error: ISO C++ forbids declaration of `QString' with no type
    project.cpp:2495: error: redefinition of `bool QMakeProject::test(int)'
    project.cpp:2488: error: `bool QMakeProject::test(int)' previously defined here
    project.cpp:2495: confused by earlier errors, bailing out
    mingw32-make: *** [project.o] Error 1
    Building qmake failed, return code 2

    mingw32-make: *** No rule to make target `debug'. Stop.

    I dont know how to sort the things out now,Please help me to set up the QT envirement.If you wat please help me step by step.

    Please help.thanks in advance.

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT install compatibilty problem

    Could it be that your mingw is a good version, but your Windows headers (the file that you refered to) is older?

  3. #3
    Join Date
    Jan 2007
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QT install compatibilty problem

    Yes problem is solved i just installed the Mingw again with diffrent path in envirement variable & installed the QT again.it works.I think ur are right the windows heade ris old,but i didn't find any new version so if you know other stable version of MIngw then please let me know.

Similar Threads

  1. how to install kde new version on redhat 9
    By amit_pansuria in forum KDE Forum
    Replies: 3
    Last Post: 22nd November 2006, 15:36
  2. problem aboout install qt/e 3.3.4
    By cti1912 in forum Installation and Deployment
    Replies: 0
    Last Post: 12th October 2006, 09:28
  3. Replies: 16
    Last Post: 7th March 2006, 15:57
  4. QtSolutions install problem
    By TheKedge in forum Installation and Deployment
    Replies: 4
    Last Post: 7th February 2006, 09:48
  5. Cannot Install KDEdevel packages on linux
    By wirajr in forum KDE Forum
    Replies: 12
    Last Post: 5th February 2006, 21:01

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.