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

moc generated code fail to compile if QObject is inherited virtually

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Invalid
    • Affects Version/s: 4.8.0
    • Fix Version/s: 4.8.x
    • Component/s: Build tools: moc
    • Labels:
      None

      Description

      This is a regression from Qt 4.7

      class KopetePasswordRequestBase : public virtual QObject
      {
      	Q_OBJECT
      signals:
      	void requestFinished( const QString &password );
      public slots:
      	virtual void walletReceived( KWallet::Wallet *wallet ) = 0;
          virtual void gotPassword(const QString&, bool) =0;
      	virtual void slotCancelPressed() =0;
      
      };
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              goffart Olivier Goffart (closed Nokia identity) (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes