Details
Description
When writing a program based on the class KXmlGuiWindow of KF5, I observed segmentation faults at termination of the program, if static methods of the QFileDialog class were called.
The segfaults already occur with a minimum program consisting of an instantiation of QApplication and a call to QFileDialog::getExistingDirectory() (see attached example).
The segfaults also occur when, instead of calling QFileDialog::getExistingDirectory(), an instance of QFileDialog is created (see line commented out in the example main.cpp).
The segfaults do not occur if the program is not linked to libKF5XmlGui (by commenting out the line containing "KF5::XmlGui" in the CMakeLists.txt file of the attached example). Then the program terminates normally.
The segfaults are not observed when using the older version Qt 5.4.2 on
openSUSE 13.2.