aboutsummaryrefslogtreecommitdiffstats
path: root/src/src.pro
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2013-07-25 15:17:50 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-25 16:02:44 +0200
commite5fdbd5aabbd5ba82856910a08e2924b24e71766 (patch)
tree35e0a7ad85f6057e61a91b6b54d6187b1ba7e62f /src/src.pro
parentb8901c3ed6df49348c6fe3b6cbef6be6c21f60fc (diff)
Enable doc generation on non-windows platforms
This change enables running 'make docs' on platforms other than Windows. Change-Id: Ia6a03161db99fbe054f11e19f7cf152aa56574fb Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/src.pro')
-rw-r--r--src/src.pro12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/src.pro b/src/src.pro
index 1a9e120..4596140 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -1,3 +1,9 @@
-TEMPLATE = subdirs
-CONFIG += ordered
-win32:SUBDIRS += winextras imports
+win32 {
+ TEMPLATE = subdirs
+ CONFIG += ordered
+ SUBDIRS += winextras imports
+} else {
+ # fake project for creating the documentation
+ TEMPLATE = aux
+ QMAKE_DOCS = $$PWD/winextras/doc/qtwinextras.qdocconf
+}