diff --git a/gui/gui.pro b/gui/gui.pro index 5e1e37f..f47b052 100644 --- a/gui/gui.pro +++ b/gui/gui.pro @@ -74,3 +74,5 @@ else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../shar else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../shared/release/shared.lib else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../shared/debug/shared.lib else:unix: PRE_TARGETDEPS += $$OUT_PWD/../shared/libshared.a + +RESOURCES = ../icon.svg diff --git a/gui/main.cpp b/gui/main.cpp index ccdd996..a5b82cf 100644 --- a/gui/main.cpp +++ b/gui/main.cpp @@ -157,6 +157,7 @@ int main(int argc, char *argv[]) } // Keep this post sandbox, afterwards does not work (suspect due to threads, but unconfirmed) QApplication a(argc, argv); + a.setWindowIcon(QIcon(":/icon.svg")); qRegisterMetaType>("QVector"); qRegisterMetaType>("QVector"); diff --git a/icon.svg b/icon.svg new file mode 100644 index 0000000..064c060 --- /dev/null +++ b/icon.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + +