Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QFileDialog Use native dialog despite of Q_OBJECT
QtAndMore last edited by aha_1980
I have a problem with QFileDialog.
For some reasons, I don't want to use the Qt user dialog anymore. I want to use the native (Windows) dialog.
The documentation says, that the native dialog is default:
In my case I don't call the option DontUseNativeDialog, but I use the Q_OBJECT macro in the class of FileOpenSaveDialog.
I treid to set the option DontUseNativeDialog to false, but it did not help.
Where is my mistake?!
How is it possible to use native dialog when using Q_OBJECT?
Thank you in advance!
Simply don't subclass fro QFileDialog - from what you're showing it's not needed.
QtAndMore last edited by
Sadly it is needed, or am I wrong?
I don't see where you call a custom FileOpenSaveDialog function here.
And btw: toAscii() is absolutely wrong