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
583 stars 88 forks source link

error when running result of deployment process #827

Open SimonDev666 opened 1 week ago

SimonDev666 commented 1 week ago

Hello,

I am using Kali Linux v2024.3, latest version of QT 6.8. i install cqtdeployer via a deb from your github. i created a test qt app (just a simple window), from a pro (qmake) and built it in release. i then go into my qt app directory to the release directory and run the following:

cqtdeployer -bin Test_Deploy002

a distribution directory is created. i go inside and try to exe the shell script named after my exe (project name). i get the following error:

┌──(simon㉿Kali202403)-[~/…/Test_Deploy002/build/Desktop_Qt_6_8_0-Release/DistributionKit] └─$ ./Test_Deploy002.sh /home/simon/Code/QT/Cpp/Test_Deploy/Test_Deploy002/build/Desktop_Qt_6_8_0-Release/DistributionKit/bin/Test_Deploy002: /home/simon/Code/QT/Cpp/Test_Deploy/Test_Deploy002/build/Desktop_Qt_6_8_0-Release/DistributionKit/lib/libQt6Core.so.6: version `Qt_6.8' not found (required by /home/simon/Code/QT/Cpp/Test_Deploy/Test_Deploy002/build/Desktop_Qt_6_8_0-Release/DistributionKit/bin/Test_Deploy002)

can you tell me what i am doing wrong please, as i am relatively new to programming on linux.

pzhlkj6612 commented 1 week ago

Hi.

Please provide the command for packaging "Test_Deploy002" you executed. And I suspect you have multiple Qt 6 installation on your computer.

Tech tip: you can use the fenced code blocks to make your content looks clearer: Creating and highlighting code blocks - GitHub Docs.

EndrII commented 1 week ago

@SimonDev666 please force the cqtdeployer to choose your used qt. To do this, follow the next command :

cqtdeployer -bin Test_Deploy002  -qmake path/to/your/qmake -verbose 3 

And please provide full deploy log with verbose 3 option.