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. Creator has dependency analysis capabilities for individual Fortran, C and C++ source code files?
Forum Updated to NodeBB v4.3 + New Features

Creator has dependency analysis capabilities for individual Fortran, C and C++ source code files?

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 4 Posters 3.1k Views 2 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.
  • N Offline
    N Offline
    Need4Speak
    wrote on last edited by
    #1

    My current work is transplanting one project in Netbeans to Qt Creator, and Netbeans provides automatic dependency checking, so the dependency checking of CMake would not work. My question is weather Qt Creator has dependency analysis capabilities for individual Fortran, C and C++ source code files without CMake?

    kshegunovK 1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      QtCreator is just an IDE, it uses build systems to manage projects and their dependencies.
      You can use QMake or CMake.
      I'm quite sure that Netbeans uses a build system as well and does not track the dependencies by itself, but I may be wrong.

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

      N 1 Reply Last reply
      0
      • N Need4Speak

        My current work is transplanting one project in Netbeans to Qt Creator, and Netbeans provides automatic dependency checking, so the dependency checking of CMake would not work. My question is weather Qt Creator has dependency analysis capabilities for individual Fortran, C and C++ source code files without CMake?

        kshegunovK Offline
        kshegunovK Offline
        kshegunov
        Moderators
        wrote on last edited by
        #3

        @Need4Speak
        Talking about qmake (the build system that's usually used with QtCreator), yes it has dependency tree building, but for targets (binaries). Dependency for files makes no sense anyway.

        Read and abide by the Qt Code of Conduct

        N 1 Reply Last reply
        0
        • jsulmJ jsulm

          QtCreator is just an IDE, it uses build systems to manage projects and their dependencies.
          You can use QMake or CMake.
          I'm quite sure that Netbeans uses a build system as well and does not track the dependencies by itself, but I may be wrong.

          N Offline
          N Offline
          Need4Speak
          wrote on last edited by
          #4

          @jsulm,”Automatic dependency checking works for C/C++ projects that were created in the IDE (managed projects). The IDE builds dependency checking logic into the generated Makefile. “ at https://netbeans.org/kb/docs/cnd/depchecking.html. Does not it mean Netbeans track the dependencies by generate makefile? Does Qt Creator own ability like this? Thanks a lot for your reply. ( ^_^ )

          1 Reply Last reply
          0
          • kshegunovK kshegunov

            @Need4Speak
            Talking about qmake (the build system that's usually used with QtCreator), yes it has dependency tree building, but for targets (binaries). Dependency for files makes no sense anyway.

            N Offline
            N Offline
            Need4Speak
            wrote on last edited by
            #5

            @kshegunov , "NetBeans IDE supports automatic checking of file dependencies and does its best to make incremental rebuild work correctly." at "https://netbeans.org/kb/docs/cnd/depchecking.html". What i want to know is weather Qt Creattor support incremental build natively.:-)

            kshegunovK 1 Reply Last reply
            0
            • N Need4Speak

              @kshegunov , "NetBeans IDE supports automatic checking of file dependencies and does its best to make incremental rebuild work correctly." at "https://netbeans.org/kb/docs/cnd/depchecking.html". What i want to know is weather Qt Creattor support incremental build natively.:-)

              kshegunovK Offline
              kshegunovK Offline
              kshegunov
              Moderators
              wrote on last edited by
              #6

              @Need4Speak said:

              What i want to know is weather Qt Creattor support incremental build natively.:-)

              Although, the term "file dependency" is the first time I hear when talking about building, the answer is "Yes!". Qt Creator wouldn't be of much use if I had to rebuild whole projects for a missed brace, would it?
              It does that by default, you don't need to do anything but click "Build". When you want a full build, there's the "Full rebuild" option.

              Read and abide by the Qt Code of Conduct

              N 1 Reply Last reply
              0
              • kshegunovK kshegunov

                @Need4Speak said:

                What i want to know is weather Qt Creattor support incremental build natively.:-)

                Although, the term "file dependency" is the first time I hear when talking about building, the answer is "Yes!". Qt Creator wouldn't be of much use if I had to rebuild whole projects for a missed brace, would it?
                It does that by default, you don't need to do anything but click "Build". When you want a full build, there's the "Full rebuild" option.

                N Offline
                N Offline
                Need4Speak
                wrote on last edited by
                #7

                @kshegunov , thanks a lot, you help me! And could you please show some evidences so i can persuade my boss? Thanks again. :-)

                kshegunovK 1 Reply Last reply
                0
                • N Need4Speak

                  @kshegunov , thanks a lot, you help me! And could you please show some evidences so i can persuade my boss? Thanks again. :-)

                  kshegunovK Offline
                  kshegunovK Offline
                  kshegunov
                  Moderators
                  wrote on last edited by
                  #8

                  @Need4Speak

                  I don't have "proof" per se. You could browse the Qt Creator documentation though.

                  These might be of use:
                  http://doc.qt.io/qtcreator/creator-building-targets.html
                  http://doc.qt.io/qtcreator/creator-build-settings.html

                  Read and abide by the Qt Code of Conduct

                  N 1 Reply Last reply
                  0
                  • kshegunovK kshegunov

                    @Need4Speak

                    I don't have "proof" per se. You could browse the Qt Creator documentation though.

                    These might be of use:
                    http://doc.qt.io/qtcreator/creator-building-targets.html
                    http://doc.qt.io/qtcreator/creator-build-settings.html

                    N Offline
                    N Offline
                    Need4Speak
                    wrote on last edited by
                    #9

                    @kshegunov ,thanks, the “To build and clean projects without dependencies, select the Build Without Dependencies, Rebuild Without Dependencies, and Clean Without Dependencies options in the context menu in the Projects view.” at http://doc.qt.io/qtcreator/creator-building-targets.html helps. Furthermore, are there any other docs, references of Qt Creator which more detail than offical doc? Offical doc seems to simple than other IDEs' doc.

                    kshegunovK 1 Reply Last reply
                    0
                    • N Need4Speak

                      @kshegunov ,thanks, the “To build and clean projects without dependencies, select the Build Without Dependencies, Rebuild Without Dependencies, and Clean Without Dependencies options in the context menu in the Projects view.” at http://doc.qt.io/qtcreator/creator-building-targets.html helps. Furthermore, are there any other docs, references of Qt Creator which more detail than offical doc? Offical doc seems to simple than other IDEs' doc.

                      kshegunovK Offline
                      kshegunovK Offline
                      kshegunov
                      Moderators
                      wrote on last edited by
                      #10

                      @Need4Speak said:

                      To build and clean projects without dependencies, select the Build Without Dependencies, Rebuild Without Dependencies, and Clean Without Dependencies options in the context menu in the Projects view.

                      I suspect this is not what you're thinking of. These options are for ignoring the dependency tree for the projects (you can have multiple of those in one session) and building a single one, without the others. (http://doc.qt.io/qtcreator/creator-build-dependencies.html)
                      My advice would be to just download the IDE, try it out yourself on a few simple testing projects see if it works as you want.

                      Furthermore, are there any other docs, references of Qt Creator which more detail than offical doc? Offical doc seems to simple than other IDEs' doc.

                      I don't know of any, maybe besides the Qt wiki, but I don't often visit either.

                      Read and abide by the Qt Code of Conduct

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        Hi,

                        Official doc seems too simple ? Then it's a good news :)

                        More seriously, the goal of Qt Creator is to be simple to use and its documentation follows the same objective: be clear and easy to follow.

                        This allows for new comers to get started quickly and painlessly.

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        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