probonopd / linuxdeployqt

Makes Linux applications self-contained by copying in the libraries and plugins that the application uses, and optionally generates an AppImage. Can be used for Qt and other applications
Other
2.21k stars 411 forks source link

kxmlgui .rc file not deployed #54

Open probonopd opened 7 years ago

probonopd commented 7 years ago

As described in https://github.com/russelltg/chigraph/issues/16:

Because I am using KXmlGui, I need to be able to package the .rc file

Is not obvious to me where it should go.

https://techbase.kde.org/Development/Architecture/KDE4/XMLGUI_Technology#Lookup_of_.rc_files_.2F_versioning says

Usually, you supply a relative filename to KXMLGUIClient::setXML(). KDE looks for this file in a number of places (KXMLGUIClient::findMostRecentXMLFile), including in the user's home directory (see --kde4-config --path data), which is the first entry in the path. This means, ui-files can actually be overridden by the user (and among other things, this is used to save user settings such as customized toolbars or shortcuts.

References:

probonopd commented 7 years ago

It may be neccessary to deploy kxmlgui files in a Qt resource file as shown in https://git.reviewboard.kde.org/r/128193/diff/3-4/. The upstream application authors would need to do this.