diff --git a/configure b/configure index 50da9c316..1ece61fd6 100755 --- a/configure +++ b/configure @@ -370,7 +370,7 @@ public: if(!found) return false; conf->addLib(QString("-L") + s); } - conf->addLib("-ltorrent"); + //conf->addLib("-ltorrent"); return true; } }; diff --git a/qcm/libtorrent.qcm b/qcm/libtorrent.qcm index a5299703f..80c3c0f41 100644 --- a/qcm/libtorrent.qcm +++ b/qcm/libtorrent.qcm @@ -56,7 +56,7 @@ public: if(!found) return false; conf->addLib(QString("-L") + s); } - conf->addLib("-ltorrent"); + //conf->addLib("-ltorrent"); return true; } }; diff --git a/src/src.pro b/src/src.pro index 88c2af4be..11bb523d8 100644 --- a/src/src.pro +++ b/src/src.pro @@ -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