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

[qmltc] build error with QT_NO_URL_CAST_FROM_STRING

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.7.0 FF
    • 6.5.1
    • QML: Compiler
    • None
    • 0978bb32a (dev)

    Description

      i have code like:

      QtObject {
          readonly property FontLoader iconLoader: FontLoader {
              source: "qrc:/qt/qml/path/to/font.ttf"
          }
      

      qmltc generates c++ code like:

      this->setSource((QString(QtPrivate::qMakeStringPrivate(u"" "qrc:/qt/qml/path/to/font.ttf"))));
      

      Attachments

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

        Activity

          People

            sami.shalayel Sami Shalayel
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes