Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#20231 - [Qt] and [GNOME] non-static QFileDialog causes Qt program in GNOME crash
Attached to Project:
Arch Linux
Opened by Chen Xing (chenxing) - Tuesday, 20 July 2010, 06:54 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 13 January 2012, 21:25 GMT
Opened by Chen Xing (chenxing) - Tuesday, 20 July 2010, 06:54 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 13 January 2012, 21:25 GMT
|
DetailsDescription:
I am programming using Qt in GNOME desktop environment. Whenever it creates an QFileDialog object, the program will crash. Additional info: * Qt: 4.6.4 Steps to reproduce: The problem can be reproduced every time, when: 1. qtconfig shows that the Qt's GUI style is "GTK+" 2. Run the code with QFileDialog qfd; The program always crashes with this output: I/O error : No such file or directory /usr/share/mime/inode/directory.xml:1: parser error : Extra content at the end of the document ^ I/O error : No such file or directory /usr/share/mime/inode/directory.xml:1: parser error : Extra content at the end of the document ^ The program has unexpectedly finished. However, when I use a static method of QFileDialog or I choose a different GUI style of Qt with qtconfig, the problem disappears. I guess this problem can be related to Qt or its GTK+ GUI style, but can't decide which. There are other people who have reported the problem: http://www.qtforum.org/article/31860/qfiledialog-causes-crash-when-non-static-functions-used.html He is also in Archlinux |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Friday, 13 January 2012, 21:25 GMT
Reason for closing: None
Additional comments about closing: Old. Re-open if necessary
Friday, 13 January 2012, 21:25 GMT
Reason for closing: None
Additional comments about closing: Old. Re-open if necessary
QString name;
if((name=QFileDialog::getOpenFileName(this,tr("Open ISO..."),"/","*.iso"))!="")
{
}