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. Wayland compositor examples won't compile
Qt 6.11 is out! See what's new in the release blog

Wayland compositor examples won't compile

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
14 Posts 4 Posters 9.6k Views 2 Watching
  • 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.
  • A Offline
    A Offline
    Andrzejduda
    wrote on last edited by
    #1

    Any of the examples containing wayland.compositor 1.0 won't compile. I get the following error:

    qrc:///qml/main.qml:52 module "QtWayland.Compositor" is not installed
    

    Should I install it seperately? I have 5.9

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

      Hi and welcome to devnet,

      Did you check that you have all libraries installed ?
      How did you install Qt ?

      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
      • A Offline
        A Offline
        Andrzejduda
        wrote on last edited by Andrzejduda
        #3

        Hi :)
        I installed Qt opensource from the webpage. How do I check if I have libraries? I work on the newest Kubuntu

        1 Reply Last reply
        0
        • EddyE Offline
          EddyE Offline
          Eddy
          wrote on last edited by
          #4

          There is an installation page for Ubuntu, which should work also for kubuntu.

          Qt Certified Specialist
          www.edalsolutions.be

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Andrzejduda
            wrote on last edited by Andrzejduda
            #5

            @Eddy But I have Qt installed. Only examples containing qt wayland don't work. QtWayland is the main reason why I need Qt ;(

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

              How did you install Qt ?

              Did you check that you have the QtWayland module there ?

              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
              • A Offline
                A Offline
                Andrzejduda
                wrote on last edited by Andrzejduda
                #7

                I have downloaded an open source installer from https://info.qt.io/download-qt-for-application-development
                I don't even know how to check if I have QtWayland there.

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

                  Take a look at the content of the lib folder in your Qt installation.

                  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
                  • A Offline
                    A Offline
                    Andrzejduda
                    wrote on last edited by
                    #9

                    I don't have that library.

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

                      Which version of Qt is it ?

                      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
                      • A Offline
                        A Offline
                        Andrzejduda
                        wrote on last edited by
                        #11

                        it is 5.9

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

                          What exact OS are you on ?

                          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
                          • A Offline
                            A Offline
                            Andrzejduda
                            wrote on last edited by
                            #13

                            Kubuntu 17.04 64-bit.

                            1 Reply Last reply
                            0
                            • ArasA Offline
                              ArasA Offline
                              Aras
                              wrote on last edited by
                              #14

                              Just in case someone else lands here when trying to build Wayland examples, I had the same problem and @SGaist helped me over on this thread to find a workaround. Basically I just had to build the qtwayland module from source and install it.

                              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