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
570 stars 89 forks source link

cqtdeployer doesn't include `.so` file #813

Closed Mosazghi closed 3 months ago

Mosazghi commented 3 months ago

After deploying my application i wanted to test it on a VM linux machine. So i transferred the InstallerXXX.run file and installed it fine on the VM machine. However when i try to open the app, nothing happens. So i went to the /bin directory and ./appname and got this output:

mosa@mosa-20:~/Downloads/t/bin$ ./xerial 
./xerial: error while loading shared libraries: libQt6SerialPort.so.6: cannot open shared object file: No such file or directory
mosa@mosa-20:~/Downloads/t/bin$ 

I used the following command to deploy:

[] ~/xerial/build/Desktop_Qt_6_7_0-Release <main>: cqtdeployer -bin xerial qif -qmake ~/Qt/6.7.0/gcc_64/bin/qmake -verbose 3

and also installed these

and restarted my laptop.

My verbose log is as follows. verbose.txt

EndrII commented 3 months ago

Please run your app using shortcut or sh script that generated for your distribution.

./xerial.sh
Mosazghi commented 3 months ago

running ./xerial.sh on my VM machine:

mosa@mosa-20:~/Downloads/t$ ./xerial.sh
/home/mosa/Downloads/t/bin/xerial: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/mosa/Downloads/t/bin/xerial)
EndrII commented 3 months ago

running ./xerial.sh on my VM machine:

mosa@mosa-20:~/Downloads/t$ ./xerial.sh
/home/mosa/Downloads/t/bin/xerial: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/mosa/Downloads/t/bin/xerial)

I see you deploy your distribution on machine with new LibC. so all distribution should build on must old machine, see https://github.com/QuasarApp/CQtDeployer/issues/775#issuecomment-1719219865