[umbrello-devel] [umbrello] [Bug 364120] Umbrello toolbar icons do not match diagram widgets and cursors running under "breeze" style

Oliver Kellogg via KDE Bugzilla bugzilla_noreply at kde.org
Sat Jul 9 18:25:37 UTC 2016


Oliver Kellogg <okellogg at users.sourceforge.net> changed:

           What    |Removed                     |Added
                 CC|                            |okellogg at users.sourceforge.
                   |                            |net

--- Comment #9 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
(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[])

+    Q_INIT_RESOURCE(icons);
     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(icons);

     QPointer<UMLApp> uml;
     if (app.isSessionRestored()) {

You are receiving this mail because:
You are the assignee for the bug.

More information about the umbrello-devel mailing list