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

dumpcpp generates code that does not compile

    XMLWordPrintable

Details

    • ab4fa24b9 (dev), 24164754f (6.8), 66ee8cded (6.7)

    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

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              andysh Andy Shaw
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes