Android: Don't force-include android-9 headers in qpa plugin
When we supported platforms < android-9, we needed to include some headers which were introduced in android-9 to compile the QPA plugin. This is no longer needed, and also creates problems when you pick e.g. android-21 as your platform, since some definitions (specifically fd_set) are different in the two sets of headers, giving us an undefined reference to QEventDispatcherUNIX::select(). Change-Id: Ifd28479b4bf3be0e9e62200a01fc4cf2cc855215 Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
parent
586fd04234
commit
06602f9c96
@ -8,12 +8,7 @@ DEFINES += QT_STATICPLUGIN
|
||||
|
||||
load(qt_plugin)
|
||||
|
||||
!contains(ANDROID_PLATFORM, android-9) {
|
||||
INCLUDEPATH += $$NDK_ROOT/platforms/android-9/arch-$$ANDROID_ARCHITECTURE/usr/include
|
||||
LIBS += -L$$NDK_ROOT/platforms/android-9/arch-$$ANDROID_ARCHITECTURE/usr/lib -ljnigraphics -landroid
|
||||
} else {
|
||||
LIBS += -ljnigraphics -landroid
|
||||
}
|
||||
LIBS += -ljnigraphics -landroid
|
||||
|
||||
QT += core-private gui-private platformsupport-private
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user