This commit is contained in:
2023-03-03 20:30:50 +01:00
parent 38203d1653
commit 0fcc2a3ab8
4 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -3,6 +3,7 @@
#include <QQmlApplicationEngine>
#include <QQmlContext>
#include <QDebug>
#include <QIcon>
#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();

BIN
scheincommander.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
scheincommander.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB