Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qmake on linux(oracle red hat)

Qmake on linux(oracle red hat)

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 2.9k 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.
  • S Offline
    S Offline
    Splertiki
    wrote on last edited by
    #1

    I built QT from the opensource to a folder named /linux/5.0.2
    After all was completed I then changed the folder name to /linux/5.0.2x64

    After this I created a project on windows, created a corresponding .pro file and transfered it to linux. Upon running qmake it would fail claiming it could not find some files. I then ran with the -d flag on for debugging and it shows that the qmake is still trying to check /linux/5.0.2 even though I have changed QTDIR/INC/LIB to 5.0.2x64 PATH also includes up to that point.

    Is there another environment variable or some config issue that I have to change in order to fix this?
    FYI I copied the 5.0.2x64 folder to 5.0.2 as well, the project then compiled and runs successfully.

    Also for switching between 32 and 64 bit builds, is the only option to manipulate enviro variables or is there a simplier way?

    Curtis

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

      Hi and welcome to devnet,

      Moving Qt build around is not supported, on windows and linux the most straightforward solution is to have both build installed in different directories (using i.e. -prefix as a build option)

      Hope it helps

      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

      • Login

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