Alexandr N Zamaraev wrote:
Os Windows Vista Home Ru + sp1
g++ (GCC) 3.4.5 (mingw-vista special r3)
Qt 4.5 (self build)
sip-4.7.9 (self build)
PyQt-win-gpl-4.4.4.zip (self build)
I reproduce this with
sip-4.8-snapshot-20090424 (self build)
PyQt-win-gpl-4.5-snapshot-20090328 (self build)
Call Gar
You need to tell it what you want to name your python resource file as. So
something like "pyrcc4 -py2 -o resources_rc.py" will create the correct file
that is imported in the ui file.
Now if anyone knows _how_ to change the path to the resource file in your
ui, so pyuic does "from something impo
We ran into a similar situation where we wanted to ensure that a
QPixmap that is copied into the clipboard stays after the application
exits. Although as far as I know this should happen automatically when
your Qt application exists, we had to do this use the following code
manually before exiting
I'm new to PyQt and have been impressed with the ease of use and power of
the system. One quirk that I can't seem to get a handle on is that when I
run the tools to make my ui_* file from a designer file, the included
resource is improperly named. So if there is a "resource.qrc" file then the
ui_*
Hi list,
When I want to launch qtdemo with newly generated qtdemo_rc.py, I got:
$ ./qtdemo.py
Traceback (most recent call last):
File "./qtdemo.py", line 47, in
import qtdemo_rc
File "/home/grissiom/pyQtdemo/work/qtdemo/qtdemo_rc.py", line 3831
"
^
SyntaxError: invalid syntax
in
sys.exit(app.exec_()) doesn't work. If the clipboard is empty when the program exits, I
will do without PyQt so as to have a "universal" clipboard.
Thanks a lot because now I knows how to use clipboard in a "real" program..
Christophe.
Demetrius Cassidy a écrit :
The clipboard will empty whe