Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved Troubles installing QtWayland

    Installation and Deployment
    2
    19
    4897
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      papaj last edited by

      That is my first contact with Qt; I don't know what I do wrong - I executed the following commands (from this guide https://wiki.qt.io/QtWayland) to install qtwayland:

      git clone git://code.qt.io/qt/qtwayland.git
      cd qtwayland
      qmake CONFIG+=wayland-compositor
      qmake
      make
      make install
      

      yet I got the same error for both make and make install:

      $ sudo make install
      cd src/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/misiak/wayland/qtwayland/src/src.pro -o Makefile ) && make -f Makefile install
      make[1]: Entering directory '/home/misiak/wayland/qtwayland/src'
      make[1]: Nothing to be done for 'install'.
      make[1]: Leaving directory '/home/misiak/wayland/qtwayland/src'
      cd examples/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/misiak/wayland/qtwayland/examples/examples.pro -o Makefile ) && make -f Makefile install
      make[1]: Entering directory '/home/misiak/wayland/qtwayland/examples'
      cd wayland/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/misiak/wayland/qtwayland/examples/wayland/wayland.pro -o Makefile ) && make -f Makefile install
      make[2]: Entering directory '/home/misiak/wayland/qtwayland/examples/wayland'
      Some of the required modules (qtHaveModule(waylandcompositor) qtConfig(opengl)) are not available.
      Skipped.
      make[2]: Leaving directory '/home/misiak/wayland/qtwayland/examples/wayland'
      make[1]: Leaving directory '/home/misiak/wayland/qtwayland/examples'
      

      I deleted everything regarding the examples folder from makefile, but then I got

      ~/qtwayland $ sudo make install
      cd src/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/misiak/qtwayland/src/src.pro CONFIG+=wayland-compositor -o Makefile ) && make -f Makefile install
      make[1]: Entering directory '/home/misiak/qtwayland/src'
      make[1]: Nothing to be done for 'install'.
      make[1]: Leaving directory '/home/misiak/qtwayland/src'
      

      And nothing happens ¯_(ツ)_/¯
      My distribution is Linux Mint 18.1 I have been using linux only for a week, so I ask for explanations as if they were written for a dummy ;)

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        Did you install the dependencies like wayland itself ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • P
          papaj last edited by

          Yes, I done that. I can run Weston.

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Sorry, I meant the development dependencies.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            P 1 Reply Last reply Reply Quote 0
            • P
              papaj @SGaist last edited by

              @SGaist That might be the reason. Could you list what I should have installed? I am 100% sure that I have everything from there: https://wiki.qt.io/QtWayland

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                Just realised something: against which version of Qt are you building the module ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                P 1 Reply Last reply Reply Quote 0
                • P
                  papaj @SGaist last edited by

                  @SGaist I have both 4 and 5.8. I have set 5.8 as default by

                  sudo apt-get install qt5-default
                  
                  1 Reply Last reply Reply Quote 0
                  • SGaist
                    SGaist Lifetime Qt Champion last edited by

                    Did you also check that you have all the Qt development package installed ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply Reply Quote 0
                    • P
                      papaj last edited by

                      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?

                      1 Reply Last reply Reply Quote 0
                      • SGaist
                        SGaist Lifetime Qt Champion last edited by

                        What distribution are you using ?

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply Reply Quote 0
                        • P
                          papaj last edited by papaj

                          Mint 18.1, I tried on Ubuntu 16.04 with the same results.
                          Both 64bit

                          1 Reply Last reply Reply Quote 0
                          • SGaist
                            SGaist Lifetime Qt Champion last edited by

                            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.

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply Reply Quote 0
                            • P
                              papaj last edited by

                              I have Qt 5.8

                              1 Reply Last reply Reply Quote 0
                              • SGaist
                                SGaist Lifetime Qt Champion last edited by

                                Also for the qtwayland module ?

                                Interested in AI ? www.idiap.ch
                                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                P 1 Reply Last reply Reply Quote 0
                                • P
                                  papaj @SGaist last edited by

                                  @SGaist I have cloned branch 5.8 yet got the same error :c

                                  1 Reply Last reply Reply Quote 0
                                  • SGaist
                                    SGaist Lifetime Qt Champion last edited by

                                    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 ?

                                    Interested in AI ? www.idiap.ch
                                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      papaj last edited by

                                      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'
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • SGaist
                                        SGaist Lifetime Qt Champion last edited by

                                        What is the version of Qt that is installed on your machine ?

                                        Interested in AI ? www.idiap.ch
                                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          papaj last edited by

                                          5.8 as earlier

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post