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

Generated ui file doesn't compile when it contains a QPrintPreviewWidget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.1.0 RC1
    • 5.0.2, 5.1.0 Beta 1
    • Tools: Designer
    • None
    • 55f01addb201c153ba5049a11f8ddfc0aa7544c7

    Description

      When you add a Widget to your form and promote it to QPrintPreviewWidget the resulting include in the ui_*.h file is wrong.
      #include <QtWidgets/QPrintPreviewWidget>
      instead of
      #include <QtPrintSupport/QPrintPreviewWidget>

      Is there another way to add a QPrintPreviewWidget to a designer form other than doing it in the source code?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            mkrems Marcel Krems
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes