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

qquickmaterialstyle_p.h not found in DIRECT_CALLS mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.5.3, 6.6
    • Quick: Controls 2
    • None
    • Windows

      When enabling "QT_QMLCACHEGEN_DIRECT_CALLS" then Qml compilation fails with:

      Cannot open include file: 'qquickmaterialstyle_p.h': No such file or directory
      

      CMake:

      set_target_properties(androtest PROPERTIES
          QT_QMLCACHEGEN_DIRECT_CALLS ON
      )
      

      Qml:

      import QtQuick
      import QtQuick.Window
      import QtQuick.Controls.Material
      
      ApplicationWindow {
          id: window
          width: 640
          height: 480
          visible: true
          title: qsTr("Test")
      
          Material.theme: Material.Dark
          Material.primary: "red"
          Material.accent: "green"
      }
      

        1. androtest.zip
          3 kB
          Harald Meyer
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Harald Meyer Harald Meyer
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes