TClass::TClass:0: RuntimeWarning: no dictionary for class QObject is available
Traceback (most recent call last):
File "main.py", line 51, in <module>
QObject.connect(application, SIGNAL("lastWindowClosed()"),termAddress ,SLOT("Terminate()"))
RuntimeError: underlying C/C++ object has been deleted
using ROOT 5.26 compiled with python and Qt support.[/code]
not in the system.rootrc indeed, b/c it’s not enabled by default. Your own ~/.rootrc (create one if it doesn’t exist) or equivalent needs to contain:Gui.Backend: qt
Gui.Factory: qtgui
Plugin.TGuiFactory: qtgui TQtRootGuiFactory QtRoot "TQtRootGuiFactory()"since if you don’t ROOT will use the default graphics system, not Qt.
not in the system.rootrc indeed, b/c it’s not enabled by default. Your own ~/.rootrc (create one if it doesn’t exist) or equivalent needs to contain:Gui.Backend: qt
Gui.Factory: qtgui
Plugin.TGuiFactory: qtgui TQtRootGuiFactory QtRoot "TQtRootGuiFactory()"since if you don’t ROOT will use the default graphics system, not Qt.
Cheers,
Wim[/quote]
Ok, thanks very much, now it works, but… why is not this file created at installation time?