Changes between Version 1 and Version 2 of BuildingTransmissionQtWindows


Ignore:
Timestamp:
May 29, 2009, 5:08:44 AM (14 years ago)
Author:
rb07
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingTransmissionQtWindows

    v1 v2  
    5050 * perl -pi -e 's/-fno-rtti//' Makefile.Debug Makefile.Release
    5151 * make clean &&  make release
    52  * i686-pc-mingw32-g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug/qtr.exe object_script.qtr.Debug  -L"/usr/i686-pc-mingw32/sys-root/mingw/lib" -lmingw32 -lqtmaind debug/qtr_resource_res.o ../libtransmission/libtransmission.a ../third-party/miniupnp/libminiupnp.a ../third-party/libnatpmp/libnatpmp.a ../third-party/libevent/.libs/libevent.a -L/usr/i686-pc-mingw32/sys-root/mingw/lib -lfontconfig -L/usr/i686-pc-mingw32/sys-root/mingw/lib -lcurl -L/usr/i686-pc-mingw32/sys-root/mingw/lib -lssl -lcrypto -lwsock32 -lws2_32 -lgdi32 -lz -lQtGuid4 -lQtNetworkd4 -lQtCored4 -lintl
     52 * i686-pc-mingw32-g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug/qtr.exe object_script.qtr.Debug  -L"/usr/i686-pc-mingw32/sys-root/mingw/lib" -lmingw32 -lqtmaind debug/qtr_resource_res.o ../libtransmission/libtransmission.a ../third-party/miniupnp/libminiupnp.a ../third-party/libnatpmp/libnatpmp.a ../third-party/libevent/.libs/libevent.a -L/usr/i686-pc-mingw32/sys-root/mingw/lib -lfontconfig -L/usr/i686-pc-mingw32/sys-root/mingw/lib -lcurl -L/usr/i686-pc-mingw32/sys-root/mingw/lib -lssl -lcrypto -lwsock32 -lws2_32 -lgdi32 -lz -lQtGui4 -lQtNetwork4 -lQtCore4 -lintl
    5353 * INSTALL_ROOT=/usr/i686-pc-mingw32/sys-root/mingw make release-install
    5454
     
    5757== Make the Windows installer ==
    5858
    59 I had to change the Fedora tool a little, make a backup of /usr/bin/nsiswrapper (i.e. cp /usr/bin/nsiswrapper /usr/bin/nsiswrapper.orig), then apply this patch [wiki:BuildingTransmissionQtWindows/nsiswrapper.diff]
     59I had to change the Fedora tool a little, make a backup of /usr/bin/nsiswrapper (i.e. cp /usr/bin/nsiswrapper /usr/bin/nsiswrapper.orig), then apply this patch [wiki:BuildingTransmissionQtWindows/nsiswrapper.diff]   Also, since this tool searches in a case sensitive way, it complains about dependencies that it doesn't find... I had to make a little workaround by linking the Qt libraries like this: 'ln -s /usr/i686-pc-mingw32/sys-root/mingw/bin/QtCore4.dll /usr/i686-pc-mingw32/sys-root/mingw/bin/qtcore4.dll'; do the same for !QtGui4.dll and !QtNetwork4.dll .
    6060
    6161Finally create the installer: