aboutsummaryrefslogtreecommitdiff
path: root/ui.qt/CMakeLists.txt
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-06-27 00:10:58 +0000
committerrtk0c <[email protected]>2022-06-27 00:10:58 +0000
commit9ad9af9f2596b91e1dd65e71543f75b0644e8283 (patch)
treef8190a9314a7602872de3b4910bac1a5201d0466 /ui.qt/CMakeLists.txt
parent753c26d320e894069157bd401f7779ad07073d7c (diff)
(From git) Initial GUI setup for text document
git-svn-id: file:///home/arch/svn/epistmool/trunk@3 71f44415-077c-4ad7-a976-72ddbf76608f
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
)