Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Cross/remote debugging
Forum Updated to NodeBB v4.3 + New Features

Cross/remote debugging

Scheduled Pinned Locked Moved QtonPi
1 Posts 1 Posters 1.4k 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
    Pardalis
    wrote on last edited by
    #1

    hi

    I have started a little project to control a terrarium with the raspberry pi.

    I have installed Qt 5.2.0 with QT Creator 3.0.0 on Ubuntu 12.04.4 LTS (64Bit).
    The same is on my RPI with raspian.

    when i try to start the application without any parameters, the following messages would be shown:
    @QSocketNotifier: Can only be used with threads started with QThread
    EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
    EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
    EGLFS: Unable to query screen depth, defaulting to 32.
    EGLFS: To override, set QT_QPA_EGLFS_DEPTH.
    This plugin does not support propagateSizeHints()
    @

    When i start the Application with -platform xcb it will run fine, but i receive 2 messages:
    @Cant find EGLConfig, returning null config
    Unable to find an X11 visual which matches EGL config 0
    @

    When i try to debug, i can't see any values from the variables but the breakpoints are working.
    when i just start the program with the debugger , also with "-platform xcb" i get some strange issues.

    the debugger ist located here:
    /home/*****/src/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gdb

    i also got this "cannot find egl error". The Program starts and breakpoints are hit, but i cannot see any values of the variables.
    And it also looks like my programm cannot acces the file system if i start it from the debugger.

    Im a linux newbie, i would really appreciated if someone can help me.

    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