Compile if the header files from QtWidgets are unavailable
Change-Id: I0a774fc1492e882bc6c02d913e6dace189fdb992 Reviewed-by: Kevin Simons <kevin.simons@nokia.com>
This commit is contained in:
parent
1453f74cc5
commit
265ce60718
@ -57,10 +57,13 @@
|
||||
#include <QtTest/qtesttouch.h>
|
||||
#include <QtTest/qtestkeyboard.h>
|
||||
|
||||
#include <QtWidgets/qicon.h>
|
||||
#include <QtGui/qpixmap.h>
|
||||
#include <QtGui/qimage.h>
|
||||
|
||||
#ifdef QT_WIDGETS_LIB
|
||||
#include <QtWidgets/qicon.h>
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
// inform syncqt
|
||||
#pragma qt_no_master_include
|
||||
|
@ -53,11 +53,16 @@
|
||||
#include <QtTest/qtestspontaneevent.h>
|
||||
|
||||
#include <QtCore/qpointer.h>
|
||||
#include <QtWidgets/qapplication.h>
|
||||
#include <QtGui/qguiapplication.h>
|
||||
#include <QtGui/qwindow.h>
|
||||
#include <QtGui/qevent.h>
|
||||
#include <QtWidgets/qwidget.h>
|
||||
#include <QtGui/qwindowsysteminterface_qpa.h>
|
||||
|
||||
#ifdef QT_WIDGETS_LIB
|
||||
#include <QtWidgets/qwidget.h>
|
||||
#include <QtWidgets/qapplication.h>
|
||||
#endif
|
||||
|
||||
QT_BEGIN_HEADER
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
@ -53,11 +53,14 @@
|
||||
#include <QtTest/qtestspontaneevent.h>
|
||||
#include <QtCore/qpoint.h>
|
||||
#include <QtCore/qstring.h>
|
||||
#include <QtWidgets/qapplication.h>
|
||||
#include <QtGui/qevent.h>
|
||||
#include <QtWidgets/qwidget.h>
|
||||
#include <QtGui/qwindowsysteminterface_qpa.h>
|
||||
|
||||
#ifdef QT_WIDGETS_LIB
|
||||
#include <QtWidgets/qapplication.h>
|
||||
#include <QtWidgets/qwidget.h>
|
||||
#endif
|
||||
|
||||
QT_BEGIN_HEADER
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
@ -54,7 +54,9 @@
|
||||
#include <QtGui/QWindowSystemInterface>
|
||||
#include <QtCore/qmap.h>
|
||||
#include <QtGui/qevent.h>
|
||||
#ifdef QT_WIDGETS_LIB
|
||||
#include <QtWidgets/qwidget.h>
|
||||
#endif
|
||||
|
||||
QT_BEGIN_HEADER
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user