Bug 2188089

Summary: ClangFormat is not working
Product: [Fedora] Fedora Reporter: Marco Bubke <marco>
Component: qt-creatorAssignee: Sandro Mani <manisandro>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 38CC: helio, jreznik, kde-sig, manisandro, rdieter, thomas.zimmermann
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-27 18:28:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marco Bubke 2023-04-19 18:02:31 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0
Build Identifier: 

Ad the start of Qt Creator a dialog with a missing symbol is popping up.

/usr/lib64/qtcreator/plugins/libClangFormat.so: Cannot load library /usr/lib64/qtcreator/plugins/libClangFormat.so: (/usr/lib64/qtcreator/plugins/libClangFormat.so: undefined symbol: _ZN4llvm15SmallVectorBaseIjE13mallocForGrowEmmRm)

Reproducible: Always

Steps to Reproduce:
1. Start Qt Creator
 

Actual Results:  
Dialog with broken plugin is popping up

Expected Results:  
ClangFormat plugin is working

Comment 1 Marco Bubke 2023-04-22 11:07:00 UTC
https://src.fedoraproject.org/rpms/qt-creator/c/d68e7dd10e21ef61c53cda10d737ba62c78b5602?branch=f38 is missing "clangSupport"

Maybe you could back port this patch into Qt Creator?

Comment 2 Sandro Mani 2023-04-22 17:27:20 UTC
Is this with qt-creator-9.0.1-7.fc38?

Comment 3 Sandro Mani 2023-04-27 18:28:22 UTC
I believe that at least with qt-creator-10.0.0-3.fc38 it should work as this is the rawhide version which as far as I can see works correctly. Please reopen if not.