From 9ad9af9f2596b91e1dd65e71543f75b0644e8283 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Mon, 27 Jun 2022 00:10:58 +0000 Subject: (From git) Initial GUI setup for text document git-svn-id: file:///home/arch/svn/epistmool/trunk@3 71f44415-077c-4ad7-a976-72ddbf76608f --- ui.qt/CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'ui.qt/CMakeLists.txt') 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 ) -- cgit v1.2.3-70-g09d2