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

uic creates ambiguous signal/slot connections

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.2
    • Build tools: uic
    • None
    • Linux/X11

    Description

      Invalid connections were generated from this ui https://github.com/psi-im/psi/blob/32ce4042ee52a48807367f696fa5fe2b919c3716/src/options/opt_appearance_misc.ui

      Next lines were generated

      QObject::connect(sl_rosterop, &QSlider::valueChanged, lb_rosterop_val, &QLabel::setNum);
      QObject::connect(sl_chatdlgop, &QSlider::valueChanged, lb_chatdlgop_val, &QLabel::setNum); 

      There are two QLabel::setNum methods which can accept int and double, but the generated code doesn't have qOverload.

       

      This issue is very similar to https://bugreports.qt.io/browse/QTBUG-90308

      Attachments

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

        Activity

          People

            jkobus Jarek Kobus
            rion Rion
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes