Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Cannot debug GUI App
Forum Updated to NodeBB v4.3 + New Features

Cannot debug GUI App

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 883 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.
  • R Offline
    R Offline
    rsjethani
    wrote on last edited by
    #1

    Hi,
    I am running Qt 5.2(downloaded binary) on Linux Mint 16 Cinnamon x86.
    Created a simple GUI app.When I put a break point on a line or simply press F5 in debug mode ofcourse I get the following application output:
    @Debugging starts
    &"warning: GDB: Failed to set controlling terminal: Inappropriate ioctl for device\n"
    Debugging has finished@

    But the app runs as if ran it without debugging.Debugging is working with console app. Terminal setting "/usr/bin/gnome-terminal -x"

    .pro file for the project:
    @#-------------------------------------------------

    Project created by QtCreator 2014-02-26T12:16:22

    #-------------------------------------------------

    QT += core gui

    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

    TARGET = guitest
    TEMPLATE = app

    SOURCES += main.cpp
    MainWindow.cpp

    HEADERS += MainWindow.h

    FORMS += MainWindow.ui@

    The following questions are similar but not the same:

    "1":http://qt-project.org/forums/viewthread/7036
    "2":https://qt-project.org/forums/viewthread/32238
    I am not able to understand the problem.
    thanks.

    Ravi S. Jethani

    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