mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07:00
Fix project file to support the new qtsinglecoreapplication.prf
This commit is contained in:
parent
e83f9245a9
commit
e2cdbbb184
1 changed files with 5 additions and 1 deletions
|
@ -348,7 +348,11 @@ contains(DEFINES, DISABLE_GUI) {
|
||||||
|
|
||||||
contains(DEFINES, USE_SYSTEM_QTSINGLEAPPLICATION) {
|
contains(DEFINES, USE_SYSTEM_QTSINGLEAPPLICATION) {
|
||||||
message("Using the system's qtsingleapplication library")
|
message("Using the system's qtsingleapplication library")
|
||||||
|
contains(DEFINES, DISABLE_GUI) {
|
||||||
|
CONFIG += qtsinglecoreapplication
|
||||||
|
} else {
|
||||||
CONFIG += qtsingleapplication
|
CONFIG += qtsingleapplication
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
message("Using the shipped qtsingleapplication library")
|
message("Using the shipped qtsingleapplication library")
|
||||||
contains(DEFINES, DISABLE_GUI) {
|
contains(DEFINES, DISABLE_GUI) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue