CQtDeployer
CQtDeployer copied to clipboard
Deploying Qt 5.15.2 C++ app fails
Describe the bug Multiple errors observed when trying to use a Snap installed version of cqtdeployer. Cqtdeployer is version: 1.5.4.10 *** Binary Box ***
To Reproduce
- cd to the release build directory for my Qt application
- sudo cqtdeployer clear -qmake /opt/Qt/5.15.2/gcc_64/bin/qmake -bin /home/simon/workspace/test-ui-focus/build-mc-system-ui-Desktop_Qt_5_15_2_GCC_64bit-Release/mc-system-ui -qmlDir /home/simon/workspace/test-ui-focus/mc-system-ui/ -verbose 3
- See errors:
Error: LibInfo: path: '', name: '', qtPath: '', platform: '', dependencies: ''
Error: Internal error ocurred in smartMoveTargets (configparser.cpp:1580).
Error: If you see this message please create a new issue about this problem on the official github page https://github.com/QuasarApp/CQtDeployer/issues/new/choose.
Error: Fail to copy targets
Error: The CQtDeployer fail to deploy application.
Expected behavior I expected a deployment package to be produced.
Screenshots
Desktop (please complete the following information):
- OS: Ubuntu
- Version: 21.10
Additional context
Do you sure that it is executable file ?
/home/simon/workspace/test-ui-focus/build-mc-system-ui-Desktop_Qt_5_15_2_GCC_64bit-Release/mc-system-ui
Because i tested on my Ubuntu 21.10 and all is works correctly.
Yes, this is definitely the executable, as I can run it from the command line.
I have also tried building CQtDeployer from source, just to see if the latest and greatest version would work, but it fails to build. I get the error message during the make deploy stage as follows:
simon@simon-Lubuntu-vm:~/work/CQtDeployer$ make deploy
cqtdeployer -bin /home/simon/work/CQtDeployer/QIFData/../CQtDeployer/build/release clear -qmake /opt/Qt/5.15.2/gcc_64/bin/qmake -libDir /home/simon/work/CQtDeployer/QIFData/../ -recursiveDepth 4 -ignoreEnv /home/simon/work/CQtDeployer/QIFData/../CQtDeployer/build/release -extraLibs icu -targetDir /home/simon/work/CQtDeployer/QIFData/packages/cqtdeployer.1_5/data/1.5
Info: Deploy ...
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.
Info: If you are using qmake from the system repository, then you must use the classic version of CQtDeployer instead of the snap version. This is due to the fact that the snap version runs in an isolated container and has limited access to system utilities and the environment. For get the classic version of cqtdeployer use the cqtdeployer installer https://github.com/QuasarApp/CQtDeployer/releases
Error: Deploy failed!
Error: The CQtDeployer fail to read configuration.
make: *** [Makefile:1056: deploy_dep] Error 1
@simonbagley I faced similar issues when installed cqtdeployer using snap. As I remember, cqtdeployer was not able to find Qt folder in filesystem(isolation and etc.).
I just installed cqtdeployer adding --classic
into the snap command and my problem gone.
Also, the problem can be solved if you install Qt into the user's home folder
@simonbagley I faced similar issues when installed cqtdeployer using snap. As I remember, cqtdeployer was not able to find Qt folder in filesystem(isolation and etc.). I just installed cqtdeployer adding
--classic
into the snap command and my problem gone.
@simonbagley
cqtdeployr can get access to /opt folder if you add all required permissions for a snap package.
sudo snap connect cqtdeployer:process-control
sudo snap connect cqtdeployer:removable-media
sudo snap connect cqtdeployer:system-backup
@EndrII After adding the permissions as follows:
sudo snap connect cqtdeployer:process-control sudo snap connect cqtdeployer:removable-media sudo snap connect cqtdeployer:system-backup
The deployment fails as follows:
simonb@simon-LubuntuVM:~/work/next-gen-ccu/Qt-projects/build-mc-system-ui-Desktop_Qt_5_15_2_GCC_64bit-Release$ sudo cqtdeployer clear -qmake /opt/Qt/5.15.2/gcc_64/bin/qmake -bin /home/simonb/work/next-gen-ccu/Qt-projects/build-mc-system-ui-Desktop_Qt_5_15_2_GCC_64bit-Release/mc-system-ui -qmlDir /home/simonb/work/next-gen-ccu/Qt-projects/mc-system-ui/ -verbose 3 Verbose log: --- Working options table start --- Verbose log: Option[bin]: /home/simonb/work/next-gen-ccu/Qt-projects/build-mc-system-ui-Desktop_Qt_5_15_2_GCC_64bit-Release/mc-system-ui Verbose log: Option[clear] Verbose log: Option[qmake]: /opt/Qt/5.15.2/gcc_64/bin/qmake Verbose log: Option[qmlDir]: /home/simonb/work/next-gen-ccu/Qt-projects/mc-system-ui/ Verbose log: Option[verbose]: 3 Verbose log: --- Working options table end --- Verbose log: appDir = /snap/cqtdeployer/243 Info: Deploy ... Info: The targetDir option is not used. CQtDeployer will use default target dir :/home/simonb/work/next-gen-ccu/Qt-projects/build-mc-system-ui-Desktop_Qt_5_15_2_GCC_64bit-Release/DistributionKit Verbose log: /home/simonb/work/next-gen-ccu/Qt-projects/build-mc-system-ui-Desktop_Qt_5_15_2_GCC_64bit-Release/DistributionKit is not a directory!! Verbose log: /lib/systemd/system/mountnfs.service is not a directory!! Verbose log: /lib/systemd/system/checkfs.service is not a directory!! Verbose log: /lib/systemd/system/stop-bootlogd-single.service is not a directory!! Verbose log: /lib/systemd/system/mountall-bootclean.service is not a directory!! Verbose log: /lib/systemd/system/hostname.service is not a directory!! Verbose log: /lib/systemd/system/bootlogd.service is not a directory!! Verbose log: /lib/systemd/system/sendsigs.service is not a directory!! Verbose log: /lib/systemd/system/x11-common.service is not a directory!! Verbose log: /lib/systemd/system/cryptdisks.service is not a directory!! Verbose log: /lib/systemd/system/rc.service is not a directory!! Verbose log: /lib/systemd/system/fuse.service is not a directory!! Verbose log: /lib/systemd/system/mountkernfs.service is not a directory!! Verbose log: /lib/systemd/system/stop-bootlogd.service is not a directory!! Verbose log: /lib/systemd/system/hwclock.service is not a directory!! Verbose log: /lib/systemd/system/motd.service is not a directory!! Verbose log: /lib/systemd/system/rcS.service is not a directory!! Verbose log: /lib/systemd/system/mountall.service is not a directory!! Verbose log: /lib/systemd/system/rmnologin.service is not a directory!! Verbose log: /lib/systemd/system/mountnfs-bootclean.service is not a directory!! Verbose log: /lib/systemd/system/killprocs.service is not a directory!! Verbose log: /lib/systemd/system/umountfs.service is not a directory!! Verbose log: /lib/systemd/system/checkroot.service is not a directory!! Verbose log: /lib/systemd/system/sudo.service is not a directory!! Verbose log: /lib/systemd/system/single.service is not a directory!! Verbose log: /lib/systemd/system/umountroot.service is not a directory!! Verbose log: /lib/systemd/system/umountnfs.service is not a directory!! Verbose log: /lib/systemd/system/bootmisc.service is not a directory!! Verbose log: /lib/systemd/system/halt.service is not a directory!! Verbose log: /lib/systemd/system/cryptdisks-early.service is not a directory!! Verbose log: /lib/systemd/system/bootlogs.service is not a directory!! Verbose log: /lib/systemd/system/mountdevsubfs.service is not a directory!! Verbose log: /lib/systemd/system/reboot.service is not a directory!! Verbose log: /lib/systemd/system/checkroot-bootclean.service is not a directory!! Verbose log: The /lib path is ignored and not added to a search list!! Verbose log: The /usr/lib path is ignored and not added to a search list!! Verbose log: Path /lib/apparmor is already added Verbose log: Path /lib/firmware/3com is already added Verbose log: Path /lib/firmware/acenic is already added Verbose log: Path /lib/firmware/adaptec is already added Verbose log: Path /lib/firmware/advansys is already added Verbose log: Path /lib/firmware/amd is already added Verbose log: Path /lib/firmware/amd-ucode is already added Verbose log: Path /lib/firmware/amdgpu is already added Verbose log: Path /lib/firmware/ar3k/1020201coex is already added Verbose log: Path /lib/firmware/ar3k is already added Verbose log: Path /lib/firmware/asihpi is already added Verbose log: Path /lib/firmware/ath10k/QCA4019 is already added Verbose log: Path /lib/firmware/ath10k/QCA6174 is already added Verbose log: Path /lib/firmware/ath10k/QCA9377 is already added Verbose log: Path /lib/firmware/ath10k/QCA9887 is already added Verbose log: Path /lib/firmware/ath10k/QCA9888 is already added Verbose log: Path /lib/firmware/ath10k/QCA988X is already added Verbose log: Path /lib/firmware/ath10k/QCA9984 is already added Verbose log: Path /lib/firmware/ath10k/QCA99X0 is already added Verbose log: Path /lib/firmware/ath10k/WCN3990 is already added Verbose log: Path /lib/firmware/ath10k is already added Verbose log: Path /lib/firmware/ath11k/QCA6390 is already added Verbose log: Path /lib/firmware/ath11k/WCN6855 is already added Verbose log: Path /lib/firmware/ath11k is already added Verbose log: Path /lib/firmware/ath6k/AR6003 is already added Verbose log: Path /lib/firmware/ath6k/AR6004 is already added Verbose log: Path /lib/firmware/ath6k is already added Verbose log: Path /lib/firmware/ath9k_htc is already added Verbose log: Path /lib/firmware/atmel is already added Verbose log: Path /lib/firmware/atusb is already added Verbose log: Path /lib/firmware/av7110 is already added Verbose log: Path /lib/firmware/bnx2 is already added Verbose log: Path /lib/firmware/bnx2x is already added Verbose log: Path /lib/firmware/brcm is already added Verbose log: Path /lib/firmware/cadence is already added Verbose log: Path /lib/firmware/cavium is already added Verbose log: Path /lib/firmware/cis is already added Verbose log: Path /lib/firmware/cpia2 is already added Verbose log: Path /lib/firmware/cxgb3 is already added Verbose log: Path /lib/firmware/cxgb4/configs is already added Verbose log: Path /lib/firmware/cxgb4 is already added Verbose log: Path /lib/firmware/dpaa2/mc is already added Verbose log: Path /lib/firmware/dpaa2 is already added Verbose log: Path /lib/firmware/dsp56k is already added Verbose log: Path /lib/firmware/e100 is already added Verbose log: Path /lib/firmware/ea is already added Verbose log: Path /lib/firmware/edgeport is already added Verbose log: Path /lib/firmware/emi26 is already added Verbose log: Path /lib/firmware/emi62 is already added Verbose log: Path /lib/firmware/ene-ub6250 is already added Verbose log: Path /lib/firmware/ess is already added Verbose log: Path /lib/firmware/go7007 is already added Verbose log: Path /lib/firmware/hp is already added Verbose log: Path /lib/firmware/i915 is already added Verbose log: Path /lib/firmware/imx/sdma is already added Verbose log: Path /lib/firmware/imx is already added Verbose log: Path /lib/firmware/inside-secure/eip197_minifw is already added Verbose log: Path /lib/firmware/inside-secure is already added Verbose log: Path /lib/firmware/intel/ice is already added Verbose log: Path /lib/firmware/intel/sof is already added Verbose log: Path /lib/firmware/intel/sof-tplg is already added Verbose log: Path /lib/firmware/intel is already added Verbose log: Path /lib/firmware/intel-ucode is already added Verbose log: Path /lib/firmware/isci is already added Verbose log: Path /lib/firmware/kaweth is already added Verbose log: Path /lib/firmware/keyspan is already added Verbose log: Path /lib/firmware/keyspan_pda is already added Verbose log: Path /lib/firmware/korg is already added Verbose log: Path /lib/firmware/libertas is already added Verbose log: Path /lib/firmware/liquidio is already added Verbose log: Path /lib/firmware/matrox is already added Verbose log: Path /lib/firmware/mediatek/mt8173 is already added Verbose log: Path /lib/firmware/mediatek/mt8183 is already added Verbose log: Path /lib/firmware/mediatek is already added Verbose log: Path /lib/firmware/mellanox is already added Verbose log: Path /lib/firmware/meson/vdec is already added Verbose log: Path /lib/firmware/meson is already added Verbose log: Path /lib/firmware/microchip is already added Verbose log: Path /lib/firmware/moxa is already added Verbose log: Path /lib/firmware/mrvl is already added Verbose log: Path /lib/firmware/mwl8k is already added Verbose log: Path /lib/firmware/mwlwifi is already added Verbose log: Path /lib/firmware/netronome/bpf is already added Verbose log: Path /lib/firmware/netronome/flower is already added Verbose log: Path /lib/firmware/netronome/nic is already added Verbose log: Path /lib/firmware/netronome/nic-sriov is already added Verbose log: Path /lib/firmware/netronome is already added Verbose log: Path /lib/firmware/nvidia/gk20a is already added Verbose log: Path /lib/firmware/nvidia/gm200 is already added Verbose log: Path /lib/firmware/nvidia/gm204 is already added Verbose log: Path /lib/firmware/nvidia/gm206 is already added Verbose log: Path /lib/firmware/nvidia/gm20b is already added Verbose log: Path /lib/firmware/nvidia/gp100 is already added Verbose log: Path /lib/firmware/nvidia/gp102 is already added Verbose log: Path /lib/firmware/nvidia/gp104 is already added Verbose log: Path /lib/firmware/nvidia/gp106 is already added Verbose log: Path /lib/firmware/nvidia/gp107 is already added Verbose log: Path /lib/firmware/nvidia/gp108 is already added Verbose log: Path /lib/firmware/nvidia/gp10b is already added Verbose log: Path /lib/firmware/nvidia/gv100 is already added Verbose log: Path /lib/firmware/nvidia/tegra124 is already added Verbose log: Path /lib/firmware/nvidia/tegra186 is already added Verbose log: Path /lib/firmware/nvidia/tegra194 is already added Verbose log: Path /lib/firmware/nvidia/tegra210 is already added Verbose log: Path /lib/firmware/nvidia/tu102 is already added Verbose log: Path /lib/firmware/nvidia/tu104 is already added Verbose log: Path /lib/firmware/nvidia/tu106 is already added Verbose log: Path /lib/firmware/nvidia/tu10x is already added Verbose log: Path /lib/firmware/nvidia/tu116 is already added Verbose log: Path /lib/firmware/nvidia/tu117 is already added Verbose log: Path /lib/firmware/nvidia is already added Verbose log: Path /lib/firmware/ositech is already added Verbose log: Path /lib/firmware/qca is already added Verbose log: Path /lib/firmware/qcom/sdm845 is already added Verbose log: Path /lib/firmware/qcom/venus-1.8 is already added Verbose log: Path /lib/firmware/qcom/venus-4.2 is already added Verbose log: Path /lib/firmware/qcom/venus-5.2 is already added Verbose log: Path /lib/firmware/qcom/venus-5.4 is already added Verbose log: Path /lib/firmware/qcom is already added Verbose log: Path /lib/firmware/qed is already added Verbose log: Path /lib/firmware/qlogic is already added Verbose log: Path /lib/firmware/r128 is already added Verbose log: Path /lib/firmware/radeon is already added Verbose log: Path /lib/firmware/rockchip is already added Verbose log: Path /lib/firmware/rsi is already added Verbose log: Path /lib/firmware/RTL8192E is already added Verbose log: Path /lib/firmware/rtl_bt is already added Verbose log: Path /lib/firmware/rtl_nic is already added Verbose log: Path /lib/firmware/rtlwifi is already added Verbose log: Path /lib/firmware/rtw88 is already added Verbose log: Path /lib/firmware/rtw89 is already added Verbose log: Path /lib/firmware/sb16 is already added Verbose log: Path /lib/firmware/slicoss is already added Verbose log: Path /lib/firmware/sun is already added Verbose log: Path /lib/firmware/tehuti is already added Verbose log: Path /lib/firmware/ti-connectivity is already added Verbose log: Path /lib/firmware/ti-keystone is already added Verbose log: Path /lib/firmware/tigon is already added Verbose log: Path /lib/firmware/ttusb-budget is already added Verbose log: Path /lib/firmware/ueagle-atm is already added Verbose log: Path /lib/firmware/vicam is already added Verbose log: Path /lib/firmware/vsc/soc_a1_prod is already added Verbose log: Path /lib/firmware/vsc is already added Verbose log: Path /lib/firmware/vxge is already added Verbose log: Path /lib/firmware/yam is already added Verbose log: Path /lib/firmware/yamaha is already added Verbose log: Path /lib/firmware/zd1211 is already added Verbose log: Path /lib/firmware is already added Verbose log: Path /lib/i386-linux-gnu is already added Verbose log: Path /lib/init is already added Verbose log: Path /lib/lsb/init-functions.d is already added Verbose log: Path /lib/lsb is already added Verbose log: Path /lib/modprobe.d is already added Verbose log: Path /lib/modules/5.11.0-27-generic is already added Verbose log: Path /lib/modules/5.13.0-35-generic is already added Verbose log: Path /lib/modules/5.13.0-37-generic is already added Verbose log: Path /lib/modules/5.13.0-39-generic/build is already added Verbose log: Path /lib/modules/5.13.0-39-generic/initrd is already added Verbose log: Path /lib/modules/5.13.0-39-generic/kernel is already added Verbose log: Path /lib/modules/5.13.0-39-generic/vdso is already added Verbose log: Path /lib/modules/5.13.0-39-generic is already added Verbose log: Path /lib/modules/5.13.0-40-generic/build is already added Verbose log: Path /lib/modules/5.13.0-40-generic/initrd is already added Verbose log: Path /lib/modules/5.13.0-40-generic/kernel is already added Verbose log: Path /lib/modules/5.13.0-40-generic/vdso is already added Verbose log: Path /lib/modules/5.13.0-40-generic is already added Verbose log: Path /lib/modules is already added Verbose log: Path /lib/netplan is already added Verbose log: Path /lib/systemd/network is already added Verbose log: Path /lib/systemd/system/cloud-final.service.wants is already added Verbose log: Path /lib/systemd/system/getty.target.wants is already added Verbose log: Path /lib/systemd/system/[email protected] is already added Verbose log: Path /lib/systemd/system/graphical.target.wants is already added Verbose log: Path /lib/systemd/system/local-fs.target.wants is already added Verbose log: Path /lib/systemd/system/multi-user.target.wants is already added Verbose log: Path /lib/systemd/system/rc-local.service.d is already added Verbose log: Path /lib/systemd/system/rescue.target.wants is already added Verbose log: Path /lib/systemd/system/runlevel1.target.wants is already added Verbose log: Path /lib/systemd/system/runlevel2.target.wants is already added Verbose log: Path /lib/systemd/system/runlevel3.target.wants is already added Verbose log: Path /lib/systemd/system/runlevel4.target.wants is already added Verbose log: Path /lib/systemd/system/runlevel5.target.wants is already added Verbose log: Path /lib/systemd/system/[email protected] is already added Verbose log: Path /lib/systemd/system/sockets.target.wants is already added Verbose log: Path /lib/systemd/system/sysinit.target.wants is already added Verbose log: Path /lib/systemd/system/systemd-tmpfiles-setup.service.d is already added Verbose log: Path /lib/systemd/system/timers.target.wants is already added Verbose log: Path /lib/systemd/system/[email protected] is already added Verbose log: Path /lib/systemd/system/wpa_supplicant.service.d is already added Verbose log: Path /lib/systemd/system is already added Verbose log: Path /lib/systemd/system-generators is already added Verbose log: Path /lib/systemd/system-preset is already added Verbose log: Path /lib/systemd/system-shutdown is already added Verbose log: Path /lib/systemd/system-sleep is already added Verbose log: Path /lib/systemd is already added Verbose log: Path /lib/terminfo/a is already added Verbose log: Path /lib/terminfo/c is already added Verbose log: Path /lib/terminfo/d is already added Verbose log: Path /lib/terminfo/E is already added Verbose log: Path /lib/terminfo/h is already added Verbose log: Path /lib/terminfo/l is already added Verbose log: Path /lib/terminfo/m is already added Verbose log: Path /lib/terminfo/p is already added Verbose log: Path /lib/terminfo/r is already added Verbose log: Path /lib/terminfo/s is already added Verbose log: Path /lib/terminfo/v is already added Verbose log: Path /lib/terminfo/w is already added Verbose log: Path /lib/terminfo/x is already added Verbose log: Path /lib/terminfo is already added Verbose log: Path /lib/udev/hwdb.d is already added Verbose log: Path /lib/udev/rules.d is already added Verbose log: Path /lib/udev is already added Verbose log: Path /lib/x86_64-linux-gnu/security is already added Verbose log: Path /lib/x86_64-linux-gnu is already added Verbose log: Path /lib is already added Verbose log: Path /usr/lib/binfmt.d is already added Verbose log: Path /usr/lib/cloud-init is already added Verbose log: Path /usr/lib/core18 is already added Verbose log: Path /usr/lib/dbus-1.0 is already added Verbose log: Path /usr/lib/environment.d is already added Verbose log: Path /usr/lib/finalrd is already added Verbose log: Path /usr/lib/gcc/i686-linux-gnu/8 is already added Verbose log: Path /usr/lib/gcc/i686-linux-gnu is already added Verbose log: Path /usr/lib/gcc/x86_64-linux-gnu/8 is already added Verbose log: Path /usr/lib/gcc/x86_64-linux-gnu is already added Verbose log: Path /usr/lib/gcc is already added Verbose log: Path /usr/lib/i386-linux-gnu/audit is already added Verbose log: Path /usr/lib/i386-linux-gnu/gconv is already added Verbose log: Path /usr/lib/i386-linux-gnu is already added Verbose log: Path /usr/lib/initramfs-tools/etc/dhcp is already added Verbose log: Path /usr/lib/initramfs-tools/etc is already added Verbose log: Path /usr/lib/initramfs-tools is already added Verbose log: Path /usr/lib/kernel/install.d is already added Verbose log: Path /usr/lib/kernel is already added Verbose log: Path /usr/lib/locale/C.UTF-8/LC_MESSAGES is already added Verbose log: Path /usr/lib/locale/C.UTF-8 is already added Verbose log: Path /usr/lib/locale is already added Verbose log: Path /usr/lib/mime/packages is already added Verbose log: Path /usr/lib/mime is already added Verbose log: Path /usr/lib/modules-load.d is already added Verbose log: Path /usr/lib/NetworkManager/conf.d is already added Verbose log: Path /usr/lib/NetworkManager is already added Verbose log: Path /usr/lib/openssh is already added Verbose log: Path /usr/lib/pm-utils/sleep.d is already added Verbose log: Path /usr/lib/pm-utils is already added Verbose log: Path /usr/lib/python3/dist-packages/pycache is already added Verbose log: Path /usr/lib/python3/dist-packages/asn1crypto is already added Verbose log: Path /usr/lib/python3/dist-packages/asn1crypto-0.24.0.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/blinker is already added Verbose log: Path /usr/lib/python3/dist-packages/certifi is already added Verbose log: Path /usr/lib/python3/dist-packages/certifi-2018.1.18.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/chardet is already added Verbose log: Path /usr/lib/python3/dist-packages/chardet-3.0.4.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/cloud_init-21.4.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/cloudinit is already added Verbose log: Path /usr/lib/python3/dist-packages/configobj-5.0.6.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/cryptography is already added Verbose log: Path /usr/lib/python3/dist-packages/cryptography-2.1.4.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/idna is already added Verbose log: Path /usr/lib/python3/dist-packages/idna-2.6.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/jinja2 is already added Verbose log: Path /usr/lib/python3/dist-packages/Jinja2-2.10.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/jsonpatch-1.16.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/jsonpointer-1.10.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/jsonschema is already added Verbose log: Path /usr/lib/python3/dist-packages/jsonschema-2.6.0.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/jwt is already added Verbose log: Path /usr/lib/python3/dist-packages/markupsafe is already added Verbose log: Path /usr/lib/python3/dist-packages/MarkupSafe-1.0.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/netifaces-0.10.4.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/oauthlib is already added Verbose log: Path /usr/lib/python3/dist-packages/oauthlib-2.0.6.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/pkg_resources is already added Verbose log: Path /usr/lib/python3/dist-packages/probert is already added Verbose log: Path /usr/lib/python3/dist-packages/probert-0.0.12.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/PyJWT-1.5.3.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/pyudev is already added Verbose log: Path /usr/lib/python3/dist-packages/pyudev-0.21.0.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/requests is already added Verbose log: Path /usr/lib/python3/dist-packages/requests-2.18.4.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/requests_unixsocket is already added Verbose log: Path /usr/lib/python3/dist-packages/requests_unixsocket-0.1.5.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/serial is already added Verbose log: Path /usr/lib/python3/dist-packages/six-1.11.0.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/urllib3 is already added Verbose log: Path /usr/lib/python3/dist-packages/urllib3-1.22.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/urwid is already added Verbose log: Path /usr/lib/python3/dist-packages/urwid-2.0.1.egg-info is already added Verbose log: Path /usr/lib/python3/dist-packages/yaml is already added Verbose log: Path /usr/lib/python3/dist-packages is already added Verbose log: Path /usr/lib/python3 is already added Verbose log: Path /usr/lib/python3.6/pycache is already added Verbose log: Path /usr/lib/python3.6/asyncio/pycache is already added Verbose log: Path /usr/lib/python3.6/asyncio is already added Verbose log: Path /usr/lib/python3.6/collections/pycache is already added Verbose log: Path /usr/lib/python3.6/collections is already added Verbose log: Path /usr/lib/python3.6/concurrent/pycache is already added Verbose log: Path /usr/lib/python3.6/concurrent/futures is already added Verbose log: Path /usr/lib/python3.6/concurrent is already added Verbose log: Path /usr/lib/python3.6/ctypes/pycache is already added Verbose log: Path /usr/lib/python3.6/ctypes is already added Verbose log: Path /usr/lib/python3.6/curses/pycache is already added Verbose log: Path /usr/lib/python3.6/curses is already added Verbose log: Path /usr/lib/python3.6/dbm/pycache is already added Verbose log: Path /usr/lib/python3.6/dbm is already added Verbose log: Path /usr/lib/python3.6/distutils/pycache is already added Verbose log: Path /usr/lib/python3.6/distutils/command is already added Verbose log: Path /usr/lib/python3.6/distutils is already added Verbose log: Path /usr/lib/python3.6/email/pycache is already added Verbose log: Path /usr/lib/python3.6/email/mime is already added Verbose log: Path /usr/lib/python3.6/email is already added Verbose log: Path /usr/lib/python3.6/encodings/pycache is already added Verbose log: Path /usr/lib/python3.6/encodings is already added Verbose log: Path /usr/lib/python3.6/html/pycache is already added Verbose log: Path /usr/lib/python3.6/html is already added Verbose log: Path /usr/lib/python3.6/http/pycache is already added Verbose log: Path /usr/lib/python3.6/http is already added Verbose log: Path /usr/lib/python3.6/importlib/pycache is already added Verbose log: Path /usr/lib/python3.6/importlib is already added Verbose log: Path /usr/lib/python3.6/json/pycache is already added Verbose log: Path /usr/lib/python3.6/json is already added Verbose log: Path /usr/lib/python3.6/lib-dynload is already added Verbose log: Path /usr/lib/python3.6/lib2to3/pycache is already added Verbose log: Path /usr/lib/python3.6/lib2to3/fixes is already added Verbose log: Path /usr/lib/python3.6/lib2to3/pgen2 is already added Verbose log: Path /usr/lib/python3.6/lib2to3 is already added Verbose log: Path /usr/lib/python3.6/logging/pycache is already added Verbose log: Path /usr/lib/python3.6/logging is already added Verbose log: Path /usr/lib/python3.6/multiprocessing/pycache is already added Verbose log: Path /usr/lib/python3.6/multiprocessing/dummy is already added Verbose log: Path /usr/lib/python3.6/multiprocessing is already added Verbose log: Path /usr/lib/python3.6/pydoc_data/pycache is already added Verbose log: Path /usr/lib/python3.6/pydoc_data is already added Verbose log: Path /usr/lib/python3.6/sqlite3/pycache is already added Verbose log: Path /usr/lib/python3.6/sqlite3 is already added Verbose log: Path /usr/lib/python3.6/test/pycache is already added Verbose log: Path /usr/lib/python3.6/test/libregrtest is already added Verbose log: Path /usr/lib/python3.6/test/support is already added Verbose log: Path /usr/lib/python3.6/test is already added Verbose log: Path /usr/lib/python3.6/unittest/pycache is already added Verbose log: Path /usr/lib/python3.6/unittest is already added Verbose log: Path /usr/lib/python3.6/urllib/pycache is already added Verbose log: Path /usr/lib/python3.6/urllib is already added Verbose log: Path /usr/lib/python3.6/venv/pycache is already added Verbose log: Path /usr/lib/python3.6/venv/scripts is already added Verbose log: Path /usr/lib/python3.6/venv is already added Verbose log: Path /usr/lib/python3.6/wsgiref/pycache is already added Verbose log: Path /usr/lib/python3.6/wsgiref is already added Verbose log: Path /usr/lib/python3.6/xml/pycache is already added Verbose log: Path /usr/lib/python3.6/xml/dom is already added Verbose log: Path /usr/lib/python3.6/xml/etree is already added Verbose log: Path /usr/lib/python3.6/xml/parsers is already added Verbose log: Path /usr/lib/python3.6/xml/sax is already added Verbose log: Path /usr/lib/python3.6/xml is already added Verbose log: Path /usr/lib/python3.6/xmlrpc/pycache is already added Verbose log: Path /usr/lib/python3.6/xmlrpc is already added Verbose log: Path /usr/lib/python3.6 is already added Verbose log: Path /usr/lib/python3.7/distutils/command is already added Verbose log: Path /usr/lib/python3.7/distutils is already added Verbose log: Path /usr/lib/python3.7/lib2to3/fixes is already added Verbose log: Path /usr/lib/python3.7/lib2to3/pgen2 is already added Verbose log: Path /usr/lib/python3.7/lib2to3 is already added Verbose log: Path /usr/lib/python3.7 is already added Verbose log: Path /usr/lib/python3.8/distutils/command is already added Verbose log: Path /usr/lib/python3.8/distutils is already added Verbose log: Path /usr/lib/python3.8/lib2to3/fixes is already added Verbose log: Path /usr/lib/python3.8/lib2to3/pgen2 is already added Verbose log: Path /usr/lib/python3.8/lib2to3 is already added Verbose log: Path /usr/lib/python3.8 is already added Verbose log: Path /usr/lib/snapd is already added Verbose log: Path /usr/lib/ssl/certs is already added Verbose log: Path /usr/lib/ssl/misc is already added Verbose log: Path /usr/lib/ssl/private is already added Verbose log: Path /usr/lib/ssl is already added Verbose log: Path /usr/lib/sudo is already added Verbose log: Path /usr/lib/sysctl.d is already added Verbose log: Path /usr/lib/systemd/boot/efi is already added Verbose log: Path /usr/lib/systemd/boot is already added Verbose log: Path /usr/lib/systemd/catalog is already added Verbose log: Path /usr/lib/systemd/tests/testdata is already added Verbose log: Path /usr/lib/systemd/tests is already added Verbose log: Path /usr/lib/systemd/user/graphical-session-pre.target.wants is already added Verbose log: Path /usr/lib/systemd/user is already added Verbose log: Path /usr/lib/systemd/user-environment-generators is already added Verbose log: Path /usr/lib/systemd/user-generators is already added Verbose log: Path /usr/lib/systemd/user-preset is already added Verbose log: Path /usr/lib/systemd is already added Verbose log: Path /usr/lib/sysusers.d is already added Verbose log: Path /usr/lib/tar is already added Verbose log: Path /usr/lib/tc is already added Verbose log: Path /usr/lib/tmpfiles.d is already added Verbose log: Path /usr/lib/valgrind is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/audit is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/coreutils is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/engines-1.1 is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/gconv is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/gio/modules is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/gio is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/glib-2.0 is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/krb5/plugins is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/krb5 is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/openssl-1.0.0 is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/perl is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/perl-base/auto is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/perl-base/Carp is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/perl-base/Exporter is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/perl-base/File is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/perl-base/Getopt is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/perl-base/Hash is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/perl-base/IO is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/perl-base/IPC is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/perl-base/List is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/perl-base/Scalar is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/perl-base/Text is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/perl-base/Tie is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/perl-base/unicore is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/perl-base/warnings is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/perl-base is already added Verbose log: Path /usr/lib/x86_64-linux-gnu/xtables is already added Verbose log: Path /usr/lib/x86_64-linux-gnu is already added Verbose log: Path /usr/lib is already added Verbose log: /home/simonb/work/next-gen-ccu/Qt-projects/build-mc-system-ui-Desktop_Qt_5_15_2_GCC_64bit-Release/C:/windows/System32 is not a directory!! Verbose log: /home/simonb/work/next-gen-ccu/Qt-projects/build-mc-system-ui-Desktop_Qt_5_15_2_GCC_64bit-Release/C:/windows/SysWOW64 is not a directory!! Verbose log: not added in path mask because the path mask must be large 2 characters Verbose log: not added in file mask because the file mask must be large 2 characters Info: Deploy only C/C++ libraries because all target applications do not depend on the Qt libraries Info: clear old data Info: Clear start! Verbose log: target deploy started!! Verbose log: Available Targets: Error: LibInfo: path: '', name: '', qtPath: '', platform: '', dependencies: '' Error: Internal error ocurred in smartMoveTargets (configparser.cpp:1611). Error: If you see this message please create a new issue about this problem on the official github page https://github.com/QuasarApp/CQtDeployer/issues/new/choose. Error: Fail to copy targets Error: The CQtDeployer fail to deploy application.
Looks that snap version of cqtdeployer can work only with home directory. Please try to install cqtdeployer from the deb package or qifwInstaller
Maybe it will be temp solution for trouble
I have removed the snap installed version and reinstalled using the deb package. I can now successfully create an installation package and use it to install my app. Now when I try to run the installed app it fails, complaining about a missing library.
Here are the steps I followed:
- Download cqtdeployer deb package:
https://github.com/QuasarApp/CQtDeployer/releases/download/v1.5.4.14/CQtDeployer_1.5.4.14_Linux_x86_64.deb
- Navigate to my home directory and copy deb package to my home directory:
cd ~ cp ~/Downloads/CQtDeployer_1.5.4.14_Linux_x86_64.deb .
- Install cqtdeployer from deb package:
sudo apt install ./CQtDeployer_1.5.4.14_Linux_x86_64.deb
- Navigate to release build directory of my Qt app and run cqtdeployer to create an installation package:
cd ~/work/next-gen-ccu/Qt-projects/build-mc-system-ui-Desktop_Qt_5_15_2_GCC_64bit-Release /opt/CQtDeployer/cqtdeployer.sh qif -qmake /opt/Qt/5.15.2/gcc_64/bin/qmake -bin mc-system-ui
- Run the app deployer:
cd DistributionKit/ ./Installermc-system-ui.run Note: I selected all the defaults, but got an installer error during the app installation:
Error during installation process (Application): Cannot write desktop entry to "/home/simonb/.local/share/applications/mc-system-ui.desktop". Note: I ignored this error.
- Run the installed app:
cd ~/mc-system-ui ./mc-system-ui.sh
I get the following error:
simonb@simon-LubuntuVM:~/mc-system-ui$ ./mc-system-ui.sh /home/simonb/mc-system-ui/bin/mc-system-ui: error while loading shared libraries: libicui18n.so.56: cannot open shared object file: No such file or directory
I have removed the snap installed version and reinstalled using the deb package. I can now successfully create an installation package and use it to install my app. Now when I try to run the installed app it fails, complaining about a missing library.
Here are the steps I followed:
1. Download cqtdeployer deb package:
https://github.com/QuasarApp/CQtDeployer/releases/download/v1.5.4.14/CQtDeployer_1.5.4.14_Linux_x86_64.deb
3. Navigate to my home directory and copy deb package to my home directory:
cd ~ cp ~/Downloads/CQtDeployer_1.5.4.14_Linux_x86_64.deb .
5. Install cqtdeployer from deb package:
sudo apt install ./CQtDeployer_1.5.4.14_Linux_x86_64.deb
7. Navigate to release build directory of my Qt app and run cqtdeployer to create an installation package:
cd ~/work/next-gen-ccu/Qt-projects/build-mc-system-ui-Desktop_Qt_5_15_2_GCC_64bit-Release /opt/CQtDeployer/cqtdeployer.sh qif -qmake /opt/Qt/5.15.2/gcc_64/bin/qmake -bin mc-system-ui
8. Run the app deployer:
cd DistributionKit/ ./Installermc-system-ui.run Note: I selected all the defaults, but got an installer error during the app installation:
Error during installation process (Application): Cannot write desktop entry to "/home/simonb/.local/share/applications/mc-system-ui.desktop". Note: I ignored this error.
9. Run the installed app:
cd ~/mc-system-ui ./mc-system-ui.sh
I get the following error:
simonb@simon-LubuntuVM:~/mc-system-ui$ ./mc-system-ui.sh /home/simonb/mc-system-ui/bin/mc-system-ui: error while loading shared libraries: libicui18n.so.56: cannot open shared object file: No such file or directory
Add please -extraLibs icu to deploy command. your distribution of qt not contains icu* libs, but builds with a depends on it.
cqtdeployer qif -qmake /opt/Qt/5.15.2/gcc_64/bin/qmake -bin mc-system-ui -extraLibs icu
@EndrII I tried the -extraLibs icu option, but I still get the same error when I try to run the app as installed by the cqtdeployer created deployment package.
I have attached the full log of the cqtdeployer build of the app install package: make-app-package.log
I know that the application created from the Qt Creator IDE in the Release directory runs ok, as the following command works as expected:
/home/simonb/work/next-gen-ccu/Qt-projects/build-mc-system-ui-Desktop_Qt_5_15_2_GCC_64bit-Release/mc-system-ui
Looking at the attached log file, it would appear that cqtdeployer cannot find many of the dependencies.
Verbose log: Cannot find the library for dependency libicui18n.so.56
Looks as the libicui18n.so.56 library is missing in your machine ...
Please show me output log of this command :
locate libicui18n.so.56
if you do not have installed locate util, then install it please
@EndrII output from command as follows: simonb@simon-LubuntuVM:~/mc-system-ui$ locate libicui18n.so.56 /home/simonb/work/next-gen-ccu/Qt-projects/build-NextGenCCU-FrontEnd-Desktop_Qt_5_15_2_GCC_64bit-Release/deploy/lib/libicui18n.so.56 /home/simonb/work/next-gen-ccu/Qt-projects/deploy-using-linuxdeplotqt/lib/libicui18n.so.56 /home/simonb/work/next-gen-ccu/Soldel/viewer-deployment/lib/libicui18n.so.56 /opt/CQtDeployer/lib/libicui18n.so.56 /opt/Qt/5.15.2/gcc_64/lib/libicui18n.so.56 /opt/Qt/5.15.2/gcc_64/lib/libicui18n.so.56.1 /opt/Qt/5.15.2/wasm_32/lib/libicui18n.so.56 /opt/Qt/5.15.2/wasm_32/lib/libicui18n.so.56.1 /opt/Qt/Tools/QtCreator/lib/Qt/lib/libicui18n.so.56 /opt/Qt/Tools/QtCreator/lib/Qt/lib/libicui18n.so.56.1 /opt/Qt/Tools/QtDesignStudio/lib/Qt/lib/libicui18n.so.56 /opt/Qt/Tools/QtDesignStudio/lib/Qt/lib/libicui18n.so.56.1 /opt/Qt/Tools/QtDesignStudio/qt5_design_studio_reduced_version/lib/libicui18n.so.56 /opt/Qt/Tools/QtDesignStudio/qt5_design_studio_reduced_version/lib/libicui18n.so.56.1 /opt/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/libicui18n.so.56 /opt/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/libicui18n.so.56.1
Looks like it is installed already.
@simonbagley I have the save error, but I works when I remove the snap installation and re-install with deb package
I execute this command:
/opt/CQtDeployer/cqtdeployer.sh qif -qmake <qt_dit>/qtbase/bin/qmake -bin qt_app -extraLibs icu
but after deploy, there is no FONTs in the deploy dir, and the GUI has no text renderer. how can I fix it? @EndrII
@simonbagley, try new cqtdeployer 1.6 if issue not be fixed, please reopen this issue @laxian see my answer of another issue