mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-04 22:52:33 -06:00
Application process message and split it into params list itself (this prevents code duplication). Application store params unless other components ready to process them. Application incapsulate all QMacApplication and SessionApplication logic (this is too small to have separate classes).
30 lines
624 B
Plaintext
30 lines
624 B
Plaintext
INCLUDEPATH += $$PWD
|
|
|
|
usesystemqtsingleapplication {
|
|
nogui {
|
|
CONFIG += qtsinglecoreapplication
|
|
} else {
|
|
CONFIG += qtsingleapplication
|
|
}
|
|
} else {
|
|
nogui {
|
|
include(qtsingleapplication/qtsinglecoreapplication.pri)
|
|
} else {
|
|
include(qtsingleapplication/qtsingleapplication.pri)
|
|
}
|
|
}
|
|
|
|
HEADERS += $$PWD/application.h
|
|
SOURCES += $$PWD/application.cpp
|
|
|
|
unix: HEADERS += $$PWD/stacktrace.h
|
|
strace_win {
|
|
HEADERS += $$PWD/stacktrace_win.h
|
|
!nogui {
|
|
HEADERS += $$PWD/stacktrace_win_dlg.h
|
|
FORMS += $$PWD/stacktrace_win_dlg.ui
|
|
}
|
|
}
|
|
|
|
SOURCES += $$PWD/main.cpp
|