Troubles installing QtWayland
-
Just realised something: against which version of Qt are you building the module ?
-
Did you also check that you have all the Qt development package installed ?
-
I have got every Qt dev package :(. I think the problem is with the git I have cloned. This it the output from sudo make
sudo make cd src/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/misiaczek/qtwayland/src/src.pro CONFIG+=wayland-compositor -o Makefile ) && make -f Makefile make[1]: Entering directory '/home/misiaczek/qtwayland/src' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/home/misiaczek/qtwayland/src' cd examples/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/misiaczek/qtwayland/examples/examples.pro CONFIG+=wayland-compositor -o Makefile ) && make -f Makefile make[1]: Entering directory '/home/misiaczek/qtwayland/examples' cd wayland/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/misiaczek/qtwayland/examples/wayland/wayland.pro CONFIG+=wayland-compositor -o Makefile ) && make -f Makefile make[2]: Entering directory '/home/misiaczek/qtwayland/examples/wayland' Some of the required modules (qtHaveModule(waylandcompositor) qtConfig(opengl)) are not available. Skipped. make[2]: Leaving directory '/home/misiaczek/qtwayland/examples/wayland' make[1]: Leaving directory '/home/misiaczek/qtwayland/examples'
It seems like /src is omitted, am I right? It should compile everything, shouldn't it?
-
What distribution are you using ?
-
Which version of Qt is installed on your system ?
You likely have the 5.9 version of the QtWayland module while your distribution version if older.
-
Also for the qtwayland module ?
-
I think there's some stuff mixed up here.
From your last compilation log, it looks like you are using your distribution qmake, is that correct ?
-
K. I made a clear installation of mint.
Installed qt open source from the webpage and ran the following commands:sudo apt-get install git sudo apt-get install qt5-default git clone git://code.qt.io/qt/qtwayland.git --branch 5.8 --single-branch cd qtwayland qmake CONFIG+=wayland-compositor qmake sudo make
got this again:
cd src/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/emile/qtwayland/src/src.pro -o Makefile ) && make -f Makefile make[1]: Entering directory '/home/emile/qtwayland/src' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/home/emile/qtwayland/src' cd examples/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/emile/qtwayland/examples/examples.pro -o Makefile ) && make -f Makefile make[1]: Entering directory '/home/emile/qtwayland/examples' cd wayland/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/emile/qtwayland/examples/wayland/wayland.pro -o Makefile ) && make -f Makefile make[2]: Entering directory '/home/emile/qtwayland/examples/wayland' Some of the required modules (qtHaveModule(waylandcompositor) qtConfig(opengl)) are not available. Skipped. make[2]: Leaving directory '/home/emile/qtwayland/examples/wayland' make[1]: Leaving directory '/home/emile/qtwayland/examples'
-
What is the version of Qt that is installed on your machine ?