Changes between Version 1 and Version 2 of BuildingTransmissionQtWindows
- Timestamp:
- May 29, 2009, 5:08:44 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingTransmissionQtWindows
v1 v2 50 50 * perl -pi -e 's/-fno-rtti//' Makefile.Debug Makefile.Release 51 51 * 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 -lQtGui d4 -lQtNetworkd4 -lQtCored4 -lintl52 * 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 53 53 * INSTALL_ROOT=/usr/i686-pc-mingw32/sys-root/mingw make release-install 54 54 … … 57 57 == Make the Windows installer == 58 58 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] 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] 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 . 60 60 61 61 Finally create the installer: