Hi Michael,
thanx for that and sorry for the late answer (was busy here).
The PyQT module was OK on my side, but adding that path to the QApplication
actually did the trick.
So just to recap:
==
# first have to get the anchor (that's where the QApplication
thanks michael for helping us solve this!
On Fri, Feb 8, 2013 at 8:43 AM, philipp.oeser philipp.oe...@nhb.de wrote:
**
Hi Michael,
thanx for that and sorry for the late answer (was busy here).
The PyQT module was OK on my side, but adding that path to the
QApplication actually did the
Hi Philipp,
I had the same problem with PySide. The file *qjpeg4.dll* from *
C:/Python27/Lib/site-packages/PyQt4/plugins/imageformats* could not be
found.
Maybe adding the *plugins* path in your code [1] helps, or just move the
*imageformats* directory one level up. I uploaded a minimal zipped
Thanx for the answers everyone,
some more testing shows that it appears to be related to jpgs.
pngs display fine. but jpgs fail. no matter where they come from, no matter
where I try to display them (on a button, StandardItem, GraphicsView).
can someone give this a short try and confirm?
and
Hi list,
first of all: thanx again for bringing PyQT to Softimage!
(it's just so much nicer to be able to do UIs for SI, Nuke and Maya in _one_ go
:))
But: I was wondering if someone else is having trouble getting QIcons to show in
PyQT for Softimage?
I have some code that runs fine in Maya and
Hey Philipp,
you might want to make sure that your path is ok (file exists and so on),
and maybe try using
*addFilehttp://qt-project.org/doc/qt-4.8/qicon.html#addFile
*on your QIcon object ...
I doubt that might be the case, bus maybe you need to cast your path to a
QString *QIcon
I remember having some issues early on getting QIcons to work. But they
work fine now, This is the method that I used
# set the icons
import os.path
imgpath = os.path.split(
T://WG//RTR_WG//Application//Plugins//img )[0] + '//img//'
self.setWindowIcon( QIcon(
7 matches
Mail list logo