Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved qmake v2.01a versus v3.0

    General and Desktop
    2
    2
    376
    Loading More Posts
    • 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
      Seismic last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • First post
          Last post