Skip to content

qt_prfxpath is wrong if not system/locally built qt is used #216

Open
@Aksem

Description

@Aksem

I try to use appimagetool for creating AppImage with Qt app by running following command: appimagetool -s deploy ../install/usr/share/applications/*.desktop. For the build of the app, I use pre-compiled Qt installed using aqtinstall.

I've checked qt_prfxpath in libQtCore5.so in the same way as go-appimage detects it, and it is a path from the system where Qt was built, and it doesn't correspond to the path in the system where the app is built.

As result, creating AppImage fails:

2022/08/08 10:43:42 qt_prfxpath: /home/qt/work/install
2022/08/08 10:43:42 Got qt_prfxpath but it does not contain 'plugins'
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0xafff4a]

Update: after hardcoding of qt prefix in source code & rebuild of appimagetool, deployment of successful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions