Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. is qt_generate_deploy_qml_app_script not supported yet on ubuntu 20.04 qt6.5?
Qt 6.11 is out! See what's new in the release blog

is qt_generate_deploy_qml_app_script not supported yet on ubuntu 20.04 qt6.5?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 1 Posters 510 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.
  • S Offline
    S Offline
    shemeshg
    wrote on last edited by
    #1

    I was able to use qt_generate_deploy_qml_app_script on MacOs with very simple example:

    https://github.com/shemeshg/qt-qml-cmake-api/blob/main/CMakeLists.txt

    But on ubuntu 20.04 Qt6.5 I get:

    ./myapp
    qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
    qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    

    The reason I thought it should work is this article You've published:

    https://www.qt.io/blog/deploying-to-linux-with-cmake

    However I do understand it is about qt_generate_deploy_app_script and not qt_generate_deploy_qml_app_script

    1 Reply Last reply
    0
    • S Offline
      S Offline
      shemeshg
      wrote on last edited by
      #2

      OMG!!! this is actually working.
      all I had todo to fixit was

      export QT_DEBUG_PLUGINS=1
      

      to debug

      and

      sudo apt-get install libxcb-cursor-dev
      

      The following 2 articles in Qt6.5 are awesome

      https://www.qt.io/blog/whats-new-for-qml-modules-in-6.5

      https://www.qt.io/blog/deploying-to-linux-with-cmake

      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