Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
6.5.2
-
Microsoft Windows XP [Version 5.1.2600], Python 2.7.2
Description
This was edited by ctismer:
The content mentioned here is not interesting. The fact that PySide2 simply crashes
when you forget to create QApplication is the error where I re-targeted this.
---------------------------------------------------------------------
The following code crashes :
from PySide.QtGui import * QFontDatabase.addApplicationFont("/WINDOWS/Fonts/verdana.ttf")
I've tried with another font same result. I've tried addApplicationFontFromData and it crashes as well. Double-checked that the font file exists.
Will give it a try on Linux soon.
Stefan
Attachments
Issue Links
- depends on
-
PYSIDE-510 Implement introspection feature for PySide functions
- Closed
- duplicates
-
PYSIDE-1451 most simple application does "Aborted (core dumped)"
- Closed
- is duplicated by
-
PYSIDE-325 Creating a QWidget without a QApplication causes Python interpreter to quit.
- Closed
Gerrit Reviews
For Gerrit Dashboard: PYSIDE-156 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
189004,3 | Fix qApp: less crashes when qApp is not initialised | dev | pyside/pyside-setup | Status: ABANDONED | -2 | 0 |
293221,1 | Add error message for addApplicationFont | 5.14 | pyside/pyside-setup | Status: ABANDONED | -1 | 0 |