diff --git a/CMakeLists.txt b/CMakeLists.txt index 4477c4c..43652c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,6 +36,8 @@ qt_add_qml_module(appscheincommander URI scheincommander VERSION 1.0 RESOURCES + scheincommander.png + scheincommander.ico icons/movinghead.png icons/nebelmaschine.png icons/rgbstrahler.png diff --git a/main.cpp b/main.cpp index 58b5a61..b335139 100644 --- a/main.cpp +++ b/main.cpp @@ -3,6 +3,7 @@ #include #include #include +#include #include "dmxcontroller.h" #include "scheincommandersettings.h" @@ -31,6 +32,9 @@ int main(int argc, char *argv[]) QCoreApplication::setApplicationVersion(STR(CMAKE_PROJECT_VERSION)); QGuiApplication app{argc, argv}; + QIcon icon{":/scheincommander/scheincommander.png"}; + qDebug() << icon.availableSizes(); + app.setWindowIcon(icon); QCommandLineParser parser; parser.addHelpOption(); diff --git a/scheincommander.ico b/scheincommander.ico new file mode 100644 index 0000000..db5837b Binary files /dev/null and b/scheincommander.ico differ diff --git a/scheincommander.png b/scheincommander.png new file mode 100644 index 0000000..745d6da Binary files /dev/null and b/scheincommander.png differ