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. qmake v2.01a versus v3.0
Forum Updated to NodeBB v4.3 + New Features

qmake v2.01a versus v3.0

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 515 Views 2 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.
  • S Offline
    S Offline
    Seismic
    wrote on last edited by
    #1

    My apologies in advance if this was already addressed. I am in the process of upgrading my our product line's framework from QT 4.8 to QT 5.5.1. I am noticing that qmake v3.0 does not auto-generate the INCLUDEPATH to include the directories I specify to qmake in project mode.

    For example:
    qmake -project /home/user/git/source/shared/global

    The INCLUDEPATH specified in the .pro file does not include /home/user/git/source/shared/global.

    In qmake v2.0, the INCLUDEPATH would contain /home/user/git/source/shared/global in this case.

    I was digging through the qmake manual and looking on the forums for an explanation to no avail.

    Can we somehow get this behavior restored in qmake v3.0? Or is there some other method we need to follow to properly auto-generate the INCLUDEPATH variable?

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

      Hi and welcome to devnet,

      You can use qmake -project INCLUDEPATH+=/home/user/git/source/shared/global

      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