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. Cannot launch my Qt application under wayland
Forum Updated to NodeBB v4.3 + New Features

Cannot launch my Qt application under wayland

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt5.6waylanddebian
3 Posts 2 Posters 2.2k Views 1 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.
  • B Offline
    B Offline
    Boiethios
    wrote on 19 May 2016, 16:02 last edited by Boiethios
    #1

    Hello,

    I installed Qtcreator on my Debian testing using Qt maintenance tool. Everything worked fine, since I upgraded my system. Now I have Gnome-shell 3.20 that uses the wayland compositor.

    And when I try to launch my application, I have this error message : This application failed to start because it could not find or load the Qt platform plugin "xcb".

    I am almost sure it is related to this upgrade.

    How to install the required dynamic library that permits the program to be launched ? I looked at Qt maintenance tool, but there is no such thing.

    Thank you for helping. I shall give you other information you will need.

    EDIT: I use Qt creator 4.0.0 based on Qt 5.6.0

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 19 May 2016, 22:21 last edited by
      #2

      Hi and welcome to devnet,

      Just a wild guess but I think you have to build the QtWayland module if your shell is running under Wayland.

      Hope it helps

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

      B 1 Reply Last reply 20 May 2016, 08:21
      0
      • S SGaist
        19 May 2016, 22:21

        Hi and welcome to devnet,

        Just a wild guess but I think you have to build the QtWayland module if your shell is running under Wayland.

        Hope it helps

        B Offline
        B Offline
        Boiethios
        wrote on 20 May 2016, 08:21 last edited by
        #3

        @SGaist Thank you for you reply.

        I tried to build it, but I got the message QtWayland requires Wayland 1.4.0 or higher, QtWayland will not be built. My version of wayland is the 1.3-1.

        So I think it is not possible on my system now to run the newest Qt applications.

        In the past, I already tried to use the version of the Debian repository, but it did not work. However I shall try in this direction again.

        1 Reply Last reply
        0

        2/3

        19 May 2016, 22:21

        • Login

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