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

UIC generates wrong include for QSvgWidget

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.0.0 Beta3
    • Fix Version/s: None
    • Component/s: Build tools: uic
    • Labels:
      None
    • Commits:
      f4edc442650aa5130aac1cc172b71170321051f0 (qt/qtbase/dev)

      Description

      When processing .ui file which uses QSvgWidget UIC generates

      #include <QtSvg/QSvgWidget>

      in the ui_name.h header.

      but QSvgWidget has been moved from QtSvg to QtSvgWidgets in https://bugreports.qt.io/browse/QTBUG-41884 , this results in include not being found.

      I guess that qclass_lib_map.h needs to be updated to reflect these changes.

        Attachments

        1. minimal1.ui
          0.5 kB
        2. minimal2.ui
          0.6 kB
        3. sample3.ui
          0.9 kB
        For Gerrit Dashboard: QTBUG-88259
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            jkobus Jarek Kobus
            Reporter:
            karliss Kārlis Seņko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes