diff options
Diffstat (limited to 'misc/qt5-doc/files/qt.conf.in')
-rw-r--r-- | misc/qt5-doc/files/qt.conf.in | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/misc/qt5-doc/files/qt.conf.in b/misc/qt5-doc/files/qt.conf.in new file mode 100644 index 000000000000..50a0edcdb0d6 --- /dev/null +++ b/misc/qt5-doc/files/qt.conf.in @@ -0,0 +1,32 @@ +# This file is installed alongside the qmake symlink in +# ${BUILD_WRKSRC}/qtbase/bin. The qmake binary reads it and overrides some of +# qmake's built-in properties. +# +# qmake's variant properties are not officially documented, so here is +# a quick explanation: +# - $$[FOO] refers to the final locations where things are installed. It can be +# changed in the Paths section of this file. +# - $$[FOO]/get refers to locations within a build directory, before the files +# are installed into their final location. It can be changed in the +# EffectivePaths section. +# - $$[FOO]/src refers to the source locations of some items (e.g. during a +# build, some files are expected to be in the source directory, not the build +# directory). It can be configured via the EffectiveSourcePaths entry. +# +# In short, we are tricking qmake into behaving as if we had run `configure +# -developer-build`: all the QT_* and QT_*/get properties point to +# ${BUILD_WRKSRC}/qtbase and its subdirectories so that this is treated like a +# developer build (where the installation prefix is the same as the build +# directory). +# +# Additionally, we point QT_INSTALL_DOC/src to the location where the .qdocconf +# files are installed by the devel/qt5-qdoc-data port. + +[EffectivePaths] +Prefix=%%BUILD_WRKSRC%%/qtbase + +[EffectiveSourcePaths] +Documentation=%%QT_DOCDIR%% + +[Paths] +Prefix=%%BUILD_WRKSRC%%/qtbase |