aboutsummaryrefslogtreecommitdiff
path: root/ui.qt/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'ui.qt/CMakeLists.txt')
-rw-r--r--ui.qt/CMakeLists.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/ui.qt/CMakeLists.txt b/ui.qt/CMakeLists.txt
index 7d7624a..c16e915 100644
--- a/ui.qt/CMakeLists.txt
+++ b/ui.qt/CMakeLists.txt
@@ -4,24 +4,25 @@ project(EpistmoolUI VERSION 0.1 LANGUAGES CXX)
set(CMAKE_AUTOMOC ON)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
-find_package(Qt6 6.2 COMPONENTS Quick REQUIRED)
+find_package(Qt6 6.2 COMPONENTS Widgets Quick REQUIRED)
qt_add_executable(appEpistmoolUI
source/main.cpp
source/fwd.hpp
- source/document.hpp source/document.cpp
source/knowledgefragment.hpp source/knowledgefragment.cpp
source/keyword.hpp source/keyword.cpp
)
-
qt_add_qml_module(appEpistmoolUI
URI EpistmoolUI
VERSION 1.0
+ SOURCES
+ source/document.hpp source/document.cpp
QML_FILES
source/qml/MainWindow.qml
- source/qml/GoToKnowledge.qml
+ source/qml/Navigator.qml
source/qml/Document.qml
+ source/qml/GoToKnowledge.qml
)
set_target_properties(appEpistmoolUI PROPERTIES
@@ -39,5 +40,6 @@ PRIVATE
)
target_link_libraries(appEpistmoolUI
PRIVATE
+ Qt6::Widgets
Qt6::Quick
)