QFileDialog::getOpenFileName invisible
Unsolved
General and Desktop
-
Re: QFileDialog not appearing on the top even after using different window flags
I have a similar problem:
QFileDialog::getOpenFileName() is invisible. Fixed by passing QFileDialog::DontUseNativeDialog flag. It works with 'this' or 'nullptr' or whatewer as 'parent' arg.Here is full call:
QFileDialog::getOpenFileName(
nullptr, "Select mesh file", QDir::homePath(), QString(), nullptr, QFileDialog::DontUseNativeDialog);Additional info:
x86_64, Ubuntu 20.04, clang10.0.0-4, cmake 19.2, Qt 5.14.2