yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #05539
Re: pyqt4 interface
-
To:
yade-dev@xxxxxxxxxxxxxxxxxxx
-
From:
"Sergei D." <sj2001@xxxxxxxxx>
-
Date:
Tue, 17 Aug 2010 19:22:56 +0400
-
In-reply-to:
<1280234828.1556.9.camel@flux>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.2.4) Gecko/20100608 SUSE/3.1.0 Thunderbird/3.1
I've recently given a first try at a qt4-based interface done with
pyqt4. I would like to have some feedback on its strengths and
weknesses, and also on running it atop different distributions/versions
of distributions.
Hello!
Sorry, but how to use pyqt4 interface?
I can run scripts/tests/qt4-pyqglviewer.py,
(after I added next lines:
3:from PyQt4.QtGui import *
17: argv=[]
18: app = QApplication(argv)
Without it I got error:
Running script qt4-pyqglviewer.py
QWidget: Must construct a QApplication before a QPaintDevice
)
I can't run any other script with gui...
Should I add class Viewer in my script?
And how to run Controller?
--
Best regards,
Sergei D.
Follow ups
References