diff --git a/changlog.md b/changlog.md index 8f7ba58..349549b 100644 --- a/changlog.md +++ b/changlog.md @@ -1,5 +1,10 @@ # 版本记录(change log): +## 2024-02-07 -> 2.0.3 +- 调整SAColorToolButton的实现,使之更简单 +- 修正qwk库引入的cmake +- 调整文档 + ## 2024-02-07 -> 2.0.2 - 修正SARibbonSystemButtonBar的编码问题,可能会导致vs下无法编译成功 - SARibbonContextCategory的标签颜色调整 diff --git a/readme.md b/readme.md index 4b54a1c..5c12801 100644 --- a/readme.md +++ b/readme.md @@ -108,29 +108,7 @@ git submodule update --init --recursive ## Compile to dynamic libraries -### qmake - -Use Qt Creator to open `SARibbon.pro` directly, compile it, and the SARibbonBar library and examples will be compiled, and the lib and example directories are located in the `bin_qt{Qt version}_{MSVC/GNU}_x{32/64}` directory - -> Libraries compiled in debug mode are distinguished by a 'd' after the end - -### cmake - -Use Qt Creator or visual studio to open `src/CMakeLists.txt` compilation - -```cmake -mkdir build -cd build -cmake -DCMAKE_PREFIX_PATH={YOUR_QT_SDK_DIR_PATH} -DCMAKE_INSTALL_PREFIX={WHERE_YOU_WANT_TO_INSTALL} -DCMAKE_BUILD_TYPE=Release -cmake --build . --config Release --target all --parallel -cmake --install . --config Release --strip -``` - -{YOUR_QT_SDK_DIR_PATH} is the directory of your qtsdk, something like `D:Qt5.14.2msvc2017_64` - -{WHERE_YOU_WANT_TO_INSTALL} is your installation directory - - +For the detailed build process, refer to the document: [Building SARibbon](./doc/how-to-build.md) ## Embedding SARibbon directly into the project diff --git a/src/SARibbonBar/SARibbonGlobal.h b/src/SARibbonBar/SARibbonGlobal.h index 7a96e39..ef4062e 100644 --- a/src/SARibbonBar/SARibbonGlobal.h +++ b/src/SARibbonBar/SARibbonGlobal.h @@ -24,7 +24,7 @@ * @def ribbon的数字版本 MAJ.MIN.{PAT} */ #ifndef SA_RIBBON_BAR_VERSION_PAT -#define SA_RIBBON_BAR_VERSION_PAT 2 +#define SA_RIBBON_BAR_VERSION_PAT 3 #endif #ifndef SA_RIBBON_BAR_NO_EXPORT