cmake_minimum_required(VERSION 3.16) project(qqstylegenerator VERSION 0.1 LANGUAGES CXX) find_package(Qt6 6.5 REQUIRED GuiPrivate Network Quick QuickControls2 QuickControls2Private) qt_standard_project_setup() qt_add_executable(${PROJECT_NAME} src/main.cpp src/bridge.h src/bridge.cpp src/jsontools.h src/jsontools.cpp src/stylegenerator.h ) qt_add_resources(${PROJECT_NAME} "controls" PREFIX "/" FILES main.qml FigmaOptions.qml ControlsOptions.qml ExportOptions.qml Log.qml Usage.qml Generate.qml templates/ApplicationWindow.qml templates/BusyIndicator.qml templates/Button.qml templates/CheckBox.qml templates/ComboBox.qml templates/Frame.qml templates/GroupBox.qml templates/ItemDelegate.qml templates/PageIndicator.qml templates/Popup.qml templates/ProgressBar.qml templates/RadioButton.qml templates/RangeSlider.qml templates/RoundButton.qml templates/ScrollBar.qml templates/ScrollIndicator.qml templates/ScrollView.qml templates/Slider.qml templates/SpinBox.qml templates/Switch.qml templates/TabBar.qml templates/TabButton.qml templates/TextArea.qml templates/TextField.qml templates/ToolBar.qml templates/ToolButton.qml templates/ToolTip.qml templates/impl/ComboBoxPopup.qml templates/impl/PageIndicatorDelegate.qml templates/impl/StyleImage.qml config.json figma_and_qt.png figma_and_qt@2x.png background.png howto.txt ) target_link_libraries(${PROJECT_NAME} PRIVATE Qt::GuiPrivate Qt::Network Qt::Quick Qt::QuickControls2 Qt::QuickControls2Private ) target_include_directories(${PROJECT_NAME} PUBLIC src)