Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-120459

qt_generate_deploy_qml_app_script does not support Wayland

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • 6.6.1
    • None
    • Ubuntu 23.10 default Gnome Wayland desktop environment.
    • Linux/Wayland

      I use qt_generate_deploy_qml_app_script to generate install script. The files installed worked well on x11. But the program cannot load on Wayland.
       
      The error messages:
       

      qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
      This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Available platform plugins are: xcb.Stack trace (most recent call last):
      #17   Object "", at 0xffffffffffffffff, in 
      #16   Object "/d/release_build/manipula/manipula", at 0x564884d01db4, in _start
      #15   Source "../csu/libc-start.c", line 360, in __libc_start_main_impl [0x7f0580028188]
      #14   Source "../sysdeps/nptl/libc_start_call_main.h", line 58, in __libc_start_call_main [0x7f05800280cf]
      #13   Object "/d/release_build/manipula/manipula", at 0x564884d04f63, in main
      #12   Object "/d/release_build/manipula/libmanipulalib.so", at 0x7f0581e9aaf3, in mpl::gui::Run(int, char**)
      #11   Object "/d/release_build/manipula/libQt6Gui.so.6.6.1", at 0x7f057b5c158f, in QGuiApplication::QGuiApplication(int&, char**, int)
      #10   Object "/d/release_build/manipula/libQt6Gui.so.6.6.1", at 0x7f057b5bfa2f, in QGuiApplicationPrivate::init()
      #9    Object "/d/release_build/manipula/libQt6Core.so.6.6.1", at 0x7f0580965886, in QCoreApplicationPrivate::init()
      #8    Object "/d/release_build/manipula/libQt6Gui.so.6.6.1", at 0x7f057b5bc3cf, in QGuiApplicationPrivate::createEventDispatcher()
      #7    Object "/d/release_build/manipula/libQt6Gui.so.6.6.1", at 0x7f057b5bba9b, in QGuiApplicationPrivate::createPlatformIntegration()
      #6    Object "/d/release_build/manipula/libQt6Gui.so.6.6.1", at 0x7f057b520f8a, in 
      #5    Object "/d/release_build/manipula/libQt6Core.so.6.6.1", at 0x7f05808b8537, in QMessageLogger::fatal(char const*, ...) const
      #4    Object "/d/release_build/manipula/libQt6Core.so.6.6.1", at 0x7f05808edc04, in 
      #3    Object "/d/release_build/manipula/libQt6Core.so.6.6.1", at 0x7f05808b792b, in qAbort()
      #2    Source "./stdlib/abort.c", line 79, in abort [0x7f05800268b6]
      #1    Source "../sysdeps/posix/raise.c", line 26, in raise [0x7f0580042865]
      #0  | Source "./nptl/pthread_kill.c", line 89, in __pthread_kill_internal
          | Source "./nptl/pthread_kill.c", line 78, in __pthread_kill_implementation
            Source "./nptl/pthread_kill.c", line 44, in __pthread_kill 
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtbuildsystem Qt Build System Team
            xuzhongxing2020 zhongxing xu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes