diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-07-24 17:57:36 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-25 11:32:06 +0200 |
commit | 57485805057eda17008d14ca618e9c1f69a5a35d (patch) | |
tree | 5bf2be94e67790b7f224170f971055c13162a299 /tools | |
parent | 28def0bdd084989c17a157e0c4ab80c259081caa (diff) |
Work around Q_DECLARE_METATYPE(QFileInfo) being added to QtCore
Change-Id: Ic83e5fdaa7ef289f40cbeb4633a75d93d38c0bdb
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qmlscene/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qmlscene/main.cpp b/tools/qmlscene/main.cpp index 058f9cd8df..3ab7de3e8c 100644 --- a/tools/qmlscene/main.cpp +++ b/tools/qmlscene/main.cpp @@ -171,7 +171,9 @@ struct Options }; #if defined(QMLSCENE_BUNDLE) +#ifndef QT_QFILEINFO_METATYPE_DEFINED Q_DECLARE_METATYPE(QFileInfo); +#endif QFileInfoList findQmlFiles(const QString &dirName) { QDir dir(dirName); |