Add SQLite profile repository and Qt SQL dependency

This commit is contained in:
Keith Smith
2026-03-01 09:06:31 -07:00
parent 6d147894c5
commit fba7336f69
4 changed files with 203 additions and 2 deletions

View File

@@ -10,18 +10,20 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
find_package(Qt6 6.2 REQUIRED COMPONENTS Widgets)
find_package(Qt6 6.2 REQUIRED COMPONENTS Widgets Sql)
qt_standard_project_setup()
add_executable(orbithub
src/main.cpp
src/profile_repository.cpp
src/profile_repository.h
src/profiles_window.cpp
src/profiles_window.h
src/session_window.cpp
src/session_window.h
)
target_link_libraries(orbithub PRIVATE Qt6::Widgets)
target_link_libraries(orbithub PRIVATE Qt6::Widgets Qt6::Sql)
install(TARGETS orbithub RUNTIME DESTINATION bin)