From 6002cd46a2c5a1c2c4afdbf8e491e76f68b9bfd8 Mon Sep 17 00:00:00 2001 From: Zhao Yuhang <2546789017@qq.com> Date: 周一, 27 5月 2024 23:21:25 +0800 Subject: [PATCH] Improve fixed width/height/size hit testing --- CMakeLists.txt | 27 ++++++++++++++++++++++++++- 1 files changed, 26 insertions(+), 1 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0703977..ba12076 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,31 @@ option(QWINDOWKIT_ENABLE_WINDOWS_SYSTEM_BORDERS "Enable system borders on Windows" ON) option(QWINDOWKIT_ENABLE_STYLE_AGENT "Enable building style agent" ON) +#[[ + +Detailed Introcuction to Configure Options: + +`QWINDOWKIT_BUILD_DOCUMENTATIONS` + - If you have installed `Doxygen`, you can ENABLE this option so that the documentations + will also be built and installed. + - If not, you can read the comments in `qdoc` style in `cpp` files to get detailed usages + of the public APIs. + +`QWINDOWKIT_ENABLE_WINDOWS_SYSTEM_BORDERS` + - If you don't want the system borders on Windows 10/11, you can DISABLE this option. + - If so, the Windows 10 top border issue will disappear. However, part of the client edge + area will be occupied as the resizing margins. + +`QWINDOWKIT_ENABLE_QT_WINDOW_CONTEXT` + - If you want to use pure Qt emulated frameless implementation, you can ENABLE this option. + - If so, all system native features will be lost. + +`QWINDOWKIT_ENABLE_STYLE_AGENT` + - Select whether to exclude the style component by DISABLING this option according to your + requirements and your Qt version. + +#]] + # ---------------------------------- # CMake Settings # ---------------------------------- @@ -54,7 +79,7 @@ set(_source_dir ${CMAKE_CURRENT_SOURCE_DIR}/qmsetup) # Import install function - include("${_source_dir}/cmake/modules/InstallPackage.cmake") + include("${_source_dir}/cmake/modules/private/InstallPackage.cmake") # Install package in place set(_package_path) -- Gitblit v1.9.1