diff options
Diffstat (limited to 'src/corelib/io/qstandardpaths.h')
-rw-r--r-- | src/corelib/io/qstandardpaths.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/corelib/io/qstandardpaths.h b/src/corelib/io/qstandardpaths.h index 1688e16be7..d0293ab3fd 100644 --- a/src/corelib/io/qstandardpaths.h +++ b/src/corelib/io/qstandardpaths.h @@ -42,7 +42,7 @@ #ifndef QSTANDARDPATHS_H #define QSTANDARDPATHS_H -#include <QtCore/qstring.h> +#include <QtCore/qstringlist.h> QT_BEGIN_HEADER @@ -87,6 +87,8 @@ public: static QStringList locateAll(StandardLocation type, const QString &fileName, LocateOptions options = LocateFile); static QString displayName(StandardLocation type); + static QString findExecutable(const QString &executableName, const QStringList &paths = QStringList()); + private: // prevent construction QStandardPaths(); |