Would something like this be sufficient?
#include <QtGlobal>
#if defined Q_OS_WIN32
// start explorer process here. E.g. "explorer.exe C:\windows"
#elif defined Q_OS_DARWIN
// start finder process here
#elif defined Q_OS_WHATEVER
// start WHATEVER filebrowser here
#endif
#include <QtGlobal>
#if defined Q_OS_WIN32
// start explorer process here. E.g. "explorer.exe C:\windows"
#elif defined Q_OS_DARWIN
// start finder process here
#elif defined Q_OS_WHATEVER
// start WHATEVER filebrowser here
#endif
To copy to clipboard, switch view to plain text mode
So already the precompiler decides what process to start.
Bookmarks