QFileDialog::Option::DontUseNativeDialog doesn't compile on linux neither...you need to remove the "Option" part