QuasarApp / CQtDeployer

This project is used to deploy applications written using QML, qt or other С / С++ frameworks.
https://quasarapp.ddns.net:3031/docs/QuasarApp/CQtDeployer/latest/
GNU Lesser General Public License v3.0
574 stars 87 forks source link

xcb-cursor0, libxcb-cursor0 & QtMultimedia support #801

Closed avttrue closed 7 months ago

avttrue commented 7 months ago

build system: Ubuntu (KDE Neon 6, Wayland) test system: Mint

  1. Error: qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin. I tried to build: cqtdeployer -bin MyApp -extraLibs libb2 xcb-cursor libxcb-cursor But as I understand it, the necessary libraries were not found. See logs. buildlog.txt verboselog.txt

  2. For supporting QtMultimedia need to copy the plugins directory 'multimedia'. I'm doing it manually, is it possible to perform this operation using the deployer? upd: A! '-extraPlugin' - yes?

EndrII commented 7 months ago

You have a syntax error on cqtdeployer command

try this:

-extraLibs "libb2,xcb-cursor"

For the multimedia, do nothing, because all plugins will be fetched automatically. IF you use qml do not forget set -qmlDir path/to/your/own/qml/code/root/folder

avttrue commented 7 months ago

I understand about the extraLibs syntax, thank you. But regarding multimedia, this plugin is not including in the final package. Although it is necessary and the application does not work without it (QtMultimedia functionality does not work, more precisely). And by the way, I didn't include wayland support, but I'm building it on the wayland system.

cqtdeployer -bin karass -extraLibs "libb2,libxcb-cursor"

plugins$ dir -h iconengines networkinformation platforms printsupport styles wayland-shell-integration imageformats platforminputcontexts platformthemes sqldrivers tls xcbglintegrations

lddlog.txt verboselog.txt

EndrII commented 7 months ago

hmm, the multimedia plugin should copy automatically. But if you want to force copy it, just use the - -enablePlugins option

cqtdeployer -enablePlugins multimedia