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. Project ERROR: Unknown module(s) in QT: waylandclient-private

Project ERROR: Unknown module(s) in QT: waylandclient-private

Scheduled Pinned Locked Moved Solved Installation and Deployment
34 Posts 4 Posters 16.7k 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.
  • Y Offline
    Y Offline
    ybakos
    wrote on last edited by
    #20

    Same environment configuration on Fedora 25, and the same build error occurs.
    Is there some detail regarding the config/make of libxkbcommon that is missing?

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

      I'm not yet used to the new feature build, so there might be a -lxkbcommon generation line missing somewhere but I don't know yet where to exactly look for 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
      • Y Offline
        Y Offline
        ybakos
        wrote on last edited by ybakos
        #22

        I found a similar build issue in another project to see if I could find some clues. It too mentions something about a -lxkbcommon issue.

        On my machine, the output of pkg-config --libs xkbcommon

         -L/home/ybakos/install/lib -lxkbcommon 
        

        I've tried building with:

        LDFLAGS="-L/home/ybakos/install/lib -lxkbcommon" CFLAGS="-I/home/ybakos/install/include" make
        

        But still have the same error.

        The output of uname -a is:

        Linux hades-fedora-localdomain 4.7.3-100.fc23.x86_64 #1 SMP Wed Sep 7 17:26:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
        
        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #23

          Try rather at the qmake level: qmake LIBS+="-L/home/ybakos/install/lib -I/home/ybakos/install/include -lxkbcommon"

          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
          • Y Offline
            Y Offline
            ybakos
            wrote on last edited by
            #24

            Thanks @SGaist ... but after removing prior qmake configs, running qmake LIBS+="-L/home/ybakos/install/lib -I/home/ybakos/install/include -lxkbcommon", and then make, I get the same error. Also the same when I run make with the LDFLAGS and CFLAGS set.

            1 Reply Last reply
            0
            • Y Offline
              Y Offline
              ybakos
              wrote on last edited by
              #25

              I've just now tried opening the qtwayland project in Qt Creator again for the first time since trying to build from the command line.

              The good (?) news is that the only error I am seeing in the General Messages are:

              [Inexact] Project MESSAGE: perl -w /home/ybakos/Qt/5.8/gcc_64/bin/syncqt.pl -module QtWaylandClient -version 5.8.1 -outdir /home/ybakos/projects/build-qtwayland-Desktop_Qt_5_8_0_GCC_64bit-Debug /home/ybakos/projects/qtwayland
              [Inexact] Project MESSAGE: perl -w /home/ybakos/Qt/5.8/gcc_64/bin/syncqt.pl -module QtWaylandCompositor -version 5.8.1 -outdir /home/ybakos/projects/build-qtwayland-Desktop_Qt_5_8_0_GCC_64bit-Debug /home/ybakos/projects/qtwayland
              
              Project ERROR: Library 'xkbcommon_evdev' is not defined.
              

              To my knowledge, xkbcommon_evdev isn't a separate library... how can I squelch this error? I feel like this is somehow related to my build issue.

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

                Do you have a QMAKE_USE= somewhere ?

                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
                • Y Offline
                  Y Offline
                  ybakos
                  wrote on last edited by
                  #27

                  @SGaist My apologies, but I'm not familiar with that config var. Where/how do I use it?

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

                    Sorry, I was talking about the sources of 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

                    1 Reply Last reply
                    0
                    • Y Offline
                      Y Offline
                      ybakos
                      wrote on last edited by
                      #29

                      @SGaist There are QMAKE_USE declarations throughout the various .pro files. For example:

                      QMAKE_USE += wayland-client wayland-server
                      

                      In ivi-shell.pro, compositor.pro, and wayland_wrapper.pri I do see:

                      QMAKE_USE += xkbcommon_evdev
                      
                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #30

                        Comment that one and you should be able to go further.

                        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
                        • Y Offline
                          Y Offline
                          ybakos
                          wrote on last edited by
                          #31

                          @SGaist Thank you (again) but I've commented out every occurrence of QMAKE_USE += xkbcommon_evdev, re-run qmake and make, and still observe the same build error.

                          1 Reply Last reply
                          0
                          • Y Offline
                            Y Offline
                            ybakos
                            wrote on last edited by
                            #32

                            Developers have chimed in with a patch.
                            https://codereview.qt-project.org/#/c/187132/

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

                              Nice ! Thanks for sharing

                              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
                              • T Offline
                                T Offline
                                twdragon
                                wrote on last edited by
                                #34

                                I have encountered this error during documentation-only build on Mint Linux 18.2. In fact the build error is not now actual, but the file ./qtwayland/tests/auto/compositor/compositor/compositor.pro contains the following strings:

                                qtConfig(xkbcommon-evdev)
                                    QMAKE_USE += xkbcommon_evdev
                                

                                which produce the error.

                                I removed these strings temporarily to eliminate the error and received successful build.

                                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