Blob Blame History Raw
diff -rupN PyQt5_gpl-5.9/configure.py PyQt5_gpl-5.9-new/configure.py
--- PyQt5_gpl-5.9/configure.py	2017-07-12 10:47:29.155073950 +0200
+++ PyQt5_gpl-5.9-new/configure.py	2017-07-12 10:47:20.524091990 +0200
@@ -2441,7 +2441,7 @@ def generate_sip_module_code(target_conf
                 os.path.join('QtCore', 'qpycore_post_init.cpp'))
 
         for line in in_f:
-            line = line.replace('@@PYQT_SIP_FLAGS@@', sip_flags)
+            line = line.replace('@@PYQT_SIP_FLAGS@@', sip_flags.replace("WS_X11", "WS_WIN"))
             out_f.write(line)
 
         in_f.close()