Android: Build fix for "-no-widgets"
This fixes compilation of Qt for Android when configured with "-no-widgets". One good use-case for that configure switch is that QtSvg loses the dependency to QtWidgets. Change-Id: I8a645d9fee6ce0467ff0b5d1d62531b7c6272aab Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com>bb10
parent
83b1eaad44
commit
ce46593e25
|
|
@ -62,7 +62,6 @@
|
|||
#include "androidjnimenu.h"
|
||||
#include "qandroidplatformdialoghelpers.h"
|
||||
#include "qandroidplatformintegration.h"
|
||||
#include <QtWidgets/QApplication>
|
||||
|
||||
#include <qabstracteventdispatcher.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -39,8 +39,6 @@
|
|||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QStyle>
|
||||
#include "qandroidplatformdialoghelpers.h"
|
||||
#include "androidjnimain.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@
|
|||
#include <qpa/qplatformintegration.h>
|
||||
#include <qpa/qplatformmenu.h>
|
||||
#include <qpa/qplatformnativeinterface.h>
|
||||
#include <QtWidgets/QAction>
|
||||
|
||||
#include <jni.h>
|
||||
#include "qandroidinputcontext.h"
|
||||
|
|
|
|||
|
|
@ -43,6 +43,8 @@
|
|||
#define QANDROIDPLATFORMTHEME_H
|
||||
|
||||
#include <qpa/qplatformtheme.h>
|
||||
#include <QtGui/qpalette.h>
|
||||
|
||||
class QAndroidPlatformNativeInterface;
|
||||
class QAndroidPlatformTheme: public QPlatformTheme
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue