Skip to content

Commit

Permalink
Attempt to fix Github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
herzenschein committed Jun 10, 2024
1 parent c005750 commit 24c8136
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion qml6-pragmasingleton/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ project(qml6-pragmasingleton LANGUAGES CXX)

# We need to find Qt before we can use
# the new Qt CMake API
find_package(Qt6 REQUIRED COMPONENTS Quick)
find_package(Qt6 REQUIRED COMPONENTS Quick Qml)

# Autoconfigures AUTOMOC, AUTORCC, AUTOUIC etc.
qt_standard_project_setup()
Expand All @@ -31,6 +31,7 @@ qt_add_qml_module(${PROJECT_NAME}
target_link_libraries(${PROJECT_NAME}
PRIVATE
Qt6::Quick
Qt6::Qml
pragmasingleton-dialogs
pragmasingleton-singletons
)
Expand Down
2 changes: 1 addition & 1 deletion qml6-pragmasingleton/qml/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This is the only requirement to mark a QML file as a singleton.
set_source_files_properties(PragmaSingleton.qml PROPERTIES QT_QML_SINGLETON_TYPE ON)

add_library(pragmasingleton-dialogs)
qt_add_library(pragmasingleton-dialogs)

qt_add_qml_module(pragmasingleton-dialogs
URI "com.example.pragmasingleton.dialogs"
Expand Down

0 comments on commit 24c8136

Please sign in to comment.