App showing only white screen when started from the Applications grid on N950



  • Hi,

    I have an app currently in development. During development I noticed that if I start the app on the phone from QtCreator->Run it behaves correctly, that is it shows the contents of my main.qml file. This also happens if I start the app from the console on the phone (e.g. cd /opt/MyApp/bin and ./MyApp). However if I start the app from the phone's main Applications grid by tapping on the app icon it only shows a white screen. Did anyone had this issue? How can I debug this scenario given that it behaves correctly when I start it from QtCreator or cmd line (and only in these 2 scenarios I have access to some output to see what's going on)...

    I thought maybe it was something in my main.qml file so I replaced this file with the contents generated by the QtCreator new project wizard, but I still the problem. Below is the simplified new main.qml:

    @import QtQuick 1.0

    Rectangle {
    width: 360
    height: 360
    Text {
    text: qsTr("Hello World")
    anchors.centerIn: parent
    }
    MouseArea {
    anchors.fill: parent
    onClicked: {
    //Qt.quit();
    }
    }
    }
    @

    Thanks,
    Ionut



  • To begin with: create a new Qt Quick application with Qt Creator using Qt Components for MeeGo without changing anything and run with all the ways you described above, and tell us if you have the problems you had with your application.



  • No I don't have these problems with the default app created by QtCreator wizard; It must be something related to my .cpp files ... maybe some aegis stuff, but I'm clueless



  • Well, you could always create a new application and copy-paste the content of your QML files there. :-)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.