Freaky error message running PDF4QT AppImage

Can any of you guys make sense of the error messages below? Here’s the context: attempting to run the latest PDF4QT AppImage on my CL computer (42590). Application does not run, and the following error message is being returned:

dad@DadsGram~/Downloads $ ./PDF4QT-1.4.0.0-x86_64.AppImage 
warning: direct reference to protected function `_ZNK7QDialog15minimumSizeHintEv' in `/usr/lib64/libQt6Widgets.so.6' may break pointer equality
./PDF4QT-1.4.0.0-x86_64.AppImage: _ZNK7QDialog15minimumSizeHintEv: /usr/lib64/libQt6Widgets.so.6: error due to GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS
dad@DadsGram~/Downloads $

Interestingly, the same AppImage seems to be running fine(?) on my wife’s CL (also 42590); here’s what error message she’s been getting:

mom@MomsSpectre~/Downloads $ ./PDF4QT-1.4.0.0-x86_64.AppImage 
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
mom@MomsSpectre~/Downloads $ qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
qt.svg: Cannot open file ':/pdfplugins/editorplugin/certificates.svg', because: No such file or directory
qt.svg: Cannot open file ':/pdfplugins/editorplugin/certificates.svg', because: No such file or directory
^C
mom@MomsSpectre~/Downloads $

And here’s the film of the whole operation on my wife’s computer.

Many thanks!

Try :

sudo swupd bundle-add desktop-dev

export QT_QPA_PLATFORM=xcb ./PDF4QT-1.4.0.0-x86_64.AppImage

sudo swupd update

./PDF4QT-1.4.0.0-x86_64.AppImage  --appimage-extract-and-run

For the SVG file issue, it seems the AppImage is having trouble accessing its internal resources.

You can try extracting it and run it directly:

./PDF4QT-1.4.0.0-x86_64.AppImage --appimage-extract
cd squashfs-root
./AppRun

If the above doesn’t work, you might need to set the QT_PLUGIN_PATH environment variable to help Qt find its plugins:

QT_PLUGIN_PATH="$PWD/usr/plugins" QT_QPA_PLATFORM=xcb ./AppRun
2 Likes

Is this supposed to address the GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS error?

Yes, and if it doesn’t fix it, try :

sudo swupd bundle-add qt-basic

./PDF4QT-1.4.0.0-x86_64.AppImage --no-sandbox


Here goes:

mom@MomsSpectre~/Downloads $ ./PDF4QT-1.4.0.0-x86_64.AppImage --appimage-extract
squashfs-root/.DirIcon
squashfs-root/AppRun
...
squashfs-root/usr/translations/qt_zh_TW.qm
mom@MomsSpectre~/Downloads $ cd squashfs-root/
mom@MomsSpectre~/Downloads/squashfs-root $ ./AppRun 
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""

Here’s also the film.

Edit: Interestingly, when run with QT_PLUGIN_PATH="$PWD/usr/plugins" QT_QPA_PLATFORM=xcb ./AppRun, the Could not find the Qt platform plugin "wayland" error does not show up! The app still fails with the Failed to start process './Pdf4QtViewer error.

did you :

sudo swupd bundle-add qt-basic

Yes, qt-basic has been installed since the very beginning, as a matter of routine.