Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How can I make qt detect a file extension in c ++
Nathan Miguel last edited by
I'm doing a denoiser, I'm using the file dialog to open a file, but how can I do it to detect the name of the extension that was opened
but how can I do it to detect the name of the extension that was opened
you get the filename from the file dialog, where is your issue?!
EL-jos last edited by
uses the class QFileInfo, and you pass to its constructor your file or the path of your file then to see the extension of your file you will use the suffix() method of the class QFileInfo