diff options
author | Karl Berry <karl@freefriends.org> | 2022-02-27 23:41:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-02-27 23:41:11 +0000 |
commit | 8027f287eb46d487a0e379911bdbc4d6c2bf44e4 (patch) | |
tree | b6e3aeebab3f5c2560ae1ab892b76cca269eb05e /Master/texmf-dist/asymptote/GUI/xasy.py | |
parent | a4855ce49e2101557c17547c2d22594e1b2a215c (diff) |
asymptote 2.78 support files
git-svn-id: svn://tug.org/texlive/trunk@62265 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote/GUI/xasy.py')
-rwxr-xr-x | Master/texmf-dist/asymptote/GUI/xasy.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Master/texmf-dist/asymptote/GUI/xasy.py b/Master/texmf-dist/asymptote/GUI/xasy.py index 7a8ee9b2f71..a078690b68b 100755 --- a/Master/texmf-dist/asymptote/GUI/xasy.py +++ b/Master/texmf-dist/asymptote/GUI/xasy.py @@ -1,14 +1,15 @@ #!/usr/bin/env python3 -import sys,signal,os -import PyQt5.QtWidgets as Qw -import PyQt5.QtCore as Qc +import sys, signal, os +import PyQt5.QtWidgets as QtWidgets +import PyQt5.QtCore as QtCore from Window1 import MainWindow1 def main(args): - Qw.QApplication.setAttribute(Qc.Qt.AA_UseHighDpiPixmaps,True) - Qw.QApplication.setAttribute(Qc.Qt.AA_EnableHighDpiScaling,True) - qtApp = Qw.QApplication(args) + os.environ["QT_LOGGING_RULES"]="*.debug=false;qt.qpa.*=false" + QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps,True) + QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling,True) + qtApp = QtWidgets.QApplication(args) signal.signal(signal.SIGINT,signal.SIG_DFL) mainWin1 = MainWindow1() mainWin1.show() |