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 with absolute pathes
QtWS25 Last Chance

qmake with absolute pathes

Scheduled Pinned Locked Moved Unsolved General and Desktop
qmake
3 Posts 2 Posters 269 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.
  • M Offline
    M Offline
    Merssedes
    wrote on 18 Jun 2024, 16:14 last edited by
    #1

    When qmake executed over the project with subprojects, it generates Makefiles in the way that any compilation error attributed to the file with the path relative to the folder of the subproject. This makes my editor to break trying to navigate to file with the errors. Is there a way to generate Makefiles with absolute pathes?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 18 Jun 2024, 18:31 last edited by
      #2

      Hi,

      From very old memory, I think you can use $$PWD in front of the file paths you use for the SOURCES and HEADERS variables.

      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
      • M Offline
        M Offline
        Merssedes
        wrote on 19 Jun 2024, 05:40 last edited by
        #3

        I can, but it does not solve the issue.

        1 Reply Last reply
        0

        3/3

        19 Jun 2024, 05:40

        • Login

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