Qt Mac Tips
My team has been working on porting some PyQt stuff to Mac OSX, and we have run into several Qt bugs, sadly. Here are two, and the workarounds we found.
Native dialogs are broken.
Using QFileDialog.getExistingDirectory we noticed the following symptoms:
If you do nothing, the dialog went away on its own after about 20 seconds.
After you used it once, it may pop up and disappear immediately. Or not.
Solution: use the DontUseNativeDialog option.
Widgets in QTreeWidgetItems don't scroll.
When you use Widgets inside the items of a QTreeWidget (which I know, is not a common case, but hey, it happens), the widgets don't scroll with the items.
Solution: use the -graphicssystem raster
options. You can even inject them into
argv
if the platform is darwin
.
che robert... digo si usas en un sistema darwin, que no tiene cocoa (onda darwin con gnome) funciona igual con la opcion -graphicssystem raster ?
Nunca oí de alguien que *use* darwin con gnome :-)
Sí debería andar igual, esa opción anda en todas las plataformas.
You don't even say which version of Qt this is refering to,
Latest as of the moment it was posted: 4.8.2
However, AFAIK both bugs affect all Qt 4.x versions.
Also, please work on your manners, you come accross as impolite.
Im so sorry.
but why do you think, that i was impolite??
It just sounds like a complain.
PYQT4
uh?
Hi Dear Admin,
how can i convert a Python_format to a PYQT_format?
thanx
what?