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. Creator: Override include path from .pro file?
Forum Updated to NodeBB v4.3 + New Features

Creator: Override include path from .pro file?

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 1.2k 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.
  • A Offline
    A Offline
    Asperamanca
    wrote on last edited by
    #1

    I have a rather complex .pro file which is tailored to the needs of our compile server and automatic build.

    When used locally, I would like to remove one of the include paths. However, since the .pro file is a source managed in our source code repository, and Creator's .user files is not, I am looking for a way to override the include path within Creator (2.8.0).

    Is that possible?

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

      Hi,

      You could add a CONFIG option that you set when building locally so it changes what you need. i.e. using CONFIG+=localBuild in QtCreator's qmake parameters.

      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
      • A Offline
        A Offline
        Asperamanca
        wrote on last edited by
        #3

        Good idea, though not the "quick fix" I had hoped for.

        Thanks!

        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