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

ActiveQt: Broken IDL version handling in DumpIDL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.15.0 Beta2
    • 5.13.0, 5.14.0
    • ActiveX Support
    • None
    • Windows (Visual Studio 2017)
    • Windows
    • 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

            kleint Friedemann Kleint
            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