Bug 2225531

Summary: qt5-qtpbfimageformat causes some qt-applications to crash
Product: [Fedora] Fedora Reporter: tk20
Component: qt5-qtpbfimageformatAssignee: Nikola Forró <nforro>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 38CC: nforro
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
gdb /usr/bin/ghostwriter 2>&1 | tee ~/ghostwriter.log none

Description tk20 2023-07-25 13:36:01 UTC
Created attachment 1977475 [details]
gdb /usr/bin/ghostwriter 2>&1 | tee ~/ghostwriter.log

Description of problem:
Having qt5-qtpbfimageformat installed can cause some Qt-applications to abort during startup.

Version-Release number of selected component (if applicable):
qt5-qtpbfimageformat-2.3-9.fc38.x86_64  

How reproducible:
Reliably

Steps to Reproduce:
1. Install qt5-qtpbfimageformat
2. Install ghostwriter
3. Start ghostwriter

Actual results:
QFontDatabase: Must construct a QGuiApplication before accessing QFontDatabase
Aborted (core dumped)

Expected results:
Ghostwriter starts as intended.

Additional info:
Uninstalling qt5-qtpbfimageformat fixes the issue
This issue has been discussed before upstream: https://github.com/tumic0/QtPBFImagePlugin/issues/7
Attached is the output of gdb /usr/bin/ghostwriter 2>&1 | tee ~/ghostwriter.log