Bug 383609

Summary: Applications menu coming from ui_standards.rc are not visible
Product: [Frameworks and Libraries] frameworks-kxmlgui Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.36.0   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 380136    

Description Ralf Habacker 2017-08-16 20:08:53 UTC
Although ui_standards.rc is embedded into the library (according to https://cgit.kde.org/kxmlgui.git/tree/src/kxmlgui.qrc) it is not found by an application (tried with KF5 umbrello portable package from https://software.opensuse.org/package/mingw32-umbrello5-portable?search_term=mingw32-umbrello5-portable).

As fallback there is a file ui_standards.rc installed in <install-root>/etc/xdg/ui/ui_standards.rc, but on starting an application Qt searches this file in <install-root>/bin/xdg/ui/ui_standards.rc. 

I don't think that is was a good decision by Qt to place all files below bin while the rest of oss packages uses <install-root>/share for data. This could be partial corrected by using a qt.conf file which is unfortunally not used by QStandardPath. It puts an additional burden on package maintainer and porter beside the huge work to make all this Qt5/KF5 changes working on Windows.