Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Troubles installing QtWayland
QtWS25 Last Chance

Troubles installing QtWayland

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
19 Posts 2 Posters 5.9k Views
  • 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 Offline
    P Offline
    papaj
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0
      • P Offline
        P Offline
        papaj
        wrote on last edited by
        #3

        Yes, I done that. I can run Weston.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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
          0
          • SGaistS SGaist

            Sorry, I meant the development dependencies.

            P Offline
            P Offline
            papaj
            wrote on last edited by
            #5

            @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
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              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
              0
              • SGaistS SGaist

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

                P Offline
                P Offline
                papaj
                wrote on last edited by
                #7

                @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
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  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
                  0
                  • P Offline
                    P Offline
                    papaj
                    wrote on last edited by
                    #9

                    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
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      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
                      0
                      • P Offline
                        P Offline
                        papaj
                        wrote on last edited by papaj
                        #11

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

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          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
                          0
                          • P Offline
                            P Offline
                            papaj
                            wrote on last edited by
                            #13

                            I have Qt 5.8

                            1 Reply Last reply
                            0
                            • SGaistS Offline
                              SGaistS Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on last edited by
                              #14

                              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
                              0
                              • SGaistS SGaist

                                Also for the qtwayland module ?

                                P Offline
                                P Offline
                                papaj
                                wrote on last edited by
                                #15

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

                                1 Reply Last reply
                                0
                                • SGaistS Offline
                                  SGaistS Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #16

                                  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
                                  0
                                  • P Offline
                                    P Offline
                                    papaj
                                    wrote on last edited by
                                    #17

                                    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
                                    0
                                    • SGaistS Offline
                                      SGaistS Offline
                                      SGaist
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #18

                                      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
                                      0
                                      • P Offline
                                        P Offline
                                        papaj
                                        wrote on last edited by
                                        #19

                                        5.8 as earlier

                                        1 Reply Last reply
                                        0

                                        • Login

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • Users
                                        • Groups
                                        • Search
                                        • Get Qt Extensions
                                        • Unsolved