mirror of
https://github.com/Skycoder42/QHotkey.git
synced 2026-11-19 12:49:58 +03:00
Fix invalid variable name in README.md
This commit is contained in:
committed by
Hennadii Chernyshchyk
parent
34330d6ff5
commit
308c96c28f
@@ -20,11 +20,11 @@ QHotkey supports both Qt6 and Qt5. When using Qt6, version 6.2.0 or later requir
|
|||||||
|
|
||||||
### CMake
|
### CMake
|
||||||
|
|
||||||
The CMake `QT_MAJOR` variable controls which major version of Qt is used for building, and defaults to `5`. For example, use the CMake command line option `-DQT_MAJOR=6` for building with Qt6. To build the testing application `QHotkeyTest`, specify `-DQHOTKEY_EXAMPLES=ON`. CMake example usage:
|
The CMake `QT_DEFAULT_MAJOR_VERSION` variable controls which major version of Qt is used for building, and defaults to `5`. For example, use the CMake command line option `-DQT_DEFAULT_MAJOR_VERSION=6` for building with Qt6. To build the testing application `QHotkeyTest`, specify `-DQHOTKEY_EXAMPLES=ON`. CMake example usage:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd QHotkey
|
$ cd QHotkey
|
||||||
$ cmake -B build -S . -DQT_MAJOR=6
|
$ cmake -B build -S . -DQT_DEFAULT_MAJOR_VERSION=6
|
||||||
$ cmake --build build
|
$ cmake --build build
|
||||||
# cmake --install build
|
# cmake --install build
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user