Skip to content

Proper way to deploy 3rdparty Qt Quick plugins #319

@IlyaBizyaev

Description

@IlyaBizyaev

Hello! What is the recommended way to add custom Qt Quick plugins into the AppImage?

E.g. I use Kirigami, and my build script uses this trick:

./3rdparty/linuxdeployqt-continuous-x86_64.AppImage ./AppDir/usr/share/applications/kaidan.desktop -qmake=$QT_LINUX/bin/qmake -qmldir=./src/qml/ -bundle-non-qt-libs
    
cp $KIRIGAMI_BUILD/lib64/libKF5Kirigami2.so* ./AppDir/usr/lib
cp -r $KIRIGAMI_BUILD/lib64/qml/org ./AppDir/usr/qml
    
./3rdparty/linuxdeployqt-continuous-x86_64.AppImage ./AppDir/usr/share/applications/kaidan.desktop -qmake=$QT_LINUX/bin/qmake -qmldir=./src/qml/ -appimage

It works, but requires to launch linuxdeployqt twice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions