Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Creator kit calling wrong qmake (but from cmdline OK)
QtWS25 Last Chance

Qt Creator kit calling wrong qmake (but from cmdline OK)

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 4 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    andyj25
    wrote on last edited by andyj25
    #1

    Hi everyone,

    I'm trying to do a native compile for my desktop (x86, Linux, 64-bit). If I execute qmake and make from the command line (terminal), things work wonderfully and the executable works.

    /home/andrew/Qt/5.8/gcc_64/bin/qmake
    make

    When I use Qt Creator, I select my kit (I only have one):
    alt text
    The QT version looks OK (QT 5.8.0 GCC 64-bit):
    alt text

    And if I look at the 'qmake' path that's associated with the above QT version, that all looks fine too (i've highlighted it in the pic, starting with /home/andrew/)

    alt text

    So why when I run 'build' using the selected kit, it seems to be running the wrong qmake version?

    alt text

    Thanks everyone!!

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andyj25
      wrote on last edited by
      #2

      Everything seems fixed after I did a project configure. Not quite sure exactly what is going on there. But everything works perfectly now and it's using the correct qmake.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        What do you mean by "project configure" ? How did you open it the first time when it was failing ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andyj25
          wrote on last edited by
          #4

          This dialog came up, and after that, all was fixed. But I can't quite seem to know how to get it back for future reference:

          alt text

          mrjjM jsulmJ 2 Replies Last reply
          0
          • A andyj25

            This dialog came up, and after that, all was fixed. But I can't quite seem to know how to get it back for future reference:

            alt text

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @andyj25
            Hi
            if you delete the .user file it will ask again.
            However, the settings are available in Projects. (left side bar)

            1 Reply Last reply
            1
            • A andyj25

              This dialog came up, and after that, all was fixed. But I can't quite seem to know how to get it back for future reference:

              alt text

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @andyj25 You should run qmake after changing kit

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              2

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved