mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-23 12:57:45 +00:00
Fix the QML registration static lib post-refactor
This commit is contained in:
parent
7ba1d4459e
commit
9876cb0aab
1 changed files with 7 additions and 6 deletions
|
@ -3,6 +3,10 @@
|
||||||
|
|
||||||
add_library(astra_static STATIC)
|
add_library(astra_static STATIC)
|
||||||
|
|
||||||
|
qt_add_qml_module(astra_static
|
||||||
|
URI zone.xiv.astra
|
||||||
|
VERSION 1.0)
|
||||||
|
|
||||||
ecm_qt_declare_logging_category(astra_static
|
ecm_qt_declare_logging_category(astra_static
|
||||||
HEADER astra_log.h
|
HEADER astra_log.h
|
||||||
IDENTIFIER ASTRA_LOG
|
IDENTIFIER ASTRA_LOG
|
||||||
|
@ -120,10 +124,6 @@ endif()
|
||||||
|
|
||||||
add_executable(astra)
|
add_executable(astra)
|
||||||
|
|
||||||
qt_add_qml_module(astra
|
|
||||||
URI zone.xiv.astra
|
|
||||||
VERSION 1.0)
|
|
||||||
|
|
||||||
target_sources(astra PRIVATE
|
target_sources(astra PRIVATE
|
||||||
include/logger.h
|
include/logger.h
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ target_sources(astra PRIVATE
|
||||||
src/main.cpp
|
src/main.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
qt_target_qml_sources(astra
|
qt_target_qml_sources(astra_static
|
||||||
QML_FILES
|
QML_FILES
|
||||||
ui/Components/FormFileDelegate.qml
|
ui/Components/FormFileDelegate.qml
|
||||||
ui/Components/FormFolderDelegate.qml
|
ui/Components/FormFolderDelegate.qml
|
||||||
|
@ -165,7 +165,7 @@ set_source_files_properties(../zone.xiv.astra.svg PROPERTIES
|
||||||
QT_RESOURCE_ALIAS /zone.xiv.astra.svg
|
QT_RESOURCE_ALIAS /zone.xiv.astra.svg
|
||||||
)
|
)
|
||||||
|
|
||||||
qt_target_qml_sources(astra
|
qt_target_qml_sources(astra_static
|
||||||
PREFIX /
|
PREFIX /
|
||||||
RESOURCES
|
RESOURCES
|
||||||
../zone.xiv.astra.svg
|
../zone.xiv.astra.svg
|
||||||
|
@ -173,6 +173,7 @@ qt_target_qml_sources(astra
|
||||||
|
|
||||||
target_link_libraries(astra PRIVATE
|
target_link_libraries(astra PRIVATE
|
||||||
astra_static
|
astra_static
|
||||||
|
astra_staticplugin
|
||||||
physis-logger
|
physis-logger
|
||||||
KDAB::kdsingleapplication
|
KDAB::kdsingleapplication
|
||||||
Qt6::Widgets
|
Qt6::Widgets
|
||||||
|
|
Loading…
Add table
Reference in a new issue