]> git.lyx.org Git - lyx.git/commit
Force absolute paths with qmake
authorEnrico Forestieri <forenr@lyx.org>
Sun, 29 May 2022 09:57:58 +0000 (11:57 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Sun, 29 May 2022 09:57:58 +0000 (11:57 +0200)
commitd7662e5586595ffe562623e792d6e836aedbbbaf
treea31b4930106dc2a03557d8c1e28a3c571719b452
parent0d6e3bcdc373a99d93e6bb09d8c55b6a87b6be8c
Force absolute paths with qmake

When generating makefiles, by default qmake tries to use
relative paths if it can replace at most 4 subdirs with "../"
to reach the QTDIR from the project file location.
This maximum can be changed by defining QMAKE_PROJECT_DEPTH, and
setting it to zero forces qmake to always use absolute paths.

This is necessary because the paths for includes and libs are
generated by a temporary project file located in a temporary dir
not corresponding to the real source dir.
config/qt.m4