From fcdd5e1b8487a36c4adfa665e0a39c883478b654 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周二, 07 5月 2024 15:30:37 +0800 Subject: [PATCH] Update metadata --- README.md | 23 +++-------------------- 1 files changed, 3 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 7deff56..4dc6ba7 100644 --- a/README.md +++ b/README.md @@ -65,23 +65,6 @@ ## Integrate -### 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. - ### Build & Install ```sh @@ -107,11 +90,11 @@ #### CMake Project ```sh -cmake -B build -DQWindowKit_DIR=/path/install/cmake/QWindowKit +cmake -B build -DQWindowKit_DIR=/path/install/lib/cmake/QWindowKit ``` ```cmake -find_package(QWindowKit REQUIRED) +find_package(QWindowKit COMPONENTS Core Widgets Quick REQUIRED) target_link_libraries(widgets_app PUBLIC QWindowKit::Widgets) target_link_libraries(quick_app PUBLIC QWindowKit::Quick) ``` @@ -139,7 +122,7 @@ The following initialization should be done before any widget constructs. ```cpp -#include <QWKQuick/qwkquickglobal.h> +#include <QtWidgets/QApplication> int main(int argc, char *argv[]) { -- Gitblit v1.9.1