Is there a way to get the MIME type of a file in Qt?
I am writing an application that needs to find the MIME type of a given file.
Is there a way to get the MIME type of a file in Qt?
I am writing an application that needs to find the MIME type of a given file.
You need to use 3rd party libraries for this purpose, there is no mime-type guessing support in Qt itself. On Linux/Unix you could use libmagic.