diff --git a/CMakeLists.txt b/CMakeLists.txt index 260f269..c33265c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,7 @@ find_package(Qt6 COMPONENTS Core Gui Widgets Multimedia REQUIRED) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTOUIC ON) +set(CMAKE_AUTORCC ON) # Add executable add_executable(${PROJECT_NAME} @@ -34,6 +35,7 @@ add_executable(${PROJECT_NAME} src/clickableslider.h src/clickableslider.cpp ${MusicGeneratorGUI_H} + res/resources.qrc ) # UI file diff --git a/res/resources.qrc b/res/resources.qrc new file mode 100644 index 0000000..43fc48c --- /dev/null +++ b/res/resources.qrc @@ -0,0 +1,5 @@ + + + xyz.uvos.aceradio.png + + diff --git a/res/xyz.uvos.aceradio.png b/res/xyz.uvos.aceradio.png index d1545de..603d014 100644 Binary files a/res/xyz.uvos.aceradio.png and b/res/xyz.uvos.aceradio.png differ diff --git a/src/MainWindow.ui b/src/MainWindow.ui index bcc014e..4767b57 100644 --- a/src/MainWindow.ui +++ b/src/MainWindow.ui @@ -13,6 +13,10 @@ Aceradio + + + :/icons/xyz.uvos.aceradio.png:/icons/xyz.uvos.aceradio.png + @@ -345,9 +349,11 @@ ClickableSlider QWidget -
clickableslider.h
+
src/clickableslider.h
- + + + diff --git a/src/main.cpp b/src/main.cpp index 5b3a511..205189f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,14 +1,12 @@ #include "MainWindow.h" #include #include +#include int main(int argc, char *argv[]) { QApplication app(argc, argv); - // Set a modern style - app.setStyle(QStyleFactory::create("Fusion")); - MainWindow window; window.show();