mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-25 18:56:34 +03:00
Add back CONFIG += link_pkgconfig or it causes crashes
This commit is contained in:
parent
e4006d6175
commit
358f7d16da
2 changed files with 3 additions and 2 deletions
|
@ -76,6 +76,7 @@ void downloadThread::processDlFinished(QNetworkReply* reply) {
|
||||||
filePath = tmpfile.fileName();
|
filePath = tmpfile.fileName();
|
||||||
qDebug("Temporary filename is: %s", filePath.toLocal8Bit().data());
|
qDebug("Temporary filename is: %s", filePath.toLocal8Bit().data());
|
||||||
if(reply->open(QIODevice::ReadOnly)) {
|
if(reply->open(QIODevice::ReadOnly)) {
|
||||||
|
// TODO: Support GZIP compression
|
||||||
tmpfile.write(reply->readAll());
|
tmpfile.write(reply->readAll());
|
||||||
reply->close();
|
reply->close();
|
||||||
tmpfile.close();
|
tmpfile.close();
|
||||||
|
|
|
@ -103,8 +103,8 @@ contains(DEFINES, DISABLE_GUI) {
|
||||||
# QMAKE_CXXFLAGS_RELEASE += -fwrapv
|
# QMAKE_CXXFLAGS_RELEASE += -fwrapv
|
||||||
# QMAKE_CXXFLAGS_DEBUG += -fwrapv
|
# QMAKE_CXXFLAGS_DEBUG += -fwrapv
|
||||||
unix:QMAKE_LFLAGS_SHAPP += -rdynamic
|
unix:QMAKE_LFLAGS_SHAPP += -rdynamic
|
||||||
#CONFIG += link_pkgconfig
|
CONFIG += link_pkgconfig
|
||||||
#PKGCONFIG += "libtorrent-rasterbar"
|
PKGCONFIG += "libtorrent-rasterbar"
|
||||||
QT += network
|
QT += network
|
||||||
!contains(DEFINES, DISABLE_GUI) {
|
!contains(DEFINES, DISABLE_GUI) {
|
||||||
QT += xml
|
QT += xml
|
||||||
|
|
Loading…
Reference in a new issue