Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to control QtSDK paths in qmake-generated Windows project?
Qt 6.11 is out! See what's new in the release blog

How to control QtSDK paths in qmake-generated Windows project?

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 1.4k Views 1 Watching
  • 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.
  • E Offline
    E Offline
    ericday
    wrote on last edited by
    #1

    Hi,

    My Qt application has a .pro file, and I use "qmake -tp vc" to auto-generate a Visual Studio project file for it. In the resulting VS project file, some of the paths to the QtSDK are relative (i.e. ....\QtSDK...) and some are absolute (i.e. C:\QtSDK...).

    This requires that all developers who compile the application from the VS project file have the SDK installed in the same location and have their view of the SVC code tree at the same path depth relative to the SDK.

    Is there any way to have greater control over how qmake points to the QtSDK in the project files it generates? I'd really like all paths to be relative, but I'd settle for them all being absolute. It's the combination which is most problematic.

    Thanks!

    • Eric
    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