Merge branch 'master' into qt6_cmake_joshua

This commit is contained in:
joshua
2026-07-31 21:15:21 +02:00
parent f16cf7dac8
commit e6d29cf345
297 changed files with 82691 additions and 27463 deletions
+21
View File
@@ -59,6 +59,13 @@ find_package(
${QET_COMPONENTS}
REQUIRED)
# Qt6-only: the tests link ${QET_PRIVATE_LIBRARIES}, which contains
# Qt::GuiPrivate; Qt6 only creates that target when the component is
# explicitly requested (Qt5 creates it implicitly and has no such package).
if(QT_VERSION_MAJOR GREATER_EQUAL 6)
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS GuiPrivate)
endif()
Include(FetchContent)
FetchContent_Declare(
@@ -83,6 +90,20 @@ add_executable(
${QET_DIR}/sources/borderproperties.h
)
if(NOT BUILD_WITH_KF5)
target_sources(
${PROJECT_NAME}
PRIVATE
src/kautosavefile_test.cpp
${QET_DIR}/sources/ui/nokde/kautosavefile.cpp
)
target_include_directories(
${PROJECT_NAME}
PRIVATE
${QET_DIR}/sources/ui/nokde
)
endif()
target_link_libraries(
${PROJECT_NAME}
PUBLIC