Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Cannot launch my Qt application under wayland

    General and Desktop
    qt5.6 wayland debian
    2
    3
    1669
    Loading More Posts
    • 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.
    • Boiethios
      Boiethios last edited by Boiethios

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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

        Boiethios 1 Reply Last reply Reply Quote 0
        • Boiethios
          Boiethios @SGaist last edited by

          @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 Reply Quote 0
          • First post
            Last post