diff options
-rw-r--r-- | README.wayland | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/README.wayland b/README.wayland new file mode 100644 index 0000000000..a92be91178 --- /dev/null +++ b/README.wayland @@ -0,0 +1,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 + |