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

dumpcpp generates code that does not compile

    XMLWordPrintable

Details

    Description

      With some controls, dumpcpp is generating code that looks like:

      ExtensionData(IExtensionData *iface)
          : QAxObject()
          {
              initializeFrom(iface);
              delete iface;
          }
      
          ExtensionData(IDispatch *iface)
          : QAxObject()
          {
              initializeFrom(iface);
              delete iface;
          }
      

      which does not compile because initalizeFrom takes a QAxBase pointer and not something based on IUnknown.

      This can be reproduced by running dumpcpp on the control installed - https://support.elecosoft.com/downloads/PP16002-316-English-standard-64bit.exe - the CLSID is A57A0000-0200-0000-B2C5-00C0DF438041 and the Type Library is called "Teamplan" and its ID is A57A0000-0200-711B-B2C5-00C0DF438041.

      Attachments

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

        Activity

          People

            owolff Oliver Wolff
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes