probonopd / linuxdeployqt

Makes Linux applications self-contained by copying in the libraries and plugins that the application uses, and optionally generates an AppImage. Can be used for Qt and other applications
Other
2.19k stars 407 forks source link

Not bundle required qt plugins in appimage. #509

Open abcfy2 opened 2 years ago

abcfy2 commented 2 years ago

After cmake --install files tree:

$ tree /tmp/qbee
/tmp/qbee/
`-- AppDir
    `-- usr
        |-- bin
        |   `-- qbittorrent
        `-- share
            |-- applications
            |   `-- org.qbittorrent.qBittorrent.desktop
            |-- icons
            |   `-- hicolor
            |       |-- 128x128
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 16x16
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 192x192
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 22x22
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 24x24
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 32x32
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 36x36
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 48x48
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 64x64
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 72x72
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 96x96
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       `-- scalable
            |           |-- apps
            |           |   `-- qbittorrent.svg
            |           `-- status
            |               |-- qbittorrent-tray-dark.svg
            |               |-- qbittorrent-tray-light.svg
            |               `-- qbittorrent-tray.svg
            |-- man
            |   `-- man1
            |       `-- qbittorrent.1
            `-- metainfo
                `-- org.qbittorrent.qBittorrent.appdata.xml

46 directories, 30 files
$ cp -v /tmp/qbee/AppDir/usr/share/icons/hicolor/scalable/apps/qbittorrent.svg /tmp/qbee/AppDir/
'/tmp/qbee/AppDir/usr/share/icons/hicolor/scalable/apps/qbittorrent.svg' -> '/tmp/qbee/AppDir/qbittorrent.svg'

$ ./linuxdeployqt-continuous-x86_64.AppImage /tmp/qbee/AppDir/usr/share/applications/org.qbittorrent.qBittorrent.desktop -always-overwrite -appimage -no-copy-copyright-files -verbose=2                                                        
linuxdeployqt 7 (commit b469748), build 734 built on 2021-06-13 13:17:57 UTC
Desktop file as first argument: "/tmp/qbee/AppDir/usr/share/applications/org.qbittorrent.qBittorrent.desktop"
desktopExecEntry: "qbittorrent"
desktopIconEntry: "qbittorrent"
Found binary from desktop file: "/tmp/qbee/AppDir/usr/bin/qbittorrent"
FHS-like mode with PREFIX, fhsPrefix: "/tmp/qbee/AppDir/usr"
app-binary: "/tmp/qbee/AppDir/usr/bin/qbittorrent"
appDirPath: "/tmp/qbee/AppDir"
relativeBinPath: "usr/bin/qbittorrent"
Copied "/tmp/qbee/AppDir/usr/share/applications/org.qbittorrent.qBittorrent.desktop" to "/tmp/qbee/AppDir/org.qbittorrent.qBittorrent.desktop"
Found icons from desktop file: ("/tmp/qbee/AppDir/usr/share/icons/hicolor/128x128/apps/qbittorrent.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/128x128/status/qbittorrent-tray.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/16x16/apps/qbittorrent.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/16x16/status/qbittorrent-tray.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/192x192/apps/qbittorrent.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/192x192/status/qbittorrent-tray.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/22x22/apps/qbittorrent.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/22x22/status/qbittorrent-tray.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/24x24/apps/qbittorrent.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/24x24/status/qbittorrent-tray.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/32x32/apps/qbittorrent.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/32x32/status/qbittorrent-tray.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/36x36/apps/qbittorrent.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/36x36/status/qbittorrent-tray.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/48x48/apps/qbittorrent.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/48x48/status/qbittorrent-tray.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/64x64/apps/qbittorrent.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/64x64/status/qbittorrent-tray.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/72x72/apps/qbittorrent.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/72x72/status/qbittorrent-tray.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/96x96/apps/qbittorrent.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/96x96/status/qbittorrent-tray.png", "/tmp/qbee/AppDir/usr/share/icons/hicolor/scalable/apps/qbittorrent.svg", "/tmp/qbee/AppDir/usr/share/icons/hicolor/scalable/status/qbittorrent-tray.svg", "/tmp/qbee/AppDir/usr/share/icons/hicolor/scalable/status/qbittorrent-tray-dark.svg", "/tmp/qbee/AppDir/usr/share/icons/hicolor/scalable/status/qbittorrent-tray-light.svg", "/tmp/qbee/AppDir/qbittorrent.svg")
preExistingToplevelIcon: "/tmp/qbee/AppDir/qbittorrent.svg"
Log: Deploying the following libraries: ("/tmp/qbee/AppDir/usr/bin/qbittorrent")
Log:  copied: "/usr/local/Qt-6.2.1/lib/libQt6Widgets.so.6"
Log:  to "/tmp/qbee/AppDir/usr/lib///libQt6Widgets.so.6"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libQt6Widgets.so.6"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libQt6Widgets.so.6" to "$ORIGIN"
Log:  copied: "/usr/local/Qt-6.2.1/lib/libQt6Gui.so.6"
Log:  to "/tmp/qbee/AppDir/usr/lib///libQt6Gui.so.6"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libQt6Gui.so.6"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libQt6Gui.so.6" to "$ORIGIN"
Log:  copied: "/usr/local/lib/libtorrent-rasterbar.so.2.0"
Log:  to "/tmp/qbee/AppDir/usr/lib///libtorrent-rasterbar.so.2.0"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libtorrent-rasterbar.so.2.0"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libtorrent-rasterbar.so.2.0" to "$ORIGIN"
Log:  copied: "/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1"
Log:  to "/tmp/qbee/AppDir/usr/lib///libcrypto.so.1.1"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libcrypto.so.1.1"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libcrypto.so.1.1" to "$ORIGIN"
Log:  copied: "/usr/local/Qt-6.2.1/lib/libQt6Network.so.6"
Log:  to "/tmp/qbee/AppDir/usr/lib///libQt6Network.so.6"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libQt6Network.so.6"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libQt6Network.so.6" to "$ORIGIN"
Log:  copied: "/usr/local/Qt-6.2.1/lib/libQt6Sql.so.6"
Log:  to "/tmp/qbee/AppDir/usr/lib///libQt6Sql.so.6"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libQt6Sql.so.6"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libQt6Sql.so.6" to "$ORIGIN"
Log:  copied: "/usr/local/Qt-6.2.1/lib/libQt6Xml.so.6"
Log:  to "/tmp/qbee/AppDir/usr/lib///libQt6Xml.so.6"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libQt6Xml.so.6"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libQt6Xml.so.6" to "$ORIGIN"
Log:  copied: "/usr/local/Qt-6.2.1/lib/libQt6DBus.so.6"
Log:  to "/tmp/qbee/AppDir/usr/lib///libQt6DBus.so.6"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libQt6DBus.so.6"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libQt6DBus.so.6" to "$ORIGIN"
Log: Setting deploymentInfo.qtPath to: "/usr/local/Qt-6.2.1/lib/"
Log:  copied: "/usr/local/Qt-6.2.1/lib/libQt6Core.so.6"
Log:  to "/tmp/qbee/AppDir/usr/lib///libQt6Core.so.6"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libQt6Core.so.6"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libQt6Core.so.6" to "$ORIGIN"
Log:  copied: "/usr/lib/x86_64-linux-gnu/libxkbcommon.so.0"
Log:  to "/tmp/qbee/AppDir/usr/lib///libxkbcommon.so.0"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libxkbcommon.so.0"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libxkbcommon.so.0" to "$ORIGIN"
Log:  copied: "/usr/lib/x86_64-linux-gnu/libpng16.so.16"
Log:  to "/tmp/qbee/AppDir/usr/lib///libpng16.so.16"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libpng16.so.16"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libpng16.so.16" to "$ORIGIN"
Log:  copied: "/usr/lib/x86_64-linux-gnu/libssl.so.1.1"
Log:  to "/tmp/qbee/AppDir/usr/lib///libssl.so.1.1"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libssl.so.1.1"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libssl.so.1.1" to "$ORIGIN"
Log:  copied: "/usr/lib/x86_64-linux-gnu/libzstd.so.1"
Log:  to "/tmp/qbee/AppDir/usr/lib///libzstd.so.1"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libzstd.so.1"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libzstd.so.1" to "$ORIGIN"
Log:  copied: "/usr/lib/x86_64-linux-gnu/libbrotlidec.so.1"
Log:  to "/tmp/qbee/AppDir/usr/lib///libbrotlidec.so.1"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libbrotlidec.so.1"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libbrotlidec.so.1" to "$ORIGIN"
Log:  copied: "/usr/lib/x86_64-linux-gnu/libicui18n.so.60"
Log:  to "/tmp/qbee/AppDir/usr/lib///libicui18n.so.60"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libicui18n.so.60"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libicui18n.so.60" to "$ORIGIN"
Log:  copied: "/usr/lib/x86_64-linux-gnu/libicuuc.so.60"
Log:  to "/tmp/qbee/AppDir/usr/lib///libicuuc.so.60"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libicuuc.so.60"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libicuuc.so.60" to "$ORIGIN"
Log:  copied: "/usr/lib/x86_64-linux-gnu/libpcre2-16.so.0"
Log:  to "/tmp/qbee/AppDir/usr/lib///libpcre2-16.so.0"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libpcre2-16.so.0"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libpcre2-16.so.0" to "$ORIGIN"
Log:  copied: "/lib/x86_64-linux-gnu/libpcre.so.3"
Log:  to "/tmp/qbee/AppDir/usr/lib///libpcre.so.3"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libpcre.so.3"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libpcre.so.3" to "$ORIGIN"
Log:  copied: "/usr/lib/x86_64-linux-gnu/libbrotlicommon.so.1"
Log:  to "/tmp/qbee/AppDir/usr/lib///libbrotlicommon.so.1"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libbrotlicommon.so.1"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libbrotlicommon.so.1" to "$ORIGIN"
Log:  copied: "/usr/lib/x86_64-linux-gnu/libicudata.so.60"
Log:  to "/tmp/qbee/AppDir/usr/lib///libicudata.so.60"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libicudata.so.60"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libicudata.so.60" to "$ORIGIN"
Log:  copied: "/usr/lib/x86_64-linux-gnu/libXau.so.6"
Log:  to "/tmp/qbee/AppDir/usr/lib///libXau.so.6"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libXau.so.6"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libXau.so.6" to "$ORIGIN"
Log:  copied: "/usr/lib/x86_64-linux-gnu/libXdmcp.so.6"
Log:  to "/tmp/qbee/AppDir/usr/lib///libXdmcp.so.6"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libXdmcp.so.6"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libXdmcp.so.6" to "$ORIGIN"
Log:  copied: "/lib/x86_64-linux-gnu/libbsd.so.0"
Log:  to "/tmp/qbee/AppDir/usr/lib///libbsd.so.0"
Log: Skipping copyright files deployment as requested by the user
Log: Checking rpath in "/tmp/qbee/AppDir/usr/lib/libbsd.so.0"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/lib/libbsd.so.0" to "$ORIGIN"
Log: Checking rpath in "/tmp/qbee/AppDir/usr/bin/qbittorrent"
Log: Changing rpath in "/tmp/qbee/AppDir/usr/bin/qbittorrent" to "$ORIGIN/../lib"
Log: Deploying plugins from "/usr/local/Qt-6.2.1/plugins"
Log: pluginList after having detected hopefully all required plugins: ()
Log: Created configuration file: "/tmp/qbee/AppDir/usr/bin/qt.conf"
Log: "appimagetool -v '/tmp/qbee/AppDir' -n -g"
appimagetool, continuous build (commit 1681fd8), build <local dev build> built on 2021-06-09 06:11:53 UTC
fatal: not a git repository (or any of the parent directories): .git
Failed to run 'git rev-parse --short HEAD: Child process exited with code 128 (code 128)
Desktop file: /tmp/qbee/AppDir/org.qbittorrent.qBittorrent.desktop
Name: qBittorrent
Icon: qbittorrent
Exec: qbittorrent %U
Comment: Download and share files over BitTorrent
Type: Application
Categories: Network;FileTransfer;P2P;Qt;
/tmp/qbee/AppDir/usr/bin/qbittorrent used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libQt6Widgets.so.6 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libQt6Gui.so.6 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libtorrent-rasterbar.so.2.0 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libcrypto.so.1.1 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libQt6Network.so.6 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libQt6Sql.so.6 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libQt6Xml.so.6 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libQt6DBus.so.6 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libQt6Core.so.6 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libxkbcommon.so.0 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libpng16.so.16 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libssl.so.1.1 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libzstd.so.1 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libbrotlidec.so.1 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libicui18n.so.60 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libicuuc.so.60 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libpcre2-16.so.0 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libpcre.so.3 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libbrotlicommon.so.1 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libicudata.so.60 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libXau.so.6 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libXdmcp.so.6 used for determining architecture x86_64
/tmp/qbee/AppDir/usr/lib/libbsd.so.0 used for determining architecture x86_64
Using architecture x86_64
App name for filename: qBittorrent
/tmp/qbee/AppDir should be packaged as qBittorrent-x86_64.AppImage
Generating squashfs...
Size of the embedded runtime: 189632 bytes
mksquashfs commandline: /tmp/appimage_extracted_135c7355ff0b9a058b67069ed1256a9a/usr/bin/../lib/appimagekit/mksquashfs /tmp/qbee/AppDir qBittorrent-x86_64.AppImage -offset 189632 -comp gzip -root-owned -noappend -mkfs-time 0 
Parallel mksquashfs: Using 16 processors
Creating 4.0 filesystem on qBittorrent-x86_64.AppImage, block size 131072.
[==========================================================================================================================================================================================/] 719/719 100%

Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
        compressed data, compressed metadata, compressed fragments,
        compressed xattrs, compressed ids
        duplicates are removed
Filesystem size 36526.44 Kbytes (35.67 Mbytes)
        42.38% of uncompressed filesystem size (86189.63 Kbytes)
Inode table size 2924 bytes (2.86 Kbytes)
        47.93% of uncompressed inode table size (6101 bytes)
Directory table size 995 bytes (0.97 Kbytes)
        37.82% of uncompressed directory table size (2631 bytes)
Number of duplicate files found 15
Number of inodes 105
Number of files 57
Number of fragments 3
Number of symbolic links  1
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 47
Number of ids (unique uids + gids) 1
Number of uids 1
        root (0)
Number of gids 1
        root (0)
Embedding ELF...
Marking the AppImage as executable...
Embedding MD5 digest
Success

Please consider submitting your AppImage to AppImageHub, the crowd-sourced
central directory of available AppImages, by opening a pull request
at https://github.com/AppImage/appimage.github.io
Log: ret 0
Log: WEXITSTATUS(ret) 0

But not bundle any required plugins after all, after linuxdeployqt executed files tree:

$ tree /tmp/qbee/       
/tmp/qbee/
`-- AppDir
    |-- AppRun -> usr/bin/qbittorrent
    |-- org.qbittorrent.qBittorrent.desktop
    |-- qbittorrent.svg
    `-- usr
        |-- bin
        |   |-- qbittorrent
        |   `-- qt.conf
        |-- lib
        |   |-- libQt6Core.so.6
        |   |-- libQt6DBus.so.6
        |   |-- libQt6Gui.so.6
        |   |-- libQt6Network.so.6
        |   |-- libQt6Sql.so.6
        |   |-- libQt6Widgets.so.6
        |   |-- libQt6Xml.so.6
        |   |-- libXau.so.6
        |   |-- libXdmcp.so.6
        |   |-- libbrotlicommon.so.1
        |   |-- libbrotlidec.so.1
        |   |-- libbsd.so.0
        |   |-- libcrypto.so.1.1
        |   |-- libicudata.so.60
        |   |-- libicui18n.so.60
        |   |-- libicuuc.so.60
        |   |-- libpcre.so.3
        |   |-- libpcre2-16.so.0
        |   |-- libpng16.so.16
        |   |-- libssl.so.1.1
        |   |-- libtorrent-rasterbar.so.2.0
        |   |-- libxkbcommon.so.0
        |   `-- libzstd.so.1
        `-- share
            |-- applications
            |   `-- org.qbittorrent.qBittorrent.desktop
            |-- icons
            |   `-- hicolor
            |       |-- 128x128
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 16x16
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 192x192
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 22x22
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 24x24
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 32x32
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 36x36
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 48x48
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 64x64
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 72x72
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       |-- 96x96
            |       |   |-- apps
            |       |   |   `-- qbittorrent.png
            |       |   `-- status
            |       |       `-- qbittorrent-tray.png
            |       `-- scalable
            |           |-- apps
            |           |   `-- qbittorrent.svg
            |           `-- status
            |               |-- qbittorrent-tray-dark.svg
            |               |-- qbittorrent-tray-light.svg
            |               `-- qbittorrent-tray.svg
            |-- man
            |   `-- man1
            |       `-- qbittorrent.1
            `-- metainfo
                `-- org.qbittorrent.qBittorrent.appdata.xml

47 directories, 57 files

So run AppImage will be failed:

$ ./qBittorrent-x86_64.AppImage                                                                                       ✔ 
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

zsh: abort (core dumped)  ./qBittorrent-x86_64.AppImage

I try to bundle plugins by pass --extract-plugins, still not working:

$ ./linuxdeployqt-continuous-x86_64.AppImage /tmp/qbee/AppDir/usr/share/applications/org.qbittorrent.qBittorrent.desktop -always-overwrite -appimage -no-copy-copyright-files -extra-plugins=iconengines,platformthemes,platforms,tls
...
WARNING: The plugin "/tmp/qbee/AppDir/usr/plugins/iconengines" could not be found. Please check spelling and try again!
WARNING: The plugin "/tmp/qbee/AppDir/usr/plugins/platformthemes" could not be found. Please check spelling and try again!
WARNING: The plugin "/tmp/qbee/AppDir/usr/plugins/platforms" could not be found. Please check spelling and try again!
WARNING: The plugin "/tmp/qbee/AppDir/usr/plugins/tls" could not be found. Please check spelling and try again!
appimagetool, continuous build (commit 1681fd8), build <local dev build> built on 2021-06-09 06:11:53 UTC
fatal: not a git repository (or any of the parent directories): .git
Failed to run 'git rev-parse --short HEAD: Child process exited with code 128 (code 128)
...

Please consider submitting your AppImage to AppImageHub, the crowd-sourced
central directory of available AppImages, by opening a pull request
at https://github.com/AppImage/appimage.github.io

Thanks.

UltraBlackLinux commented 2 years ago

I'm facing the same issue. I think this is a problem of missing documentation :/

probonopd commented 2 years ago

linuxdeployqt 7 is outdated and no longer supported. Please repeat the above with the last released version or with the continuous build. Thanks!

Also, Qt 6 is not supported yet.

UltraBlackLinux commented 2 years ago

Ah crap, so QT6 is my problem, dammit. Not even linuxdeploy works with qt6