Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Problem with GDB and a Qt Quick application
Forum Updated to NodeBB v4.3 + New Features

Problem with GDB and a Qt Quick application

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 1.2k 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.
  • A Offline
    A Offline
    albertoMirada
    wrote on last edited by
    #1

    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.

    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