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. What is a better IDE for QT
Qt 6.11 is out! See what's new in the release blog

What is a better IDE for QT

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
qt creatorvisual studioide
25 Posts 9 Posters 991 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.
  • aha_1980A aha_1980

    @JonB

    • Run to line: Sets a temporary breakpoint on the line and stops when the program reaches this breakpoint
    • Jump to ĺine: Sets the program counter to this line, skipping all instructions that are between the current program counter and the target. Use that with cause, because it changes the program flow and can have any possible side effects.

    Regards

    JonBJ Offline
    JonBJ Offline
    JonB
    wrote last edited by
    #16

    @aha_1980 Hi.
    Not sure what/why you are telling me? I know this as I wrote, since I use them all the time! Was trying to make @SimonSchroeder aware that if he wants one of these (on re-read perhaps the Run to line) they are available in Creator debugging as they are in VS.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mmertama
      wrote last edited by
      #17

      QtCreator is buggy beyond imagination. Visual Studio Code needs some more setup, but long term is worth of try

      M 1 Reply Last reply
      0
      • M mmertama

        QtCreator is buggy beyond imagination. Visual Studio Code needs some more setup, but long term is worth of try

        M Offline
        M Offline
        mmertama
        wrote last edited by
        #18

        @mmertama said in What is a better IDE for QT:

        QtCreator is buggy beyond imagination. Visual Studio Code needs some more setup, but long term is worth of try

        [cmake] CMake Error: Error: generator : Ninja
        [cmake] Does not match the generator used previously: Ninja
        [cmake] Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.

        .... The second generator may have an extra space? :-o

        1 Reply Last reply
        0
        • Joe von HabsburgJ Joe von Habsburg

          I'm using Qt Creator. In some cases, especially when using an external library, debugging or finding the cause of a crash becomes impossible. I've tried using Visual Studio but haven't been very successful. Which IDE do you think is more professional, and why?

          N Offline
          N Offline
          nicholas_ru
          wrote last edited by
          #19

          @Joe-von-Habsburg For programmer not significant how ide use. I am know developer, who use nano editor and for professional education.

          Joe von HabsburgJ 1 Reply Last reply
          0
          • N nicholas_ru

            @Joe-von-Habsburg For programmer not significant how ide use. I am know developer, who use nano editor and for professional education.

            Joe von HabsburgJ Offline
            Joe von HabsburgJ Offline
            Joe von Habsburg
            wrote last edited by
            #20

            @nicholas_ru

            sudo echo "You funny :)"
            
            1 Reply Last reply
            0
            • Joe von HabsburgJ Joe von Habsburg has marked this topic as solved
            • JonBJ JonB

              @SimonSchroeder
              Thank you, interesting. Under Linux Creator/gdb I have basically no visualizers for Qt stuff. I do not have the Qt source code installed. I agree you cannot enter even the most basic expression for evaluation, only straight variables. So I cannot view a particular e.g. QList index, as neither .at(10) nor [10] are allowed :( But I limp through. I have always assumed this is to do with not having Qt sources, if it could be set up to work somehow instead I would love to know...?

              One additional advantage of VS over Qt Creator for debugging is that I can just skip to a certain line by just clicking there without having to set a breakpoint (and then immediately removing it afterwards). This is really helpful for jumping over loops. Other IDEs also have this feature.

              Right-click in "breakpoint" gutter/margin to left of your code, on context menu only (no shortcut assigned) there is Jump to line XXX, which I assume is what you mean? Otherwise there is also Run to line XXX, so you can either run to a line or skip everything up to a line with a single click and no breakpoint add/remove? Both of these available in Creator as in VS.

              S Offline
              S Offline
              SimonSchroeder
              wrote last edited by
              #21

              @JonB said in What is a better IDE for QT:

              Otherwise there is also Run to line XXX, so you can either run to a line or skip everything up to a line with a single click and no breakpoint add/remove?

              Alright, I didn't know about this one. But, in this respect VS is still better because it is not hidden in a context menu ;-). It's already bad enough that I need to switch from my beloved keyboard to the mouse. An extra click is just too much... (This is slightly tongue in cheek–don't take it too seriously.)

              JonBJ 1 Reply Last reply
              0
              • aha_1980A Offline
                aha_1980A Offline
                aha_1980
                Lifetime Qt Champion
                wrote last edited by
                #22

                @SimonSchroeder Have a look at https://doc.qt.io/qtcreator/creator-how-to-step-through-code.html

                Run to line has the shortcut Ctrl+F10 ;)

                Qt has to stay free or it will die.

                1 Reply Last reply
                1
                • S SimonSchroeder

                  @JonB said in What is a better IDE for QT:

                  Otherwise there is also Run to line XXX, so you can either run to a line or skip everything up to a line with a single click and no breakpoint add/remove?

                  Alright, I didn't know about this one. But, in this respect VS is still better because it is not hidden in a context menu ;-). It's already bad enough that I need to switch from my beloved keyboard to the mouse. An extra click is just too much... (This is slightly tongue in cheek–don't take it too seriously.)

                  JonBJ Offline
                  JonBJ Offline
                  JonB
                  wrote last edited by JonB
                  #23

                  @SimonSchroeder
                  You have to indicate somehow for both "Run to line" & "Jump to line" which line you want it to continue to! Creator allows it via a right-click on the desired line. Unless your VS can either (a) eye-read or (b) mind-read you will still have to tell it that, somehow... ;-)

                  If you want to stick with keyboard you can move the cursor there and press as @aha_1980 has said (existing shortcut) or add your own key if you want one for Jump to line, which is less common.

                  S 1 Reply Last reply
                  0
                  • JonBJ JonB

                    @SimonSchroeder
                    You have to indicate somehow for both "Run to line" & "Jump to line" which line you want it to continue to! Creator allows it via a right-click on the desired line. Unless your VS can either (a) eye-read or (b) mind-read you will still have to tell it that, somehow... ;-)

                    If you want to stick with keyboard you can move the cursor there and press as @aha_1980 has said (existing shortcut) or add your own key if you want one for Jump to line, which is less common.

                    S Offline
                    S Offline
                    SimonSchroeder
                    wrote last edited by
                    #24

                    @JonB said in What is a better IDE for QT:

                    You have to indicate somehow for both "Run to line" & "Jump to line" which line you want it to continue to!

                    You are right. VS shows a little icon on the line you are currently hovering with the mouse. So, I just need a single click after locating the line whereas in Qt Creator I need to first right click and then pick the correct menu entry and left click. While I'm debugging I want as little friction as possible so as to not loose the context of what is going on.

                    @aha_1980 said in What is a better IDE for QT:

                    Run to line has the shortcut Ctrl+F10 ;)

                    I'm gonna remember this and probably use it the next time I have a smaller program which I can debug in Qt Creator.

                    JonBJ 1 Reply Last reply
                    0
                    • S SimonSchroeder

                      @JonB said in What is a better IDE for QT:

                      You have to indicate somehow for both "Run to line" & "Jump to line" which line you want it to continue to!

                      You are right. VS shows a little icon on the line you are currently hovering with the mouse. So, I just need a single click after locating the line whereas in Qt Creator I need to first right click and then pick the correct menu entry and left click. While I'm debugging I want as little friction as possible so as to not loose the context of what is going on.

                      @aha_1980 said in What is a better IDE for QT:

                      Run to line has the shortcut Ctrl+F10 ;)

                      I'm gonna remember this and probably use it the next time I have a smaller program which I can debug in Qt Creator.

                      JonBJ Offline
                      JonBJ Offline
                      JonB
                      wrote last edited by JonB
                      #25

                      @SimonSchroeder said in What is a better IDE for QT:

                      So, I just need a single click after locating the line whereas in Qt Creator I need to first right click and then pick the correct menu entry and left click.

                      Point taken, so a little QoL issue :) Use/assign a keyboard shortcut and you are down to one click (or move cursor to line with arrow keys) and one keypress :)

                      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