Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
-
835f15cfb (dev), 2e6403f8b (dev), 9f9ff18ba (dev), f30d72365 (6.5), 9c75880e5 (6.5), 222a5601a (6.5), ec184d4c7 (dev), 542925c61 (6.7), 91c3e3dce (dev), f87eb7401 (6.7), bc4bccb87 (6.6)
Description
Qt module targets can be referenced both with Qt:: and Qt6::, e.g. Qt::Core vs Qt6::Core.
Qt:: was introduced for projects that need to stay compatible with Qt 5: See also Qt 5 and Qt 6 compatibility. But it has technical limitations, which affects e.g. Squish. So we shouldn't use it in Qt code ourselves, and especially not in Qt 6 examples.
Attachments
Issue Links
- relates to
-
QTBUG-104112 Document potential pitfalls of using versionless targets and packages in CMake project code
- Closed