mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-08 21:04:26 +00:00
Fix Web UI in nox
This commit is contained in:
parent
ca10c0ab09
commit
a451cf2d5f
@ -237,6 +237,7 @@ void HttpConnection::respond() {
|
||||
QFile file(url);
|
||||
if(!file.open(QIODevice::ReadOnly))
|
||||
{
|
||||
qDebug("File %s was not found!", qPrintable(url));
|
||||
respondNotFound();
|
||||
return;
|
||||
}
|
||||
|
@ -142,8 +142,9 @@ macx {
|
||||
contains(DEFINES, DISABLE_GUI) {
|
||||
QT = core
|
||||
TARGET = qbittorrent-nox
|
||||
} else {
|
||||
TARGET = qbittorrent
|
||||
}
|
||||
else:TARGET = qbittorrent
|
||||
|
||||
# QMAKE_CXXFLAGS_RELEASE += -fwrapv
|
||||
# QMAKE_CXXFLAGS_DEBUG += -fwrapv
|
||||
@ -210,6 +211,7 @@ os2:LIBS += -ltorrent-rasterbar \
|
||||
message("On Mac OS X, GeoIP database must be embedded.")
|
||||
}
|
||||
unix:!macx:contains(DEFINES, WITH_GEOIP_EMBEDDED):message("You chose to embed GeoIP database in qBittorrent executable.")
|
||||
}
|
||||
|
||||
# Resource files
|
||||
RESOURCES = icons.qrc \
|
||||
@ -228,8 +230,8 @@ RESOURCES = icons.qrc \
|
||||
DEFINES -= WITH_GEOIP_EMBEDDED
|
||||
error("GeoIP.dat was not found in src/geoip/ folder, please follow instructions in src/geoip/README.")
|
||||
}
|
||||
}
|
||||
else:message("GeoIP database will not be embedded in qBittorrent executable.")
|
||||
} else {
|
||||
message("GeoIP database will not be embedded in qBittorrent executable.")
|
||||
}
|
||||
|
||||
# Translations
|
||||
|
Loading…
x
Reference in New Issue
Block a user