|
|
@ -1,6 +1,12 @@ |
|
|
|
#! /usr/bin/env python3 |
|
|
|
# -*- coding: utf-8 -*- |
|
|
|
|
|
|
|
#Give at least some feedback when C libs crash. |
|
|
|
#Will still not work for the common case that PyQt crashes and ends Python. |
|
|
|
#But every bit helps when hunting bugs. |
|
|
|
import faulthandler; faulthandler.enable() |
|
|
|
|
|
|
|
|
|
|
|
import sys |
|
|
|
from PyQt5 import QtWidgets, QtGui, QtCore |
|
|
|
from PyQt5.QtWidgets import QApplication, QStyleFactory |
|
|
|