diff options
author | hjk <hjk@qt.io> | 2019-07-31 09:19:23 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-07-31 07:58:42 +0000 |
commit | a460fa31529abb3bdd05306f60a696b5f89f5892 (patch) | |
tree | 8a9d02c6466caa0bd04266d1a563d57d3e21a85e /src/libs/utils/fileutils.h | |
parent | 25c7d7884ccdea56a590a2b3b008fdc047355f4f (diff) |
Utils: Register CommandLine
Needed e.g. in VCS support.
Change-Id: I3a9d64526bc0bf60a77ab154408dfec94cc6ba75
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/libs/utils/fileutils.h')
-rw-r--r-- | src/libs/utils/fileutils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/utils/fileutils.h b/src/libs/utils/fileutils.h index c40ad2b3303..a4693ddf752 100644 --- a/src/libs/utils/fileutils.h +++ b/src/libs/utils/fileutils.h @@ -130,7 +130,7 @@ class QTCREATOR_UTILS_EXPORT CommandLine public: enum RawType { Raw }; - CommandLine() {} + CommandLine(); explicit CommandLine(const QString &executable); explicit CommandLine(const FilePath &executable); CommandLine(const QString &exe, const QStringList &args); @@ -300,3 +300,4 @@ template<> struct hash<Utils::FilePath> } // namespace std Q_DECLARE_METATYPE(Utils::FilePath) +Q_DECLARE_METATYPE(Utils::CommandLine) |