Results 1 to 8 of 8

Thread: qmake problem after reinstallation

  1. #1
    Join Date
    Jul 2013
    Posts
    36
    Thanks
    14
    Thanked 8 Times in 8 Posts
    Qt products
    Qt5

    Default qmake problem after reinstallation

    I reinstalled QT 5.2 and now I cant really get it back up and running.

    I first downloaded the MSVC12 version, didnt work, so I tried again with the online installer. I always get the message: ":-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.". When I go to options -> build & run -> kits I see:

    kits.jpgqmake_problem.jpgcompiler.jpg

    I want to use the MSVC2012 amd64 or 32 version, like I did before. But how do I get them working? I always end up seeing: "No compiler can produce code for this Qt version ...". What did I do wrong?
    Last edited by xtlc; 2nd January 2014 at 08:02.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: qmake problem after reinstallation

    You have clearly installed the Qt libraries for the MingW tool chain. Run the installer again and select the MsVC 2012 version of the libraries.

  3. The following user says thank you to ChrisW67 for this useful post:

    xtlc (3rd January 2014)

  4. #3
    Join Date
    Jul 2013
    Posts
    36
    Thanks
    14
    Thanked 8 Times in 8 Posts
    Qt products
    Qt5

    Default Re: qmake problem after reinstallation

    I did that before. This is why they are all there, but I was not able to use them. Shouldn't I be able to get them up and running too in my actual setting? I would like to be able to choose my compiler anyway...

  5. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: qmake problem after reinstallation

    Have you done what the message says? Go into the Kit definition for "Desktop Qt 5.2.0 MSVC 32bit" or "... 64bit" and select the compiler.

  6. The following user says thank you to ChrisW67 for this useful post:

    xtlc (3rd January 2014)

  7. #5
    Join Date
    Jul 2013
    Posts
    36
    Thanks
    14
    Thanked 8 Times in 8 Posts
    Qt products
    Qt5

    Default Re: qmake problem after reinstallation

    kits2.jpgProblem is, if I klick "manage" under Compilers I am dragged to the compilers window. If I clone my amd64 MSVC 2012 Compiler I can select it under kits, but it says sth like "Compiler can not produce code vor the qt version ...".

  8. #6
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: qmake problem after reinstallation

    Ignoring Qt and Qt Creator, is your Visual Studio install able to build a simple Hello World program?

  9. The following user says thank you to ChrisW67 for this useful post:

    xtlc (4th January 2014)

  10. #7
    Join Date
    Jul 2013
    Posts
    36
    Thanks
    14
    Thanked 8 Times in 8 Posts
    Qt products
    Qt5

    Default Re: qmake problem after reinstallation


  11. #8
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: qmake problem after reinstallation

    Then I guess that either the "auto detected" path to the compiler on the "Compilers" tab is wrong or something necessary for running the compiler is missing from the environment that Qt Creator is installed in.

    When you try to compile a Hello QtCentre example inside Qt Creator does the Compiler Output panel contain useful messages?

Similar Threads

  1. wasted time during widget reinstallation : NOT update
    By stupr in forum General Programming
    Replies: 1
    Last Post: 12th July 2010, 13:32
  2. A problem about qmake in Qt 4.4
    By alban_gt in forum Qt Programming
    Replies: 3
    Last Post: 24th July 2008, 17:19
  3. Problem with QMake/UIC
    By hardgeus in forum Qt Programming
    Replies: 11
    Last Post: 31st March 2008, 18:51
  4. QObject / QEvent compilation problem after reinstallation?
    By hickscorp in forum Installation and Deployment
    Replies: 12
    Last Post: 10th May 2007, 23:23
  5. qmake foo.pro problem
    By impeteperry in forum Installation and Deployment
    Replies: 3
    Last Post: 11th January 2007, 20:54

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
  •  
Qt is a trademark of The Qt Company.