Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

qmake.exe file in the wrong folder, Anaconda 2, how to compile gui



  • Hi everyone !

    This is my first post and I am kind of a newbie in computer generality like managing root files and stuff. Nevertheless, I know how to code or at least how to learn. Moreover, I understand how to do programming command if you explain it to me but I don't know I had to do it.

    I came here because I have a problem.

    I installed Anaconda 2 a year ago for a school project on python. It worked perfectly. Instead now, I would like to use Qt to create a GUI. I installed Qt but my GUI (just the graphic part, there is no function behind) doesn't compile. In cause, the "qmake.exe" file isn't in the Qt root folder, but in the Anaconda 2 one ...

    So, in the option panel of Qt, I have red warning next to the version tab and kit tab (that's the part I do not master). How can I solve it ? Do I just need to copy/paste the qmake file in the bin folder of the Qt root folder ? Do I have to do something else ?

    I looked for it on the internet, but didn't find it.

    Thank a lot !


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    How did you install Qt exactly ?



  • Hi,

    I went on the Qt website. I downloaded the open source version and leave everything by default during the install.

    I wasn't able to check some options because i didn't find anything which appear abnormal


  • Lifetime Qt Champion

    Are you working on the command line ?



  • Command line?

    Nope, I am on Qt creator.


  • Lifetime Qt Champion

    Then you should check your kits as well as Qt versions in the preferences of Qt Creator.



  • Fixed it!

    I uninstalled it and installed it again but I checked a "Mingw 32-bit" checkbox in the option panel in the latest Qt version available.

    Work perfectly for now.

    So just configure correctly the tool installation at firdt, avoiding any problems and conflict with other IDE


  • Lifetime Qt Champion

    Hi
    Just so i also understand it
    Using Anaconda 2, one should use
    32 bit mingw Qt ?


  • Lifetime Qt Champion

    I would rather be on the side of a path clash with Anaconda's installed version of Qt.


Log in to reply