diff options
author | Kai Koehne <kai.koehne@qt.io> | 2018-10-09 15:02:11 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2018-10-17 12:43:26 +0000 |
commit | 53481058c521ccfaed3c121afce5f80b8aeaa9b3 (patch) | |
tree | e269994b945c8a30fc5af0005eadf1caaa6247f0 /tools/qmlplugindump | |
parent | 299bf6fd51218a0912e7a3d9eb4b0043dbaad1f7 (diff) |
qmlplugindump: Hardcode QtQml and QtQuick import to 2.0
Change 8725f9873deda85 fixed qmlplugindump to always use the current
Qt minor version for the Qt Quick and Qt Qml dependencies.
Anyhow, this is unnecessary; for the dependencies resolution only the
major type is important. Hard-coding the latest import might lead to
people unnecessarily updating the plugins.qmltypes.
Change-Id: Icc969517f268b775492f2bcc901827de64123bae
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
Diffstat (limited to 'tools/qmlplugindump')
-rw-r--r-- | tools/qmlplugindump/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp index 8f9ac2d1da..e7523ec269 100644 --- a/tools/qmlplugindump/main.cpp +++ b/tools/qmlplugindump/main.cpp @@ -79,9 +79,9 @@ namespace { const uint qtQmlMajorVersion = 2; -const uint qtQmlMinorVersion = QT_VERSION_MINOR; +const uint qtQmlMinorVersion = 0; const uint qtQuickMajorVersion = 2; -const uint qtQuickMinorVersion = QT_VERSION_MINOR; +const uint qtQuickMinorVersion = 0; const QString qtQuickQualifiedName = QString::fromLatin1("QtQuick %1.%2") .arg(qtQuickMajorVersion) |