summaryrefslogtreecommitdiff
path: root/toolkits.html
diff options
context:
space:
mode:
authorTiago Vignatti <tiago.vignatti@intel.com>2012-01-28 00:03:25 +0200
committerKristian Høgsberg <krh@bitplanet.net>2012-01-27 17:25:18 -0500
commita0b9f17900445b4e529185693838e50c3545bfd8 (patch)
treea539fc640e758db68fa62c1fdda422c0a5e1cb17 /toolkits.html
parent50b4cf1b3bd50c4a1bd77772e3daae73f6faf4c6 (diff)
Add separate page with Qt 5 instructions for Wayland
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
Diffstat (limited to 'toolkits.html')
-rw-r--r--toolkits.html61
1 files changed, 2 insertions, 59 deletions
diff --git a/toolkits.html b/toolkits.html
index 4f59edc..05e0319 100644
--- a/toolkits.html
+++ b/toolkits.html
@@ -22,65 +22,8 @@ to set <code>EGL_PLATFORM=wayland</code>.</p>
<h2>Qt 5</h2>
-<p>Wayland support in the Qt 5 toolkit is happening in the Lighthouse
-<a href="https://qt.gitorious.org/qt/qtwayland">wayland plugin</a>. To try it out, first clone the qtbase:</p>
-
-<pre>
-$ mkdir qt; cd qt
-$ git clone git://gitorious.org/qt/qtbase.git
-</pre>
-
-you might want to set some env variables for compilation as well:
-
-<pre>
-$ export QTVER=qt5
-$ export QTDIR=/opt/qt/$QTVER
-$ export PATH=$QTDIR/bin/:$PATH
-$ export LD_LIBRARY_PATH=$QTDIR/lib/:$LD_LIBRARY_PATH
-$ export PKG_CONFIG_PATH=$QTDIR/lib/pkgconfig/:$PKG_CONFIG_PATH
-$ export QT_PLUGIN_PATH=$QTDIR/lib/plugins/
-</pre>
-
-<pre>$ ./configure -confirm-license -opensource -no-multimedia -no-webkit -no-phonon -no-v8 -debug -qpa -xcb -wayland -egl -opengl es2 -nomake examples -prefix ${QTDIR}
-$ make
-$ sudo make install
-</pre>
-
-at this point you got all needed Qt libraries, and needed tools to compile
-qtwayland platform:
-
-<pre>
-$ cd ../
-$ git clone git://gitorious.org/qt/qtwayland.git
-$ cd qtwayland/
-$ qmake
-$ make
-$ make && make install
-</pre>
-
-don't forget to set the XDG directory and re-run .bashrc:
-
-<pre>
-$ export XDG_RUNTIME_DIR=$HOME/.xdg
-$ mkdir $HOME/.xdg
-</pre>
-
-<p>when you run a Lighthouse application you either have to
-pass <code>-platform wayland</code> or set
-the <code>QT_QPA_PLATFORM</code> environment variable
-to <code>wayland</code>. Lighthouse supports a number of other
-window systems. There's an XCB backend, and by
-passing <code>-platform xcb</code> you can jump back and forth between
-Wayland and X to compare the look and feel of the application under
-Wayland and X:</p>
-
-<pre>
-$ cd ../qtbase/examples/opengl/hellowindow
-$ qmake
-$ make
-$ wayland-compositor &
-$ ./hellowindow -platform wayland
-</pre>
+<p>Wayland support in the Qt 5 toolkit is happening in the Lighthouse wayland
+plugin. To try it out check <a href="qt5.html">QT 5 Wayland instructions</a>.</p>
<h2>GTK+</h2>