Remove declaration which is exported from QtGui.
authorStephen Kelly <stephen.kelly@kdab.com>
Fri, 16 Dec 2011 23:44:58 +0000 (00:44 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 19 Dec 2011 22:04:38 +0000 (23:04 +0100)
Fixes static build.

Change-Id: I6f82ded7bf6cb3b72b0ef987e781c7e8f9ed932b
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/widgets/kernel/qapplication.cpp
src/widgets/kernel/qapplication_p.h

index a4a1aa8..10a6ed7 100644 (file)
@@ -431,7 +431,6 @@ bool QApplicationPrivate::obey_desktop_settings = true;        // use winsys res
 #ifndef QT_NO_WHEELEVENT
 int QApplicationPrivate::wheel_scroll_lines;   // number of lines to scroll
 #endif
-bool qt_is_gui_used;
 bool Q_WIDGETS_EXPORT qt_tab_all_widgets = true;
 bool qt_in_tab_key_event = false;
 int qt_antialiasing_threshold = -1;
index ac4b4ad..fe3240b 100644 (file)
@@ -88,7 +88,7 @@ class QTouchDevice;
 class QGestureManager;
 #endif
 
-extern bool qt_is_gui_used;
+extern Q_GUI_EXPORT bool qt_is_gui_used;
 #ifndef QT_NO_CLIPBOARD
 extern QClipboard *qt_clipboard;
 #endif