Browse Source

Merge pull request #4824 from starius/mxe-compat

compatibility with MXE
adaptive-webui-19844
sledgehammer999 9 years ago
parent
commit
8b559a8b51
  1. 2
      configure
  2. 2
      configure.ac
  3. 18
      winconf-mingw.pri
  4. 4
      winconf.pri

2
configure vendored

@ -8345,7 +8345,7 @@ fi @@ -8345,7 +8345,7 @@ fi
$as_echo "$as_me: Running qmake to generate the makefile..." >&6;}
CONFDIR="$( cd "$( dirname "$0" )" && pwd )"
$QT_QMAKE -r $CONFDIR/qbittorrent.pro
$QT_QMAKE -r $CONFDIR/qbittorrent.pro "QMAKE_LRELEASE=$QMAKE_LRELEASE"
ret="$?"

2
configure.ac

@ -261,7 +261,7 @@ AS_IF([test "x$enable_systemd" = "xyes"], @@ -261,7 +261,7 @@ AS_IF([test "x$enable_systemd" = "xyes"],
AC_MSG_NOTICE([Running qmake to generate the makefile...])
CONFDIR="$( cd "$( dirname "$0" )" && pwd )"
$QT_QMAKE -r [$CONFDIR]/qbittorrent.pro
$QT_QMAKE -r [$CONFDIR]/qbittorrent.pro "QMAKE_LRELEASE=$QMAKE_LRELEASE"
ret="$?"

18
winconf-mingw.pri

@ -22,17 +22,17 @@ RC_FILE = qbittorrent_mingw.rc @@ -22,17 +22,17 @@ RC_FILE = qbittorrent_mingw.rc
# Adapt the lib names/versions accordingly
CONFIG(debug, debug|release) {
LIBS += libtorrent \
libboost_system-mgw45-mt-d-1_47 \
libboost_filesystem-mgw45-mt-d-1_47 \
libboost_thread-mgw45-mt-d-1_47
LIBS += libtorrent-rasterbar \
libboost_system-mt \
libboost_filesystem-mt \
libboost_thread_win32-mt
} else {
LIBS += libtorrent \
libboost_system-mgw45-mt-1_47 \
libboost_filesystem-mgw45-mt-1_47 \
libboost_thread-mgw45-mt-1_47
LIBS += libtorrent-rasterbar \
libboost_system-mt \
libboost_filesystem-mt \
libboost_thread_win32-mt
}
LIBS += libadvapi32 libshell32 libuser32
LIBS += libcrypto.dll libssl.dll libwsock32 libws2_32 libz libiconv.dll
LIBS += libcrypto libssl libwsock32 libws2_32 libz libiconv
LIBS += libpowrprof

4
winconf.pri

@ -12,7 +12,7 @@ INCLUDEPATH += $$quote(C:/qBittorrent/openssl/include) @@ -12,7 +12,7 @@ INCLUDEPATH += $$quote(C:/qBittorrent/openssl/include)
# Point this to the boost lib folder
LIBS += $$quote(-LC:/qBittorrent/boost_1_51_0/stage/lib)
# Point this to the libtorrent lib folder
LIBS += $$quote(-LC:/qBittorrent/RC_0_16/bin/<path-according-to-the-build-options-chosen>)
LIBS += $$quote(-LC:/qBittorrent/RC_0_16/bin/path-according-to-the-build-options-chosen)
# Point this to the zlib lib folder
LIBS += $$quote(-LC:/qBittorrent/Zlib/lib)
# Point this to the openssl lib folder
@ -53,7 +53,7 @@ CONFIG(debug, debug|release) { @@ -53,7 +53,7 @@ CONFIG(debug, debug|release) {
# Enable backtrace support
CONFIG += strace_win
win32-g++ {
win32-g++* {
include(winconf-mingw.pri)
}
else {

Loading…
Cancel
Save