summaryrefslogtreecommitdiff
path: root/README.wayland
blob: a92be91178be074982c7bf1ab020d59ec77bf1f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Building & running qt on wayland
 - edit paths in mkspecs/wayland/ as needed, e.g.:
   QMAKE_INCDIR_OPENGL_ES2=/opt/gfx-test/include
   QMAKE_LIBDIR_OPENGL_ES2=/opt/gfx-test/lib
   QMAKE_LIBS_OPENGL_ES2=-lGLESv2
   QMAKE_INCDIR_OPENGL=/opt/gfx-test/include
   QMAKE_LIBDIR_OPENGL=/opt/gfx-test/lib
   QMAKE_INCDIR_EGL=/opt/gfx-test/include
   QMAKE_LIBDIR_EGL=/opt/gfx-test/lib
   QMAKE_LIBS_OPENGL=-lGLESv2
 - ./configure -wayland -confirm-license -opensource
 - export QT_PLUGIN_PATH=<qt prefix>/plugins

running wayland
 - unset DISPLAY
 - add wayland rules to udev
 - add pci id to mesa egl kms driver if needed
 - set EGL_PLATFORM if needed
 - set EGL_LOG_LEVEL=debug if needed