qt5base-lts/util
Alexandru Croitor cf27a23937 CMake: pro2cmake: Use latest project version for qml import version
Use PROJECT_VERSION instead of CMAKE_PROJECT_VERSION when setting the
version of a qml module, which extracts the version of the latest
project() call rather than the top-level one.

Using CMAKE_PROJECT_VERSION caused issues in top-level builds where
the qtdeclarative version is 6.2, but the top-level project version is
still 6.1 and hasn't been updated to 6.2, causing qml module import
errors.

This was probably an oversight during initial implementation of qml
support in pro2cmake.
So projects that define qml modules should be adapted accordingly.

Amends cce8ada814
Amends 28fff4a551

Pick-to: 6.1 6.0
Task-number: QTBUG-92861
Change-Id: I494784694e997501a5bc4fd0c0eac458ddc248aa
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2021-04-15 13:27:23 +02:00
..
accessibilityinspector Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
aglfn Updated license headers 2016-01-21 18:55:18 +00:00
android Coin: fix android emulator script to use bash instead of sh 2021-02-19 10:31:44 +02:00
cmake CMake: pro2cmake: Use latest project version for qml import version 2021-04-15 13:27:23 +02:00
edid Minor grammar fixup 2018-08-03 18:11:24 +00:00
glgen Remove the openglextensions module 2020-06-10 09:35:04 +02:00
gradientgen Replace Qt CONSTEXPR defines with constexpr 2020-08-14 15:52:58 +02:00
harfbuzz Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
includemocs QtCore: include mocs 2017-05-05 03:03:30 +00:00
integrity Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
lexgen Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
locale_database Update to CLDR v38.1, adding Yukon Standard Time 2021-01-27 15:00:57 +01:00
plugintest Updated license headers 2016-01-21 18:55:18 +00:00
publicSuffix Eliminate the need to preprocess the public suffix list 2021-01-25 18:03:00 +01:00
qfloat16-tables Round float->qfloat16 to even 2020-09-06 12:35:12 +02:00
unicode Use checked string iteration in case conversions 2020-08-29 18:15:27 +02:00
x86simdgen Move qsimd* from corelib/tools to corelib/global 2020-03-26 09:15:32 +01:00
xkbdatagen Updated license headers 2016-01-21 18:55:18 +00:00