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

Bindings generator: Problem with QMenu::addAction() (prototype shadowing)

    XMLWordPrintable

Details

    • Task
    • Resolution: Moved
    • P2: Important
    • Some future release
    • None
    • Qt Script
    • None

    Description

      addAction(QAction*) is defined in QWidget; however, QMenu introduces new overloads for addAction(). The generated implementation of QMenu.prototype.addAction currently doesn't generate a binding to QWidget::addAction(), which means that calling addAction() with a QAction as argument is impossible (QWidget.prototype.addAction is effectively "unreachable").

      Attachments

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

        Activity

          People

            ezf ezf
            ezf ezf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes