[PyQt] QFileDialog crash with Gnome + "Desktop Settings (Default)" + QFileDialog.DontUseNativeDialog
hpj at urpla.net
Mon Sep 6 09:47:45 BST 2010
On Sunday 29 August 2010, 15:40:48 PyCoder PyCoder wrote:
> I have a lil problem with QFileDialog and i think its a bug but im not
> The code is realy simple:
> contSave = QtGui.QFileDialog(self)
> This works unter KDE with "Desktop Settings (Default)" and under Gnome
> with GTK+, Motif, CDE, Plastic, Windows and Clearlooks.
> But if is use "Desktop Settings (Default)" under Gnome QFileDialog
> crashes without a Traceback.
> Its the combination of Gnome + "Desktop Settings (Default)" in
> qtconfig-qt4 and QFileDialog.DontUseNativeDialog.
> I have the same problem under Fedora and Ubuntu with Gnome.
> Is it a bug or what?
Install the debug packages of Qt4, sip and PyQt and run your app under gdb
control. When it crashes, type bt, post the results (with line wrap
switched _off_ for the backtrace).
More information about the PyQt