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. App showing only white screen when started from the Applications grid on N950
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 2.7k Views 1 Watching
  • 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.
  • D Offline
    D Offline
    deion
    wrote on 8 Nov 2011, 15:21 last edited by
    #1

    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

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sfilippidis
      wrote on 8 Nov 2011, 15:48 last edited by
      #2

      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.

      https://www.filippidis.name/

      1 Reply Last reply
      0
      • D Offline
        D Offline
        deion
        wrote on 8 Nov 2011, 16:01 last edited by
        #3

        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

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sfilippidis
          wrote on 8 Nov 2011, 16:04 last edited by
          #4

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

          https://www.filippidis.name/

          1 Reply Last reply
          0

          1/4

          8 Nov 2011, 15:21

          • Login

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