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. QML freezes on raspberry pi 3
Forum Updated to NodeBB v4.3 + New Features

QML freezes on raspberry pi 3

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 930 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.
  • P Offline
    P Offline
    PouryaTorabi
    wrote on last edited by PouryaTorabi
    #1

    Hi, after spending tons of time, trying to cross compile qt for raspberry pi, finally i did it, but now when I run some simple qml apps on rasoberry pi, the apps would run but will freeze after a few seconds and not even my mouse would move, Does anyone know why?
    I'm using a simple qt quick application swipe. It seems the raspberry pi can not render the app, something related to its gpu, maybe?

    jsulmJ 1 Reply Last reply
    0
    • P PouryaTorabi

      Hi, after spending tons of time, trying to cross compile qt for raspberry pi, finally i did it, but now when I run some simple qml apps on rasoberry pi, the apps would run but will freeze after a few seconds and not even my mouse would move, Does anyone know why?
      I'm using a simple qt quick application swipe. It seems the raspberry pi can not render the app, something related to its gpu, maybe?

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @PouryaTorabi If you start the app from console do you see any errors/warnings?
      Which Qt version do you use?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • P Offline
        P Offline
        PouryaTorabi
        wrote on last edited by
        #3

        It says:
        QML debugging is enabled. Only use this in a safe environment.
        QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
        Unable to querry physical screen size, defaulting to 100 dpi.

        I'm using Qt5.12.2 and cross compiled it as:
        https://mechatronicsblog.com/cross-compile-and-deploy-qt-5-12-for-raspberry-pi/

        1 Reply Last reply
        0
        • P Offline
          P Offline
          PouryaTorabi
          wrote on last edited by
          #4

          It seems when I boot to console it runs perfectly.

          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