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

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

      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());

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes