localdocs

This commit is contained in:
Adam Treat
2023-05-18 18:59:10 -04:00
committed by AT
parent b36a520207
commit 7e42af5f33
7 changed files with 897 additions and 8 deletions

View File

@@ -36,7 +36,7 @@ configure_file(
"${CMAKE_CURRENT_BINARY_DIR}/config.h"
)
find_package(Qt6 6.5 COMPONENTS Core Quick QuickDialogs2 Svg HttpServer REQUIRED)
find_package(Qt6 6.5 COMPONENTS Core Quick QuickDialogs2 Svg HttpServer Sql Pdf REQUIRED)
# Get the Qt6Core target properties
get_target_property(Qt6Core_INCLUDE_DIRS Qt6::Core INTERFACE_INCLUDE_DIRECTORIES)
@@ -64,6 +64,7 @@ qt_add_executable(chat
chatgpt.h chatgpt.cpp
download.h download.cpp
network.h network.cpp
localdocs.h localdocs.cpp
llm.h llm.cpp
server.h server.cpp
sysinfo.h
@@ -124,7 +125,7 @@ endif()
target_compile_definitions(chat
PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>)
target_link_libraries(chat
PRIVATE Qt6::Quick Qt6::Svg Qt6::HttpServer)
PRIVATE Qt6::Quick Qt6::Svg Qt6::HttpServer Qt6::Sql Qt6::Pdf)
target_link_libraries(chat
PRIVATE llmodel)