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. How to build Qt for Raspberry Pi3
Forum Updated to NodeBB v4.3 + New Features

How to build Qt for Raspberry Pi3

Scheduled Pinned Locked Moved Solved Mobile and Embedded
23 Posts 8 Posters 13.2k Views 5 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.
  • S sneubert
    19 Jun 2017, 12:37

    Hi amruz,

    the build of your qt libraries is not in you sysroot. You can either copy qt5pi directory to <your sysroot>/usr/local/ on your development host or tell gdb to load the libraries from your target (see https://forum.qt.io/topic/76928/raspberry-pi-3-debug-info-how-to-fix/38)

    A Offline
    A Offline
    amruz
    wrote on 21 Jun 2017, 12:04 last edited by
    #21

    @sneubert i tried by writing these commands in additional startup commands in qt
    set sysroot target:/
    but the same warning is coming..
    when i am running a console app it is getting displayed in the raspberry without any problems.
    but for widget application

    Unable to query physical screen size, defaulting to 100 dpi.
    To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).

    is coming.
    :(

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sneubert
      wrote on 21 Jun 2017, 12:27 last edited by
      #22

      @amruz

      ok, my answer was to solve the problem not beeing abel to debug your application:

      Unable to find dynamic linker breakpoint function.
      GDB will be unable to debug shared library initializers
      and track explicitly loaded dynamic code.Could not load shared library symbols for 22 libraries, e.g. /usr/lib/arm-linux-gnueabihf/libarmmem.so.
      Use the "info sharedlibrary" command to see the complete listing.
      Do you need "set solib-search-path" or "set sysroot"? 
      

      for the remaining message:

      Unable to query physical screen size, defaulting to 100 dpi.
      To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
      

      take a look at previous posts in this forum, e.g.
      https://forum.qt.io/topic/77387/eglfs-unable-to-query-physical-screen-size-defaulting-to-100-dpi

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        Zevero
        wrote on 26 Jun 2017, 11:19 last edited by Zevero
        #23

        Work around for arm_thumb error is to be found here
        https://github.com/Kukkimonsuta/rpi-buildqt/pull/7

        Following
        https://github.com/Kukkimonsuta/rpi-buildqt/issues/8
        I succeeded even in compiling 5.9 (arm_thumb work around was not necessary any more)

        Both qtwebengine 5.8 and 5.9 work nicely and fast BUT mouse interaction does not work (only keyboard). Anybody had this experience? Very frustrating after all the trouble...

        1 Reply Last reply
        0

        21/23

        21 Jun 2017, 12:04

        • Login

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