Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Compile GammaRay for specific Qt Version
Qt 6.12 LTS is out! See what's new in the release blog

Compile GammaRay for specific Qt Version

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 926 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.
  • M Offline
    M Offline
    marcus_1
    wrote on last edited by
    #1

    Hi,

    I have several Versions installed on Linux. I have installed 5.12, 5.15 and 6.2 installed. Furthermore, I want to compile gammaray for version 5.15. How do i have to do CMAKE-Configuration? Because CMake finds only 5.12 so gammaray compiles the wrong version.

    JoeCFDJ 1 Reply Last reply
    0
    • M marcus_1

      Hi,

      I have several Versions installed on Linux. I have installed 5.12, 5.15 and 6.2 installed. Furthermore, I want to compile gammaray for version 5.15. How do i have to do CMAKE-Configuration? Because CMake finds only 5.12 so gammaray compiles the wrong version.

      JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by JoeCFD
      #2

      @marcus_1 I guess 5.12 comes with the distribution.
      If for example you installed 5.15.2 under /opt, you can do
      export $PATH=/opt/Qt/5.15.2/gcc_64/bin:$PATH
      to put 5.15.2 in front of 5.12. To confirm this
      qmake --version
      If it shows 5.15.2, you are good to go.

      You can also try:
      export Qt5_DIR=/opt/Qt/5.15.2/gcc_64/lib/cmake/Qt5
      https://doc.qt.io/qt-5/cmake-get-started.html

      or use CMAKE_PREFIX_PATH
      cmake -DCMAKE_PREFIX_PATH=/opt/Qt/5.15.2/gcc_64

      You will not have problem with Qt6 since I guess you have only one. Add its qmake to the path, it will be ok.
      or use CMAKE_PREFIX_PATH

      1 Reply Last reply
      0

      • Login

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