prepare Arch and Path workbench for Qt5

This commit is contained in:
wmayer
2017-09-21 14:57:20 +02:00
parent 00e7c0f2cb
commit cb494198f0

View File

@@ -916,7 +916,8 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
"#QCoreApplication.CodecForTr=0\n"
"#QCoreApplication.UnicodeUTF8=1\n")
file(WRITE ${CMAKE_BINARY_DIR}/bin/PySide/QtGui.py "from PySide2.QtGui import *\n"
"from PySide2.QtWidgets import *\n")
"from PySide2.QtWidgets import *\n"
"QHeaderView.setResizeMode = QHeaderView.setSectionResizeMode\n")
file(WRITE ${CMAKE_BINARY_DIR}/bin/PySide/QtSvg.py "from PySide2.QtSvg import *\n")
if(APPLE)