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

Qt::WA_ShowModal claims to be deprecated buts its alleged replacement needs it

XMLWordPrintable

    • Icon: User Story User Story
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.5.1, 5.0.0, 5.15.0
    • None
    • All

      Chasing up deprecations prior to Qt6, I find that Qt::WA_ShowModal and Qt::WQ_GroupLeader have been documented as deprecated since 4.5.1; however, the QWidget::windowModality that they say to use instead is implemented in terms of setting these properties; and there is severely non-trivial code in the property management implementation, that's triggered by setting them.
      These properties should be either eliminated (preferably in time for Qt6 FF) or un-deprecated and properly documented (in qnamespace.qdoc).

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Eddy Edward Welbourne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes