Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Problem Loading QML on First Menu Button Click

Problem Loading QML on First Menu Button Click

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    paultitude
    wrote on 23 Jun 2012, 21:25 last edited by
    #1

    Hi,

    @
    [Qt Message] file:///Z:/resource/qt/imports/com/nokia/symbian.1.1/ScrollBar.qml:81:5: QML Connections: Cannot assign to non-existent property "onCurrentOrientationChanged"
    @

    Main.qml :

    @
    import QtQuick 1.1
    Rectangle {
    width: 640
    height: 480

    property alias loader : mainLoader

    Loader {
        id: mainLoader
    }
    

    }
    @

    Test.QML
    @
    import QtQuick 1.1
    import com.nokia.symbian 1.1

    Rectangle {
    width: 640
    height: 480
    Button {
    id: buttonPlayGame
    width: 320
    text: "Play"
    clip: false
    smooth: false
    disabled: false

    onClicked: {
    loader.source = "Test.qml"
    }
    }
    }
    @

    1 Reply Last reply
    0
    • P Offline
      P Offline
      paultitude
      wrote on 24 Jun 2012, 07:21 last edited by
      #2

      Solved it. Initialised the loader on the menu screen and added another loader for the sub menu.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        morker
        wrote on 22 Sept 2014, 13:05 last edited by
        #3

        Hi,

        can you post your code?

        Thanks

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved