--- C:/code/py2.5.1/PyQt-win-gpl-4.3.3-orig/configure.py	Wed Dec 05 17:38:28 2007
+++ C:/code/py2.5.1/PyQt-win-gpl-4.3.3/configure.py	Fri Feb 15 14:31:56 2008
@@ -1457,8 +1457,12 @@
     qmake_args = fix_qmake_args("-o " + make_file)
 
     if sys.platform == "win32":
-        exe_file = os.path.join("release", app + ".exe")
-        make_target = " release"
+        if opts.debug :
+            exe_file = os.path.join("debug", app + ".exe")
+            make_target = " debug"
+        else :
+            exe_file = os.path.join("release", app + ".exe")
+            make_target = " release"
     elif sys.platform == "darwin":
         exe_file = os.path.join(app + ".app", "Contents", "MacOS", app)
     else:
