Skip to content

Commit 683bf7d

Browse files
authored
Merge pull request #2382 from willend/main
Repair Qt message box - we should now be on PyQt6 everywhere
2 parents f3fb956 + 8acb1ed commit 683bf7d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cmake/support/run-scripts/mccode_errmsg.bat.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
@set ERRMSG="@FLAVOR@: %*"
55

6-
@python -c "import os;import PyQt5.QtWidgets as w; app = w.QApplication(['infobox']); w.QMessageBox.information(None, 'Infobox', os.getenv('ERRMSG'))"
6+
@python -c "import os;import PyQt6.QtWidgets as w; app = w.QApplication(['infobox']); w.QMessageBox.information(None, 'Infobox', os.getenv('ERRMSG'))"

cmake/support/run-scripts/mccode_errmsg.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ export PATH=$PREFIX/@DEST_BINDIR@:$PATH
1010
ERRMSG=`echo $* | sed s/\ /\\ /g`
1111
export ERRMSG="@FLAVOR@: $ERRMSG"
1212

13-
python3 -c "import os;import PyQt5.QtWidgets as w; app = w.QApplication(['infobox']); w.QMessageBox.information(None, 'Infobox', os.getenv('ERRMSG'))"
13+
python3 -c "import os;import PyQt6.QtWidgets as w; app = w.QApplication(['infobox']); w.QMessageBox.information(None, 'Infobox', os.getenv('ERRMSG'))"

0 commit comments

Comments
 (0)