Skip to content

Qt 6 deploy #838

@julisuli

Description

@julisuli

Describe the bug
When try to deploy application base on qt6 qmake it don't work like expected on ubuntu 24.04

To Reproduce
Install the last version:
sudo apt install -fy ./CQtDeployer_1.6.2365.7cce7f3_Linux_x86_64.deb

This is install in /opt/CQtDeployer

cqtdeployer -bin CRTMqml -qmake /usr/lib/qt6/bin/qmake -verbose 3

.....
Verbose log: initialize qmake for. /usr/lib/qt6/bin/qmake
Verbose log: sets qmake for. /usr/lib/qt6/bin/qmake
Verbose log: Path /opt/CQtDeployer/lib is already added
Verbose log: Qt Inforamtion:
Platform:
Major version: 0
Binaries dir: /opt/CQtDeployer/bin
Libraries dir: /opt/CQtDeployer/lib
Libexecs dir: /opt/CQtDeployer/libexec
Plugins dir: /opt/CQtDeployer/plugins
QMLs dir: /opt/CQtDeployer/qml
Translations dir: /opt/CQtDeployer/translations
Resources dir: /opt/CQtDeployer/resources
....

For some reason it copy the directories of the installation of CQtdeployer for qt libs, binaries,..etc. This not happen with qt5 installation with /usr/lib/qt5/bin/qmake

I think is something related to LD_LIBRARY_PATH of the CQtdeployer.sh script....

Expected behavior
That the application copy the right paths of qt6

Desktop:

  • OS:UBUNTU
  • Version: 24.04

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingLinuxLinux version

Type

No fields configured for Bug.

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions