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

AppMan: IntentServerHandler.Public cannot be compiled

    XMLWordPrintable

Details

    Description

      Enabling `pragma strict` will cause a build failure.

       

      Code

      //pragma Strict
      import QtQuick
      import QtApplicationManager.SystemUI
      
      Window {
          width: 800
          height: 600
          visible: true
      
          IntentServerHandler {
              visibility: IntentServerHandler.Public // fails here
          }
      }
      

       

      Compiler output

      Warning: Main.qml:11:35: Member "Public" not found on type "IntentServerHandler" [missing-property]
              visibility: IntentServerHandler.Public // fails here
                                              ^^^^^^
      Warning: Main.qml:11:35: Could not compile binding for visibility: Cannot load property Public from const QMetaObject of const QMetaObject. [compiler]
              visibility: IntentServerHandler.Public // fails here
                                              ^^^^^^
      

      Attachments

        Issue Links

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

          Activity

            People

              rgriebl Robert Griebl
              skoh-qt Sze Howe Koh
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes