summaryrefslogtreecommitdiffstats
path: root/src/qt_install.pri
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-12-10 06:39:46 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-12-11 01:58:10 (GMT)
commit6c161d6cca6c08843b479c00fffb9c7217aec505 (patch)
tree1b0ab891407b26ff071f930f40f9be4613884b76 /src/qt_install.pri
parent4d3839eb99d720393e1386d63fa04c83367bb076 (diff)
downloadQt-6c161d6cca6c08843b479c00fffb9c7217aec505.zip
Qt-6c161d6cca6c08843b479c00fffb9c7217aec505.tar.gz
Qt-6c161d6cca6c08843b479c00fffb9c7217aec505.tar.bz2
Install private headers when configuring Qt with -developer-build.
Many Qt autotests require both private symbols and private headers. Private symbols are turned on using -developer-build. However, prior to this commit there was no way to install private headers into the Qt install directory. This is particularly relevant for packaging systems which use `make install' to determine what should be packaged. For example, Qt for Maemo debian packages are effectively unusable for Qt autotests without this commit. Reviewed-by: Michael Goddard
Diffstat (limited to 'src/qt_install.pri')
-rw-r--r--src/qt_install.pri6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt_install.pri b/src/qt_install.pri
index ebeac8d..5b29942 100644
--- a/src/qt_install.pri
+++ b/src/qt_install.pri
@@ -30,6 +30,12 @@ qt_install_headers {
targ_headers.files = $$INSTALL_HEADERS
targ_headers.path = $$[QT_INSTALL_HEADERS]/$$TARGET
INSTALLS += targ_headers
+
+ contains(QT_CONFIG,private_tests) {
+ private_headers.files = $$SYNCQT.PRIVATE_HEADER_FILES
+ private_headers.path = $$[QT_INSTALL_HEADERS]/$$TARGET/private
+ INSTALLS += private_headers
+ }
}
embedded:equals(TARGET, QtGui) {