qdbusxml2cpp: fix build on Windows
authorKonstantin Ritt <ritt.ks@gmail.com>
Wed, 18 Apr 2012 00:45:53 +0000 (03:45 +0300)
committerQt by Nokia <qt-info@nokia.com>
Wed, 18 Apr 2012 23:57:58 +0000 (01:57 +0200)
bootstrapped process defines QT_NO_LIBRARY but QT_NO_LIBRARY
is not supported on Windows

Change-Id: I353a8690832e292522ed6c39a7e0ca19b0980e01
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/dbus/qdbus_symbols.cpp

index 9e3bd5c..cbf7dfc 100644 (file)
@@ -40,7 +40,9 @@
 ****************************************************************************/
 
 #include <QtCore/qglobal.h>
+#ifndef QT_BOOTSTRAPPED
 #include <QtCore/qlibrary.h>
+#endif
 #include <QtCore/qmutex.h>
 #include <private/qmutexpool_p.h>