Browse Source

- use PKGCONFIG again for libtorrent in configure

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
59c6f469a0
  1. 2
      configure
  2. 2
      qcm/libtorrent.qcm
  3. 4
      src/src.pro

2
configure vendored

@ -370,7 +370,7 @@ public: @@ -370,7 +370,7 @@ public:
if(!found) return false;
conf->addLib(QString("-L") + s);
}
conf->addLib("-ltorrent");
//conf->addLib("-ltorrent");
return true;
}
};

2
qcm/libtorrent.qcm

@ -56,7 +56,7 @@ public: @@ -56,7 +56,7 @@ public:
if(!found) return false;
conf->addLib(QString("-L") + s);
}
conf->addLib("-ltorrent");
//conf->addLib("-ltorrent");
return true;
}
};

4
src/src.pro

@ -28,8 +28,8 @@ contains(DEBUG_MODE, 0){ @@ -28,8 +28,8 @@ contains(DEBUG_MODE, 0){
QMAKE_CXXFLAGS_RELEASE += -fwrapv
QMAKE_CXXFLAGS_DEBUG += -fwrapv
#LIBS += -lcurl -lupnp
#CONFIG += link_pkgconfig
#PKGCONFIG += libtorrent
CONFIG += link_pkgconfig
PKGCONFIG += libtorrent
QT += network xml
DEFINES += QT_NO_CAST_TO_ASCII

Loading…
Cancel
Save