Set Wayland as default platform on Raspberry-Pi
Update Raspberry-Pi mkspec to indicate that wayland is the default platform for the Raspberry-Pi. Change-Id: I10b30ecfb16faed6027137225d9e95409faa7e87 Reviewed-by: Johannes Zellner <johannes.zellner@nokia.com> Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
This commit is contained in:
parent
642a26dab4
commit
e6ccfe40eb
@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
include(../common/linux_device_pre.conf)
|
include(../common/linux_device_pre.conf)
|
||||||
|
|
||||||
|
QT_QPA_DEFAULT_PLATFORM = wayland
|
||||||
|
|
||||||
QMAKE_LFLAGS += -Wl,-rpath-link,$$[QT_SYSROOT]/opt/vc/lib
|
QMAKE_LFLAGS += -Wl,-rpath-link,$$[QT_SYSROOT]/opt/vc/lib
|
||||||
|
|
||||||
QMAKE_LIBDIR_OPENGL_ES2 = $$[QT_SYSROOT]/opt/vc/lib
|
QMAKE_LIBDIR_OPENGL_ES2 = $$[QT_SYSROOT]/opt/vc/lib
|
||||||
@ -21,8 +23,9 @@ contains(DISTRO, wheezy) {
|
|||||||
} else:contains(DISTRO, arch) {
|
} else:contains(DISTRO, arch) {
|
||||||
#On principle: no wizardry required
|
#On principle: no wizardry required
|
||||||
} else {
|
} else {
|
||||||
#Debian Squeeze: Legacy circular dependency
|
#Debian Squeeze: Legacy everything
|
||||||
QMAKE_LIBS_OPENGL_ES2 = -lGLESv2 -lEGL
|
QMAKE_LIBS_OPENGL_ES2 = -lGLESv2 -lEGL
|
||||||
|
QT_QPA_DEFAULT_PLATFORM = eglfs
|
||||||
}
|
}
|
||||||
|
|
||||||
QMAKE_CFLAGS += \
|
QMAKE_CFLAGS += \
|
||||||
|
Loading…
Reference in New Issue
Block a user