Comrades, Hello!
I can’t understand why I don’t create an icon for the app, I do everything according to the instructions https://github.com/probonopd/linuxdeployqt.
the directory I created:
/home/alex/Desktop/assibs
/home/alex/Desktop/assibs/lib
/home/alex/Desktop/assibs/bin/assibs (my app)
/home/alex/Desktop/assibs/share/applications/assibs.desktop
/home/alex/Desktop/assibs/share/icons/hicolor/128x128/apps/assibs.png
file contents assibs.desktop:
[Desktop Entry]
Type=Application
Name=Qt App assibs
Comment=The best Qt Application Ever
Exec=assibs
Icon=assibs
Categories=Office;
a command to build:
alex@ubu164:~/Desktop$ ./linuxdeployqt-continuous-x86_64.AppImage /home/alex/Desktop/assibs/share/applications/assibs.desktop -appimage
linuxdeployqt 6 (commit 5195ec1), build 712 built on 2019-11-22 21:06:09 UTC
Desktop file as first argument: “/home/alex/Desktop/assibs/share/applications/assibs.desktop”
desktopExecEntry: “assibs”
desktopIconEntry: “assibs”
Found binary from desktop file: “/home/alex/Desktop/assibs/bin/assibs”
FHS-like mode with PREFIX, fhsPrefix: “/home/alex/Desktop/assibs”
app-binary: “/home/alex/Desktop/assibs/bin/assibs”
appDirPath: “/home/alex/Desktop”
relativeBinPath: “assibs/bin/assibs”
Copied “/home/alex/Desktop/assibs/share/applications/assibs.desktop” to “/home/alex/Desktop/assibs.desktop”
Found icons from desktop file: (“/home/alex/Desktop/assibs/share/icons/hicolor/128x128/apps/assibs.png”)
iconToBeUsed: “/home/alex/Desktop/assibs/share/icons/hicolor/128x128/apps/assibs.png”
Copied “/home/alex/Desktop/assibs/share/icons/hicolor/128x128/apps/assibs.png” to “/home/alex/Desktop/assibs.png”
ERROR: “/usr/bin/qmake -query” exited with 1 : “qmake: could not exec ‘/usr/lib/x86_64-linux-gnu/qt4/bin/qmake’: No such file or directory\n”
ERROR: Qt path could not be determined from qmake on the $PATH
ERROR: Make sure you have the correct Qt on your $PATH
ERROR: You can check this with qmake -v
then:
PATH=/home/alex/Qt/5.14.2/gcc_64/bin/:$PATH
and again:
./linuxdeployqt-continuous-x86_64.AppImage /home/alex/Desktop/assibs/share/applications/assibs.desktop -appimage
linuxdeployqt 6 (commit 5195ec1), build 712 built on 2019-11-22 21:06:09 UTC
Desktop file as first argument: “/home/alex/Desktop/assibs/share/applications/assibs.desktop”
desktopExecEntry: “assibs”
desktopIconEntry: “assibs”
Found binary from desktop file: “/home/alex/Desktop/assibs/bin/assibs”
FHS-like mode with PREFIX, fhsPrefix: “/home/alex/Desktop/assibs”
app-binary: “/home/alex/Desktop/assibs/bin/assibs”
appDirPath: “/home/alex/Desktop”
relativeBinPath: “assibs/bin/assibs”
Copied “/home/alex/Desktop/assibs/share/applications/assibs.desktop” to “/home/alex/Desktop/assibs.desktop”
Found icons from desktop file: (“/home/alex/Desktop/assibs/share/icons/hicolor/128x128/apps/assibs.png”)
iconToBeUsed: “/home/alex/Desktop/assibs/share/icons/hicolor/128x128/apps/assibs.png”
Copied “/home/alex/Desktop/assibs/share/icons/hicolor/128x128/apps/assibs.png” to “/home/alex/Desktop/assibs.png”
WARNING: Plugin “/home/alex/Qt/5.14.2/gcc_64/plugins/platformthemes/libqgtk2.so” not found, skipping
WARNING: Plugin “/home/alex/Qt/5.14.2/gcc_64/plugins/styles/libqgtk2style.so” not found, skipping
appimagetool, continuous build (commit 9f1857f), build 2102 built on 2019-11-19 08:44:28 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: /home/alex/Desktop/assibs.desktop
Name: Qt App assibs
Icon: assibs
Exec: assibs
Comment: The best Qt Application Ever
Type: Application
Categories: Office;
/home/alex/Desktop/assibs/bin/assibs used for determining architecture x86_64
/home/alex/Desktop/assibs/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so used for determining architecture x86_64
/home/alex/Desktop/assibs/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so used for determining architecture x86_64
/home/alex/Desktop/assibs/plugins/imageformats/libqwbmp.so used for determining architecture x86_64
/home/alex/Desktop/assibs/plugins/imageformats/libqicns.so used for determining architecture x86_64
/home/alex/Desktop/assibs/plugins/imageformats/libqjpeg.so used for determining architecture x86_64
/home/alex/Desktop/assibs/plugins/imageformats/libqgif.so used for determining architecture x86_64
/home/alex/Desktop/assibs/plugins/imageformats/libqtga.so used for determining architecture x86_64
/home/alex/Desktop/assibs/plugins/imageformats/libqtiff.so used for determining architecture x86_64
/home/alex/Desktop/assibs/plugins/imageformats/libqsvg.so used for determining architecture x86_64
/home/alex/Desktop/assibs/plugins/imageformats/libqico.so used for determining architecture x86_64
/home/alex/Desktop/assibs/plugins/imageformats/libqwebp.so used for determining architecture x86_64
/home/alex/Desktop/assibs/plugins/platforms/libqxcb.so used for determining architecture x86_64
/home/alex/Desktop/assibs/plugins/iconengines/libqsvgicon.so used for determining architecture x86_64
/home/alex/Desktop/assibs/plugins/xcbglintegrations/libqxcb-egl-integration.so used for determining architecture x86_64
/home/alex/Desktop/assibs/plugins/xcbglintegrations/libqxcb-glx-integration.so used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libxkbcommon-x11.so.0 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libicudata.so.56 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libXfixes.so.3 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libsystemd.so.0 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libQt5Gui.so.5 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libboost_filesystem.so.1.58.0 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libwayland-server.so.0 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libxcb-present.so.0 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libpng12.so.0 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libffi.so.6 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libselinux.so.1 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libQt5Svg.so.5 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libgthread-2.0.so.0 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libQt5Core.so.5 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libQt5XcbQpa.so.5 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libmircommon.so.7 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libXdamage.so.1 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libboost_system.so.1.58.0 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libxcb-xkb.so.1 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libxcb-xfixes.so.0 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libQt5Widgets.so.5 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libxcb-glx.so.0 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libxcb-sync.so.1 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libXau.so.6 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libicui18n.so.56 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libmirclient.so.9 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libprotobuf-lite.so.9 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libxshmfence.so.1 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/liblzma.so.5 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libmirprotobuf.so.3 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libicuuc.so.56 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libgcrypt.so.20 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libxkbcommon.so.0 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libwayland-client.so.0 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libmircore.so.1 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libXdmcp.so.6 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libdbus-1.so.3 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libXxf86vm.so.1 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libQt5DBus.so.5 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libX11-xcb.so.1 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libpcre.so.3 used for determining architecture x86_64
/home/alex/Desktop/assibs/lib/libXext.so.6 used for determining architecture x86_64
/home/alex/Desktop/linuxdeployqt-continuous-x86_64.AppImage used for determining architecture x86_64
Using architecture x86_64
App name for filename: Qt_App_assibs
/home/alex/Desktop should be packaged as Qt_App_assibs-x86_64.AppImage
Generating squashfs…
Size of the embedded runtime: 188456 bytes
mksquashfs commandline: /tmp/.mount_linuxd0BISHl/usr/bin/…/lib/appimagekit/mksquashfs /home/alex/Desktop Qt_App_assibs-x86_64.AppImage -offset 188456 -comp gzip -root-owned -noappend -mkfs-time 0
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on Qt_App_assibs-x86_64.AppImage, block size 131072.
[========================================================================================================================/] 730/730 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 40195.88 Kbytes (39.25 Mbytes)
49.02% of uncompressed filesystem size (81991.03 Kbytes)
Inode table size 3817 bytes (3.73 Kbytes)
45.87% of uncompressed inode table size (8321 bytes)
Directory table size 1808 bytes (1.77 Kbytes)
42.80% of uncompressed directory table size (4224 bytes)
Number of duplicate files found 14
Number of inodes 178
Number of files 125
Number of fragments 20
Number of symbolic links 1
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 52
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
SuccessPlease consider submitting your AppImage to AppImageHub, the crowd-sourced
central directory of available AppImages, by opening a pull request
at GitHub - AppImage/appimage.github.io: Given an URL to an AppImage, the GitHub action in this project inspects the AppImage and puts it into a community-maintained catalog
after that, 3 shortcuts are created on the desktop, and the program itself, but the program without an icon. Can you tell me what’s wrong? why is there no icon Sorry for the long text, I wanted to show you what’s going on. Thank you very much.
All actions take place on the Ubuntu 16.04.6 operating system