Commit f87702f0 authored by Ingo Meyer's avatar Ingo Meyer

Merge branch 'feature-qt5_migration' into develop

parents fc7cca78 12f721aa
......@@ -40,13 +40,6 @@ def start_gui():
core.file.SEARCH_PATH = os.getcwd()
os.chdir(os.path.dirname(os.path.realpath(__file__)))
if int(QtCore.QT_VERSION_STR.split('.')[1]) >= 4: # we have at least Qt 5.4
format = QtGui.QSurfaceFormat()
format.setMajorVersion(2)
format.setMinorVersion(1)
format.setProfile(QtGui.QSurfaceFormat.CompatibilityProfile)
QtGui.QSurfaceFormat.setDefaultFormat(format)
app = QtWidgets.QApplication(sys.argv)
control = Control()
window = main_window.MainWindow(control)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment