Qt 6.11 is out! See what's new in the release
blog
How to set window flags for QFileDialog
-
Hello.
Could somebody help me.
I want to set window flags of QFileDialog. But it doesn't work.
For example, setWindowFlags(Qt::FramelessWindowHint); The file dialog still has window frame. But it works for QMessageBox.
It is the same both on Windows and Ubuntu.
My environment.
Windows 7


Ubuntu 16.04


Thanks
-
Hello.
Could somebody help me.
I want to set window flags of QFileDialog. But it doesn't work.
For example, setWindowFlags(Qt::FramelessWindowHint); The file dialog still has window frame. But it works for QMessageBox.
It is the same both on Windows and Ubuntu.
My environment.
Windows 7


Ubuntu 16.04


Thanks
setOption, DontUseNativeDialog