diff options
Diffstat (limited to 'misc/qt5-doc/files')
-rw-r--r-- | misc/qt5-doc/files/patch-qtserialbus_qtserialbus.pro | 13 | ||||
-rw-r--r-- | misc/qt5-doc/files/qt.conf.in | 32 |
2 files changed, 45 insertions, 0 deletions
diff --git a/misc/qt5-doc/files/patch-qtserialbus_qtserialbus.pro b/misc/qt5-doc/files/patch-qtserialbus_qtserialbus.pro new file mode 100644 index 000000000000..d993cb874799 --- /dev/null +++ b/misc/qt5-doc/files/patch-qtserialbus_qtserialbus.pro @@ -0,0 +1,13 @@ +Do not require a modern compiler, we are only building docs. +--- qtserialbus/qtserialbus.pro.orig 2016-05-12 10:12:53 UTC ++++ qtserialbus/qtserialbus.pro +@@ -10,9 +10,6 @@ qtCompileTest(socketcan) + qtCompileTest(socketcan_fd) + load(qt_parts) + +-requires(config_language) # enforce defined set of C++11 +-!config_language:warning("Cannot compile the module with your compiler, missing C++11 language features.") +- + linux { + !config_socketcan:warning("You need linux/can.h and linux/can/raw.h linux headers for socketCAN support, disabling it") + !config_socketcan_fd:warning("Newer kernel needed for flexible data-rate frame support 'canfd_frame'") 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 |