Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-113277

CMake: Make all examples use Qt6:: instad of Qt:: in target_link_libraries

XMLWordPrintable

    • 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)

      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.

        For Gerrit Dashboard: QTBUG-113277
        # Subject Branch Project Status CR V

            kkohne Kai Köhne
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: