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 chooser issue on Ubuntu 22.04
Servers for Qt installer are currently down

Qt chooser issue on Ubuntu 22.04

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 369 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.
  • J Offline
    J Offline
    JoeCFD
    wrote on 23 Aug 2022, 16:11 last edited by JoeCFD
    #1

    I just made some changes in my app, but could not see the changes in a new build with cmake. Running the app in QtCreator + pro file is fine.
    I noticed the difference is that cmake finds Qt with Qt chooser while Qt creator uses /usr/lib/qt5/bin directly. After I set /usr/lib/qt5/bin in the PATH, the build made by cmake is ok as well. The weird thing is qchooser -print-env outputs
    QTTOOLDIR="/usr/lib/qt5/bin" since I have only default Qt 5.15.3 in the machine. It should be the same thing. However, the builds are different. I tried my builds by removing the build dir completely.

    g++ 11.2 is nice and even showed some bugs I did not see before.

    J 1 Reply Last reply 25 Aug 2022, 05:56
    0
    • J JoeCFD
      23 Aug 2022, 16:11

      I just made some changes in my app, but could not see the changes in a new build with cmake. Running the app in QtCreator + pro file is fine.
      I noticed the difference is that cmake finds Qt with Qt chooser while Qt creator uses /usr/lib/qt5/bin directly. After I set /usr/lib/qt5/bin in the PATH, the build made by cmake is ok as well. The weird thing is qchooser -print-env outputs
      QTTOOLDIR="/usr/lib/qt5/bin" since I have only default Qt 5.15.3 in the machine. It should be the same thing. However, the builds are different. I tried my builds by removing the build dir completely.

      g++ 11.2 is nice and even showed some bugs I did not see before.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 25 Aug 2022, 05:56 last edited by
      #2

      @JoeCFD said in Qt chooser issue on Ubuntu 22.04:

      but could not see the changes in a new build with cmake

      Do you mean changes in your code?

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

      1 Reply Last reply
      0

      1/2

      23 Aug 2022, 16:11

      • Login

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