Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Unsolved New to QT5 Creator on Linux. Debugging does not work

    Tools
    3
    3
    382
    Loading More Posts
    • 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
      Twan last edited by

      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

      jsulm JonB 2 Replies Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion @Twan last edited by

        @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 Reply Quote 2
        • JonB
          JonB @Twan last edited by

          @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 Reply Quote 0
          • First post
            Last post