diff --git a/launcher/CMakeLists.txt b/launcher/CMakeLists.txt index edae1ab..947cba9 100644 --- a/launcher/CMakeLists.txt +++ b/launcher/CMakeLists.txt @@ -40,7 +40,9 @@ target_sources(astra PRIVATE src/squareboot.cpp src/squarelauncher.cpp src/steamapi.cpp - src/utility.cpp) + src/utility.cpp +) + qt_target_qml_sources(astra QML_FILES ui/Components/FormFileDelegate.qml @@ -68,12 +70,12 @@ qt_target_qml_sources(astra ui/Setup/SetupPage.qml ui/Main.qml ) + kconfig_add_kcfg_files(astra GENERATE_MOC config.kcfgc accountconfig.kcfgc profileconfig.kcfgc) target_include_directories(astra PRIVATE include ${CMAKE_BINARY_DIR}) target_link_libraries(astra PRIVATE physis cotp - crypto QuaZip::QuaZip Qt6Keychain::Qt6Keychain Qt6::Core @@ -127,7 +129,7 @@ endif () install(TARGETS astra ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS}) if (WIN32) - get_target_property(QMAKE_EXE Qt5::qmake IMPORTED_LOCATION) + get_target_property(QMAKE_EXE Qt6::qmake IMPORTED_LOCATION) get_filename_component(QT_BIN_DIR "${QMAKE_EXE}" DIRECTORY) find_program(WINDEPLOYQT_ENV_SETUP qtenv2.bat HINTS "${QT_BIN_DIR}")