Cross/remote debugging



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.