summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprojectmanager/fileformat
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@qt.io>2019-09-23 17:58:34 +0200
committerCristian Adam <cristian.adam@qt.io>2019-09-24 16:05:23 +0000
commitf88ad0e9d04aac2ef66367e1f661d15644cbf8a4 (patch)
treebb5b2d24a82198040c3d456ccf363148e381e565 /src/plugins/qmlprojectmanager/fileformat
parent4ea0d22d4c3536ac5fc3367c56502a61f1d4fc90 (diff)
downloadqt-creator-f88ad0e9d04aac2ef66367e1f661d15644cbf8a4.tar.gz
CMake Build: Allow building with Qt5 and Qt6
Emulate Qt5's functions/targets with Qt6 equivalents. Change-Id: I6bfc5c8a649f0ddc5f1117bc5b2d0f41cb72c821 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/plugins/qmlprojectmanager/fileformat')
-rw-r--r--src/plugins/qmlprojectmanager/fileformat/qmlprojectitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprojectmanager/fileformat/qmlprojectitem.cpp b/src/plugins/qmlprojectmanager/fileformat/qmlprojectitem.cpp
index bee96ae411..91d8eff591 100644
--- a/src/plugins/qmlprojectmanager/fileformat/qmlprojectitem.cpp
+++ b/src/plugins/qmlprojectmanager/fileformat/qmlprojectitem.cpp
@@ -80,7 +80,7 @@ QStringList QmlProjectItem::files() const
}
}
}
- return files.toList();
+ return Utils::toList(files);
}
/**