summaryrefslogtreecommitdiffstats
path: root/mkspecs/common/qcc-base-qnx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/common/qcc-base-qnx.conf')
-rw-r--r--mkspecs/common/qcc-base-qnx.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkspecs/common/qcc-base-qnx.conf b/mkspecs/common/qcc-base-qnx.conf
index ec0d27873d..d7c2f9f340 100644
--- a/mkspecs/common/qcc-base-qnx.conf
+++ b/mkspecs/common/qcc-base-qnx.conf
@@ -6,6 +6,9 @@ include(qcc-base.conf)
CONFIG += qnx
+#Choose qnx QPA Plugin as default
+QT_QPA_DEFAULT_PLATFORM = qnx
+
QMAKE_LFLAGS_SHLIB += -shared
QMAKE_LFLAGS_PLUGIN += $$QMAKE_LFLAGS_SHLIB
QMAKE_LFLAGS_SONAME += -Wl,-soname,
@@ -27,6 +30,7 @@ QMAKE_LIBS_NETWORK = -lsocket
# OpenGL libraries have a dependency on libEGL
QMAKE_LIBS_OPENGL_ES1 = -lGLES_CM -lEGL
QMAKE_LIBS_OPENGL_ES2 = -lGLESv2 -lEGL
+QMAKE_LIBS_EGL = -lEGL
# When using this mkspec to build Qt apps (ie - not Qt itself) we want to build
# against the NDK's target directory which is referenced by the QNX_TARGET environment