Closed avttrue closed 3 months ago
Try to add -qmake ... option to your deployment command
Try to add -qmake ... option to your deployment command
But I not use qmake. This is cmake project.
it looks as you tried to deploy app in forbidden for snap directory, make sure that you run cqtdeployer in /home/*, /media/* or /mnt/* dirs. If you use the LXD the /root dir is also allowed
No...
~/Projects/Projects_QT/build-karass-Desktop_Qt_6_7_0-Release$ cqtdeployer -bin karass -extraLibs "libb2,libxcb-cursor,libvdpau_va_gl" -enablePlugins "wayland-graphics-integration-client,wayland-graphics-integration-server" -disablePlugins "platformthemes,styles,wayland-decoration-client" -verbose 3 >&verboselog.txt
Error: The deployment target requires Qt libraries, but initialize of Qt directories is failed. Please use the qmake option to set a path to the qmake executable.
Do you're sure that your deployed binaries not require qt ? Because cqtdeployer detect qt dependencies. if you want to ignore this error, just use the noQt option
Try to add -qmake ... option to your deployment command
But I not use qmake. This is cmake project.
Yes but the -qmake option just sets qt paths for cqtdeployer, you must use this option if you deploy qt project if you deploy not a qt project, you must use the noQt option.
see this issue https://github.com/QuasarApp/CQtDeployer/issues/788
qmake
Yes, the qmake
option helped (it seems) the distribution was assembled, but the errors remained. I just don't know how successful the build was.
Do you're sure that your deployed binaries not require qt ? Because cqtdeployer detect qt dependencies. if you want to ignore this error, just use the noQt option
Error: The deployment target requires Qt libraries, but initialize of Qt directories is failed. Please use the qmake option to set a path to the qmake executable.
The fact is that I previously built distribution kit using this command. But I recently reinstalled Qt.
qmake
Yes, the
qmake
option helped (it seems) the distribution was assembled, but the errors remained. I just don't know how successful the build was.
About what error you are talking ? output log looks as fine
About what error you are talking ? output log looks as fine
About is not a directory!!
- There were no such messages before.
see this issue #788
-qtRootDir
option would be more understandable, by the way. There is not yet?
I think the problem is solved, thank you!
okay close please this issue, if all works fine
OS: Linux 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 09:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux (KDE Neon, wayland)
CQtDeployer version : 1.6.2351.ec4840f
command line: cqtdeployer -bin MY_APP -extraLibs "libb2,libxcb-cursor,libvdpau_va_gl" -enablePlugins "wayland-graphics-integration-client,wayland-graphics-integration-server" -disablePlugins "platformthemes,styles,wayland-decoration-client" -verbose 3 >&verboselog.txt
I get a lot of errors like "...is not a directory!!". Even the "DistributionKit" catalog is not created.
permissions is enabled
verboselog.txt