Problem with GDB and a Qt Quick application

  • Hello everyone:

    I recently installed the whole QtSDK on my Debian stable with LXDE and created a test Qt Quick application, with a single QML file, using QtCreator IDE. When I try to run the application with the Run button (ctrl+r) inside QtCreator, everything goes well. The window is created and interface looks right.

    But, if i try to debug the app with the "start debugging" button, the next 2 messages appears in the Application output, and app is finished:

    @Debugging starts
    &"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
    Qml debugging is enabled. Only use this in a safe environment!
    can't find linker symbol for virtual table for `QmlApplicationViewer' value
    pruebaQuick: cannot connect to X server
    Debugging has finished@

    I tried to deactivate access control on X Server using xhost -, but the result is the same, and I dont know how to solve it, or even the cause of the problem.

Log in to reply

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