--- mkspecs/win32-g++-4.6/qmake.orig	2012-09-11 11:36:35 +1000
+++ mkspecs/win32-g++-4.6/qmake.conf	2012-09-15 22:01:19 +1000
@@ -1,3 +1,5 @@
 include(../win32-g++/qmake.conf)
-QMAKE_CFLAGS *= -fno-keep-inline-dllexport
-QMAKE_CXXFLAGS *= -fno-keep-inline-dllexport
+QMAKE_CFLAGS *= -fno-keep-inline-dllexport -m64
+QMAKE_CXXFLAGS *= -fno-keep-inline-dllexport -m64
+QMAKE_LFLAGS *= -shared-libgcc -m64
+QMAKE_RC = windres -F pe-x86-64
\ No newline at end of file
