Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML application hangs and cycle power is required

QML application hangs and cycle power is required

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
hangqtquickqqmlapplicationrpi
1 Posts 1 Posters 1.1k 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.
  • M Offline
    M Offline
    Mark81
    wrote on 30 Aug 2016, 07:40 last edited by
    #1

    I'm facing a weird problem. I'm working on a Qt5.7 / QML project from several weeks. Sometimes my application hangs on startup, and in three different situations:

    • QQmlApplicationEngine::load() never returns
    • QQmlApplicationEngine::load() returns, the QML file is processed but nothing is shown
    • QQmlApplicationEngine::load() returns, the QML file is processed, it displayed for a while and then it hangs

    If the application starts successfully it works fine for many hours with no problem at all. It doesn't (stricly?) depend on my code because it happens also with "helloword" applications, say a QML page with a Rectangle and a C++ Class that does nothing.

    When this happens, I need to power cycle the RPi. Killing the process or event reboot the system it's not enough! The application will then hang always as in the first point, no matter how many times I start it.

    The o.s. seems to work anyway, i.e. I can use the system but I cannot launch any QML application! Some further details about the system:

    • RPi3 powered with a 5V 3A wall power supply
    • Raspian Jessie Lite (kernel 4.4.11-v7+)
    • Qt5.7 compiled from sources
    • EGLFS backend, no X server

    I also checked the CPU temperature (/sys/class/thermal/thermal_zone0/temp) and it never rises over 65 °C. But I guess a thermal issue should hang the whole RPi not just a process!

    What should I do to investigate further?

    1 Reply Last reply
    0

    1/1

    30 Aug 2016, 07:40

    • Login

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