Add QT_DEFAULT_MAJOR_VERSION for singleapplication
This commit is contained in:
parent
c3fd8eb2dd
commit
cb461f52ab
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ find_package(Qt6 COMPONENTS Widgets Network PrintSupport CONFIG REQUIRED)
|
|||
|
||||
# For SingleApplication:
|
||||
#find_package(Qt5Network CONFIG REQUIRED)
|
||||
set(QT_DEFAULT_MAJOR_VERSION 6 CACHE STRING "Qt version to use, defaults to 6")
|
||||
set(QAPPLICATION_CLASS QApplication)
|
||||
add_compile_definitions(QAPPLICATION_CLASS=${QAPPLICATION_CLASS})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue