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

Including QAxFactory causes compilation error when QT_NO_CAST_FROM_ASCII is defined (new case)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.7.1
    • 5.7.0
    • ActiveX Support
    • None
    • Windows 10
    • 4100b5296dd288707be3b8e26c2c67e3f8900d16 (qtactiveqt/5.7, 27.6.2016, 5.7.1)

    Description

      Old (and fixed) similar issue: QTBUG-50182
      When defining QT_NO_CAST_FROM_ASCII for project which uses Qt, including <QAxFactory> leads to compilation error.
      This can be fixed by changing this line:

      QString catids = mo.classInfo(mo.indexOfClassInfo("Implemented Categories")).value();

      to

      QString catids = QLatin1String(mo.classInfo(mo.indexOfClassInfo("Implemented Categories")).value());

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-54352
          # Subject Branch Project Status CR V

          Activity

            People

              kleint Friedemann Kleint
              jirauser26727 user-04d21 (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes