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

QtQuick.Controls not working after running macdeployqt

    XMLWordPrintable

    Details

    • Platform/s:
      macOS
    • Commits:
      d34cf4045c680a9ac85e48da74f89ac3aa0d17b2 (qt/qttools/6.1)

      Description

      1. New Project using Application (Qt Quick) - Empty
      2. Replace main.qml contents like below.

      import QtQuick 2.12
      import QtQuick.Controls
      import QtQuick.Window 2.12
      
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")
      
          Button {
              text: "Button"
          }
      }
      
      

      3. Build release
      4. ./macdeployqt macbug.app -qmldir=<project-location>
      5. Run ./macbug.app -> crash

      Now try removing 'import QtQuick.Controls' and the Button, it not crash with macdeployqt.

      Everything works fine during development.

        Attachments

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

          Activity

            People

            Assignee:
            sorvig Morten Sørvig
            Reporter:
            darkhader22 Nice M
            PM Owner:
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes