https://bugs.kde.org/show_bug.cgi?id=364120
Oliver Kellogg <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]. | |net --- Comment #9 from Oliver Kellogg <[email protected]> --- (In reply to Ralf Habacker from comment #7) > Git commit 04d61238d73b05cfb6c63fcdbcf16059c5633c67 by Ralf Habacker. > Committed on 09/06/2016 at 21:39. > Pushed by habacker into branch 'master'. > > Fix compile error 'undefined reference to `qInitResources_icons()' on KF5 > builds. > > M +2 -1 CMakeLists.txt > > http://commits.kde.org/umbrello/04d61238d73b05cfb6c63fcdbcf16059c5633c67 FYI: Using Qt 4.8.6, I also got this unresolved symbol error on linking. The following patch fixed it for me: diff --git a/umbrello/main.cpp b/umbrello/main.cpp index 12ebd65..00da738 100644 --- a/umbrello/main.cpp +++ b/umbrello/main.cpp @@ -163,6 +163,7 @@ int main(int argc, char *argv[]) args->process(app); aboutData.processCommandLine(args); + Q_INIT_RESOURCE(icons); #else KCmdLineArgs::init(argc, argv, &aboutData); KCmdLineOptions options; @@ -175,8 +176,8 @@ int main(int argc, char *argv[]) options.add("use-folders", ki18n("keep the tree structure used to store the views in the document in the target directory")); KCmdLineArgs::addCmdLineOptions(options); // Add our own options. KApplication app; + Q_INIT_RESOURCE_EXTERN(icons); #endif - Q_INIT_RESOURCE(icons); QPointer<UMLApp> uml; if (app.isSessionRestored()) { -- You are receiving this mail because: You are watching all bug changes.
