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

UIC generates wrong include for QSvgWidget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 6.0.0 Beta3
    • Build tools: uic
    • None
    • 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

            jkobus Jarek Kobus
            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