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?
-
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_scriptand notqt_generate_deploy_qml_app_script -
OMG!!! this is actually working.
all I had todo to fixit wasexport QT_DEBUG_PLUGINS=1to debug
and
sudo apt-get install libxcb-cursor-devThe following 2 articles in Qt6.5 are awesome