mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-02 05:38:06 -06:00
Enable backtrace stuff only if GNU C library used, because current backtrace implementation based on <execinfo.h> , which is not a part of standard C library, it is a GNU extension. This will be usefull when building with custom POSIX-compilant C library (like musl) and no <execinfo.h> available. Note: configure script will detect presence of <execinfo.h> and enable/disable feature depending on it. Feature is enabled by default.
43 lines
834 B
Plaintext
43 lines
834 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/stacktrace_win_dlg.h
|
|
FORMS += $$PWD/stacktrace_win_dlg.ui
|
|
}
|
|
}
|
|
}
|
|
|
|
# upgrade code
|
|
HEADERS += $$PWD/upgrade.h
|