Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to use Wayland? (Platform plugin?)
Forum Updated to NodeBB v4.3 + New Features

How to use Wayland? (Platform plugin?)

Scheduled Pinned Locked Moved Unsolved General and Desktop
waylandqt 5.8
6 Posts 2 Posters 10.0k Views 3 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.
  • S Offline
    S Offline
    SQEW
    wrote on 27 Jan 2017, 10:29 last edited by
    #1
    This post is deleted!
    1 Reply Last reply
    1
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 27 Jan 2017, 23:14 last edited by
      #2

      Hi,

      No, you don't need to rebuild all of Qt. Just clone the QtWayland module and build it with your 5.8 Qt. Don't forget to call make install afterward.

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

      S 1 Reply Last reply 28 Jan 2017, 10:56
      1
      • S SGaist
        27 Jan 2017, 23:14

        Hi,

        No, you don't need to rebuild all of Qt. Just clone the QtWayland module and build it with your 5.8 Qt. Don't forget to call make install afterward.

        S Offline
        S Offline
        SQEW
        wrote on 28 Jan 2017, 10:56 last edited by
        #3

        @SGaist
        Interesting. I cloned QtWayland from here (https://github.com/qt/qtwayland),
        and made sure I have all the dependencies installed for Ubuntu (described here https://wiki.qt.io/QtWayland)

        Next I opened qtwayland.pro with QtCreator and attempted to build it, but it now fails with a bunch of errors:

        make[1]: Leaving directory '/download/build-qtwayland-Desktop_Qt_5_8_0_GCC_64bit-Release/src'
        Makefile:44: recipe for target 'sub-src-make_first' failed
        /usr/bin/ld: warning: libicuuc.so.56, needed by /development/qt/5.8/gcc_64/lib/libQt5Core.so, not found (try using -rpath or -rpath-link)
        /usr/bin/ld: warning: libicudata.so.56, needed by /development/qt/5.8/gcc_64/lib/libQt5Core.so, not found (try using -rpath or -rpath-link)
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucal_clone_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucnv_close_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucol_setAttribute_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucnv_setSubstChars_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucal_close_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucal_openTimeZoneIDEnumeration_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucnv_fromUnicode_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `uenum_close_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucnv_getDefaultName_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucal_inDaylightTime_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucnv_compareNames_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucal_open_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucnv_getAlias_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucnv_countAvailable_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `u_strToLower_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucal_getDefaultTimeZone_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucal_openCountryTimeZones_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucal_getDSTSavings_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucol_close_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucal_openTimeZones_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucnv_getStandardName_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucnv_countAliases_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucol_open_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucnv_open_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucal_setMillis_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucal_get_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `uenum_next_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucnv_getMaxCharSize_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucol_strcoll_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `u_errorName_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucnv_getAvailableName_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucal_getTimeZoneDisplayName_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `u_strToUpper_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucnv_toUnicode_56'
        /development/qt/5.8/gcc_64/lib/libQt5Core.so: undefined reference to `ucol_getSortKey_56'
        collect2: error: ld returned 1 exit status
        make[2]: *** [../../bin/qtwaylandscanner] Error 1
        make[1]: *** [sub-qtwaylandscanner-make_first] Error 2
        make: *** [sub-src-make_first] Error 2
        11:55:01: The process "/usr/bin/make" exited with code 2.
        Error while building/deploying project qtwayland (kit: Desktop Qt 5.8.0 GCC 64bit)
        When executing step "Make"
        11:55:01: Elapsed time: 00:00.
        

        Am I doing wrong or do I lack some dependencies still?

        1 Reply Last reply
        1
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 28 Jan 2017, 20:31 last edited by
          #4

          Do you have the development package of ICU installed ?

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

          S 1 Reply Last reply 29 Jan 2017, 02:04
          1
          • S SGaist
            28 Jan 2017, 20:31

            Do you have the development package of ICU installed ?

            S Offline
            S Offline
            SQEW
            wrote on 29 Jan 2017, 02:04 last edited by
            #5

            @SGaist

            Yes

            libicu-dev is already the newest version (57.1-4).
            libicu-dev set to manually installed.
            
            1 Reply Last reply
            1
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 29 Jan 2017, 17:21 last edited by
              #6

              It looks like it's searching for the 56 version.

              I'm not sure whether the official package comes with a bundled version but I think so. Can you check that ?

              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
              1

              3/6

              28 Jan 2017, 10:56

              • Login

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