mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 14:57:52 +00:00
43 lines
830 B
Plaintext
43 lines
830 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 \
|
|
$$PWD/cmdoptions.h \
|
|
$$PWD/filelogger.h
|
|
|
|
SOURCES += \
|
|
$$PWD/application.cpp \
|
|
$$PWD/cmdoptions.cpp \
|
|
$$PWD/filelogger.cpp \
|
|
$$PWD/main.cpp
|
|
|
|
stacktrace {
|
|
unix {
|
|
HEADERS += $$PWD/stacktrace.h
|
|
}
|
|
else {
|
|
HEADERS += $$PWD/stacktrace_win.h
|
|
!nogui {
|
|
HEADERS += $$PWD/stacktracedialog.h
|
|
FORMS += $$PWD/stacktracedialog.ui
|
|
}
|
|
}
|
|
}
|
|
|
|
# upgrade code
|
|
HEADERS += $$PWD/upgrade.h
|