diff --git a/CMakeLists.txt b/CMakeLists.txt index 0562a733..45f49348 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,7 @@ find_package(Qt6 REQUIRED COMPONENTS Widgets Network Multimedia + QuickControls2 ) find_package(OpenSSL) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c5ae4bc5..6fdd8a9f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -77,4 +77,5 @@ target_link_libraries(FreeKill PRIVATE Qt6::Widgets Qt6::Network Qt6::Multimedia + Qt6::QuickControls2 ) diff --git a/src/main.cpp b/src/main.cpp index 07865fc2..c54da763 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #if defined(Q_OS_ANDROID) || defined(Q_OS_WASM) static bool copyPath(const QString &srcFilePath, const QString &tgtFilePath) @@ -137,6 +138,7 @@ int main(int argc, char *argv[]) SHOW_SPLASH_MSG("Loading qml files..."); QQmlApplicationEngine *engine = new QQmlApplicationEngine; + QQuickStyle::setStyle("Material"); QmlBackend backend; backend.setEngine(engine);