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. New to QT5 Creator on Linux. Debugging does not work

New to QT5 Creator on Linux. Debugging does not work

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 3 Posters 575 Views
  • 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.
  • T Offline
    T Offline
    Twan
    wrote on last edited by
    #1

    I'm new to QT5 Creator and I've installed it on linux. For my study, I've created a non-QT C console application, but debugging does not work.

    When it starts LXTerminal, I get an error message that QT cannot switch to my homedrive.
    If I change it to XTERM -e, I get an error which looks like secury.

    Does this sound familiar to anyone?
    Thx

    jsulmJ JonBJ 2 Replies Last reply
    0
    • T Twan

      I'm new to QT5 Creator and I've installed it on linux. For my study, I've created a non-QT C console application, but debugging does not work.

      When it starts LXTerminal, I get an error message that QT cannot switch to my homedrive.
      If I change it to XTERM -e, I get an error which looks like secury.

      Does this sound familiar to anyone?
      Thx

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Twan Usually there is no need to change anything in QtCreator on Linux to be able to debug.
      Did you install GDB?
      What exactly did you change in QtCreator and why?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • T Twan

        I'm new to QT5 Creator and I've installed it on linux. For my study, I've created a non-QT C console application, but debugging does not work.

        When it starts LXTerminal, I get an error message that QT cannot switch to my homedrive.
        If I change it to XTERM -e, I get an error which looks like secury.

        Does this sound familiar to anyone?
        Thx

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #3

        @Twan
        Following what @jsulm asks, are you actually changing the executable to run within Qt Creator to LXTerminal/Xterm, in front of your own executable? If that's what you're doing, it's not the way to do it, or at least debugging will never work that way.

        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