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

dumpcpp silently generates uncompilable files for some .NET libraries

XMLWordPrintable

    • Windows
    • 1c55f40705 (qt/qtactiveqt/dev) 7cc34193d2 (qt/qtactiveqt/6.4) 59a7b451cc (qt/qtactiveqt/6.3) 59a7b451cc (qt/tqtc-qtactiveqt/6.3) 7cc34193d2 (qt/tqtc-qtactiveqt/6.4) 1c55f40705 (qt/tqtc-qtactiveqt/dev) 59a7b451cc (qt/qtactiveqt/6.3.2)

      Steps to reproduce

      1. Run dumpcpp on the attached .tlb file (taken from the IPC-CFX SDK [1][2])
      2. #include the generated .h file in a Hello World project
      3. Try to build the project

       

      Outcome

      The build fails because the generated file contains numerous undeclared types (ICloneable, ISerializable, IDisposable, IEnumerable, IList, ICollection, and _Attribute)

      Suggestion

      Patch dumpcpp to make these types work properly.

      If these types are not supported for whatever reason, it would be good if dumpcpp reports this while generating the C++ code.

      [1] https://www.ipc.org/ipc-cfx-sdk-and-software-developer-resources
      [2] https://github.com/IPCConnectedFactoryExchange/CFX

        1. qtbug100332.zip
          63 kB
        2. CFX.tlb
          214 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes