Index: myththemes.pro
===================================================================
--- myththemes.pro	(revision 17285)
+++ myththemes.pro	(working copy)
@@ -16,3 +16,24 @@
 
 # Input
 SOURCES += dummy.c
+
+isEmpty(TARGET_OS) : win32 {
+    CONFIG += mingw
+    DEFINES += USING_MINGW USING_WINAUDIO USING_D3D USING_DIRECTX
+    DEFINES -= UNICODE
+    QMAKE_EXTENSION_SHLIB = dll
+    VERSION =
+    CONFIG_OPENGL_LIBS =
+    # Qt4 creates separate compile directories by default. This disables:
+    CONFIG -= debug_and_release debug_and_release_target
+    # win32-packager.pl builds Qt under DOS, but MythTV is built in MinGW.
+    # This corrects the moc tool path from a DOS-style to a unix style:
+    QMAKE_MOC = $$[QT_INSTALL_BINS]/moc
+    QMAKE_MKDIR		= mkdir -p
+    QMAKE_INSTALL_DIR = sh ./cpsvndir
+    QMAKE_COPY_DIR= sh ./cpsvndir
+    DEPENDS += ./
+	QMAKE_SH=sh
+	QMAKE_MKDIR		= mkdir -p
+
+}

