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

ActiveQt: Broken IDL version handling in DumpIDL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.13.0, 5.14.0
    • Fix Version/s: 5.15.0 Beta2
    • Component/s: ActiveX Support
    • Labels:
      None
    • Environment:
      Windows (Visual Studio 2017)
    • Platform/s:
      Windows
    • Commits:
      927a76c9246109f14b51bd9a3cf224d6f987e10d (qt/qtactiveqt/5.15)

      Description

      Version handling in the auto-generated IDL files for ActiveQt projects seem broken. The current DumpIDL implementation just removes extra dots, converting a "10.20.30.40" version string into "10.203040", which seem odd to me. It also causes the following failure when the concatenated "<minor><patch><build>" string exceed 65k:
      MIDL2152: [version] format is incorrect
       

      IDL versions are limited to "major.minor" format, where each number can range from 0 to 65k. Patch and build numbers are not supported.

      Reproducer project: https://github.com/forderud/public/tree/master/QTBUG-82883

        Attachments

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

          Activity

            People

            Assignee:
            kleint Friedemann Kleint
            Reporter:
            forderud Fredrik Orderud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes