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
QtWS25 Last Chance

Cannot launch my Qt application under wayland

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt5.6waylanddebian
3 Posts 2 Posters 2.2k 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.
  • BoiethiosB Offline
    BoiethiosB Offline
    Boiethios
    wrote on 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
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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

      BoiethiosB 1 Reply Last reply
      0
      • SGaistS SGaist

        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

        BoiethiosB Offline
        BoiethiosB Offline
        Boiethios
        wrote on 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

        • Login

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