diff --git a/src/src.pro b/src/src.pro
index 1a9e120284c16e095107c2536e33373d7429f686..459614064409bd0db78407320295f7b009198aae 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
+}