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

QUndoCommand/QUndoStack should not require `QT += widgets/gui`

    XMLWordPrintable

Details

    • All

    Description

      QUndoCommand/QUndoStack require QT += widgets in Qt5.x and QT += gui in Qt6.x.  Why?  There should be nothing gui/widgety in these classes.  As it stands they they cannot be used in non-UI QCoreApplication projects.  Only QUndoView needs UI stuff.

      Consider moving QUndoCommand/QUndoStack into Core?

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            jonbrave J Barchan
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes