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

Broken type registration in static builds

    XMLWordPrintable

Details

    • d1a43e4a37cb6bbe0dfcbacd4ce975b0ce0090f0

    Description

      First spotted on this change in qtquickcontrols2, but is reproducible with less code:

      import QtQuick 2.12
      import QtQuick.Window 2.2
      
      Window {
          width: 400
          height: 400
      
          Text {
              color: "white"
          }
      }
      
      09:53:28: Starting /home/mitch/dev/temp/quick-dev2_qt_dev_static_debug-Debug/quick ...
      QML debugging is enabled. Only use this in a safe environment.
      Warning: QQml_colorProvider: no color provider has been set!
      QQmlApplicationEngine failed to load component
      qrc:/main.qml:9:16: Invalid property assignment: color expected
      09:54:05: The program has unexpectedly finished.
      09:54:05: The process was ended forcefully.
      09:54:05: /home/mitch/dev/temp/quick-dev2_qt_dev_static_debug-Debug/quick crashed.
      

      The problem seems to be limited to static builds.

      The configure options I used to build Qt are:

      -static
      -debug
      -no-optimize-debug
      -developer-build
      -opensource
      -confirm-license
      -nomake
      tests
      -nomake
      examples
      -silent
      -sanitize
      address
      -no-feature-assistant
      -no-feature-designer
      -no-feature-distancefieldgenerator
      -no-feature-kmap2qmap
      -no-feature-makeqpf
      -no-feature-pixeltool
      -no-feature-qdbus
      -no-feature-qev
      -no-feature-qtpaths
      -no-feature-qtplugininfo
      -no-feature-windeployqt
      

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes