- Added debug in UPnP

- Started to rewrite qBT's own UPnP support instead of using aMule CVS code : (not usable yet)
This commit is contained in:
Christophe Dumez
2007-03-28 21:59:21 +00:00
parent e8e40c7bcf
commit 78916bba41
7 changed files with 166 additions and 54 deletions

View File

@@ -28,6 +28,7 @@ contains(DEBUG_MODE, 0){
QMAKE_CXXFLAGS_RELEASE += -fwrapv
QMAKE_CXXFLAGS_DEBUG += -fwrapv
#LIBS += -lcurl
LIBS += -lupnp
#CONFIG += link_pkgconfig
#PKGCONFIG += libtorrent
QT += network
@@ -129,8 +130,8 @@ SOURCES += GUI.cpp \
searchEngine.cpp
!contains(DEFINES, NO_UPNP){
message(UPnP Enabled)
HEADERS += UPnP.h
SOURCES += UPnP.cpp
HEADERS += UPnP.h upnp.h
SOURCES += UPnP.cpp upnp.cpp
}else{
message(UPnP Disabled)
}