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. Migration from Netbeans to Qt Creator
QtWS25 Last Chance

Migration from Netbeans to Qt Creator

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
7 Posts 2 Posters 904 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.
  • P Offline
    P Offline
    paulf
    wrote on last edited by
    #1

    For a long time I used Netbeans cnd for my C and C++ development IDE. Since cnd has been in the long grass for several years now there have been no updates for it (like C++17 and clang tools) and the old Oracle version won't even start with the latest JDK.

    So at the end of 2019 I started looking at moving to Qt Creator.

    There are a few things that I miss from Netbeans though.

    • Tighter SCM integration. In Qt Creator, this seems to be just tacked on to a menu. In Netbeans I can immediately see which files and lines have been modified.
    • Project creation works much better for existing projects. I can so something like "make clean ; make all > make.log" and then create a project and tell netbeans to parse make.log to get all of the source files and per-file compiler options. Our build system uses separate SCM abd build directories, but there are symlinks left right and centre. If I do "Import Existing Project" and just accept all of the directories I can end up with up to 10 duplicates of some directories due to the symlinks.
    • Macro expansion view (Eclipse also has a similar feature). I didn't use it often, but when I needed it it's much nicer than having to run 'gcc -E' on the command line and then try to find the part I'm looking for.

    Any comments or suggestions that would improve my experience?

    JKSHJ 1 Reply Last reply
    0
    • P paulf

      For SCM, shortcuts will make things quicker, but I find it all very static and more or less just displaying what I'd see from a shell. With netbeans

      • In the editor panel I can see which lines have been added, deleted and changed and can easily undo.
      • I can edit within diffs
      • I can double click modified files in the status panel to open them

      I hadn't seen the F2 expansion. It's not too bad, though multiline macros seem to have extra blank lines. Really big macros (and in our old code we have some that expand to several pages of text) won't work so well in a tooltip. But I think that this is good enough, and has the advantage of being dynamic and not requiring a panel.

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #4

      @paulf said in Migration from Netbeans to Qt Creator:

      For SCM, shortcuts will make things quicker, but I find it all very static and more or less just displaying what I'd see from a shell. With netbeans

      • In the editor panel I can see which lines have been added, deleted and changed and can easily undo.
      • I can edit within diffs
      • I can double click modified files in the status panel to open them

      Those do sound like very useful features. I'm not aware of anything similar in Qt Creator at the moment; please post a feature request at https://bugreports.qt.io

      I hadn't seen the F2 expansion. It's not too bad, though multiline macros seem to have extra blank lines. Really big macros (and in our old code we have some that expand to several pages of text) won't work so well in a tooltip. But I think that this is good enough, and has the advantage of being dynamic and not requiring a panel.

      Looking back, my previous post should've said "click on the macro and press F2".

      To see the tooltip, you just need to hover your cursor -- no keypress required. Click + F2 takes you to the macro definition, which might work better for your really big macros.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      P 1 Reply Last reply
      1
      • P paulf

        For a long time I used Netbeans cnd for my C and C++ development IDE. Since cnd has been in the long grass for several years now there have been no updates for it (like C++17 and clang tools) and the old Oracle version won't even start with the latest JDK.

        So at the end of 2019 I started looking at moving to Qt Creator.

        There are a few things that I miss from Netbeans though.

        • Tighter SCM integration. In Qt Creator, this seems to be just tacked on to a menu. In Netbeans I can immediately see which files and lines have been modified.
        • Project creation works much better for existing projects. I can so something like "make clean ; make all > make.log" and then create a project and tell netbeans to parse make.log to get all of the source files and per-file compiler options. Our build system uses separate SCM abd build directories, but there are symlinks left right and centre. If I do "Import Existing Project" and just accept all of the directories I can end up with up to 10 duplicates of some directories due to the symlinks.
        • Macro expansion view (Eclipse also has a similar feature). I didn't use it often, but when I needed it it's much nicer than having to run 'gcc -E' on the command line and then try to find the part I'm looking for.

        Any comments or suggestions that would improve my experience?

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #2

        @paulf said in Migration from Netbeans to Qt Creator:

        • Tighter SCM integration. In Qt Creator, this seems to be just tacked on to a menu. In Netbeans I can immediately see which files and lines have been modified.

        Keyboard shortcuts might make things better.

        (On Windows) Open a file that has been modified and try pressing Alt+G, Alt+D. Then, press Ctrl+W when done.

        Other shortcuts are displayed in Tools -> Git -> Current File and similar.

        • Macro expansion view (Eclipse also has a similar feature). I didn't use it often, but when I needed it it's much nicer than having to run 'gcc -E' on the command line and then try to find the part I'm looking for.

        Try hovering your mouse cursor over the macro and pressing F2. See if you like that workflow.

        It also works on function definitions.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        2
        • P Offline
          P Offline
          paulf
          wrote on last edited by
          #3

          For SCM, shortcuts will make things quicker, but I find it all very static and more or less just displaying what I'd see from a shell. With netbeans

          • In the editor panel I can see which lines have been added, deleted and changed and can easily undo.
          • I can edit within diffs
          • I can double click modified files in the status panel to open them

          I hadn't seen the F2 expansion. It's not too bad, though multiline macros seem to have extra blank lines. Really big macros (and in our old code we have some that expand to several pages of text) won't work so well in a tooltip. But I think that this is good enough, and has the advantage of being dynamic and not requiring a panel.

          JKSHJ 1 Reply Last reply
          0
          • P paulf

            For SCM, shortcuts will make things quicker, but I find it all very static and more or less just displaying what I'd see from a shell. With netbeans

            • In the editor panel I can see which lines have been added, deleted and changed and can easily undo.
            • I can edit within diffs
            • I can double click modified files in the status panel to open them

            I hadn't seen the F2 expansion. It's not too bad, though multiline macros seem to have extra blank lines. Really big macros (and in our old code we have some that expand to several pages of text) won't work so well in a tooltip. But I think that this is good enough, and has the advantage of being dynamic and not requiring a panel.

            JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #4

            @paulf said in Migration from Netbeans to Qt Creator:

            For SCM, shortcuts will make things quicker, but I find it all very static and more or less just displaying what I'd see from a shell. With netbeans

            • In the editor panel I can see which lines have been added, deleted and changed and can easily undo.
            • I can edit within diffs
            • I can double click modified files in the status panel to open them

            Those do sound like very useful features. I'm not aware of anything similar in Qt Creator at the moment; please post a feature request at https://bugreports.qt.io

            I hadn't seen the F2 expansion. It's not too bad, though multiline macros seem to have extra blank lines. Really big macros (and in our old code we have some that expand to several pages of text) won't work so well in a tooltip. But I think that this is good enough, and has the advantage of being dynamic and not requiring a panel.

            Looking back, my previous post should've said "click on the macro and press F2".

            To see the tooltip, you just need to hover your cursor -- no keypress required. Click + F2 takes you to the macro definition, which might work better for your really big macros.

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            P 1 Reply Last reply
            1
            • JKSHJ JKSH

              @paulf said in Migration from Netbeans to Qt Creator:

              For SCM, shortcuts will make things quicker, but I find it all very static and more or less just displaying what I'd see from a shell. With netbeans

              • In the editor panel I can see which lines have been added, deleted and changed and can easily undo.
              • I can edit within diffs
              • I can double click modified files in the status panel to open them

              Those do sound like very useful features. I'm not aware of anything similar in Qt Creator at the moment; please post a feature request at https://bugreports.qt.io

              I hadn't seen the F2 expansion. It's not too bad, though multiline macros seem to have extra blank lines. Really big macros (and in our old code we have some that expand to several pages of text) won't work so well in a tooltip. But I think that this is good enough, and has the advantage of being dynamic and not requiring a panel.

              Looking back, my previous post should've said "click on the macro and press F2".

              To see the tooltip, you just need to hover your cursor -- no keypress required. Click + F2 takes you to the macro definition, which might work better for your really big macros.

              P Offline
              P Offline
              paulf
              wrote on last edited by
              #5

              @JKSH
              I will log a feature request.

              JKSHJ 1 Reply Last reply
              1
              • P paulf

                @JKSH
                I will log a feature request.

                JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by JKSH
                #6

                @paulf said in Migration from Netbeans to Qt Creator:

                I will log a feature request.

                Great, thanks! When you do, please post a link to the request here, so that others who are interested in the feature can follow it or vote for it.

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                P 1 Reply Last reply
                3
                • JKSHJ JKSH

                  @paulf said in Migration from Netbeans to Qt Creator:

                  I will log a feature request.

                  Great, thanks! When you do, please post a link to the request here, so that others who are interested in the feature can follow it or vote for it.

                  P Offline
                  P Offline
                  paulf
                  wrote on last edited by aha_1980
                  #7

                  @JKSH

                  Here is the link

                  https://bugreports.qt.io/browse/QTCREATORBUG-23771

                  [edit aha_1980: simplified link]

                  1 Reply Last reply
                  2

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved