From 71def5d8aeff7442974d220b2d8e292655c086ea Mon Sep 17 00:00:00 2001 From: Andrey Kutin Date: Fri, 23 Oct 2026 21:04:10 +0300 Subject: [PATCH] fix: include auth sources and use Qt version for Sql in CMake --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 39c3647..2859ff0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,7 @@ set(PROJECT_SOURCES main.cpp widget.cpp widget.h + auth.h auth.cpp ) if(${QT_VERSION_MAJOR} GREATER_EQUAL 6) @@ -43,7 +44,7 @@ else() endif() target_link_libraries(mysitenews PRIVATE Qt${QT_VERSION_MAJOR}::Widgets - Qt6::Sql + Qt${QT_VERSION_MAJOR}::Sql ) # Qt for iOS sets MACOSX_BUNDLE_GUI_IDENTIFIER automatically since Qt 6.1.