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

Repc generates broken C++ code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.12.2
    • Fix Version/s: None
    • Component/s: Remote Objects
    • Labels:
      None

      Description

      When using the following property definition in a rep file, repc generates broken code:

      PROP(QHash<QString, QSet<QString> > supportedIdentifiers CONSTANT);
      

      Generated code:

      explicit TestSimpleSource(QHash<QString, QSet<QString> > supportedIdentifiers = , QObject *parent = nullptr) : TestSource(parent)
      

        Attachments

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

          Activity

            People

            Assignee:
            bstottle Brett Stottlemyer
            Reporter:
            gagi Dominik Holland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes