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. QT Creator, ClearCase, & Remote Cross Compilation.
QtWS25 Last Chance

QT Creator, ClearCase, & Remote Cross Compilation.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
8 Posts 2 Posters 2.6k 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.
  • R Offline
    R Offline
    RKing
    wrote on last edited by
    #1

    I've just started a new job at a company and I'm not sure if QT Creator is capable of handling their development environment, so I thought I'd ask and perhaps get some guidance.

    This is for a collection of applications and libraries, most of them embedded in a network appliance. The source tree is huge (over 400 gigabytes, and no I don't know why or even how much of that is significant at this point,) and heavily branched into dozens of directories.

    The code was created using Rational Rose and uses CleacCase's build system.

    The code is written in C and C++ and relies heavily in inheritance, so there's objects defined all over the place and include files are brought in from all over the place. The code set doesn't seem to be all that hierarchical or well-organized to me at this point.

    Here's the kicker. The code is built on Linux servers using a PowerPC toolkit that I don't have access to on my workstation. I can't build it locally.

    Can QT Creator and Clang still parse and understand the code set so I can still use QT Creator to navigate the code (VERY important for this new guy!) and refactor code (somewhat important.) I need to know if I'm wasting my time with QT Creator or should I move on to another IDE/editor.

    Please don't make me use grep and vi!

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

      Hi and welcome to devnet,

      One thing is not clear, are you editing the code locally and then have something like distcc running ?

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

      R 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        One thing is not clear, are you editing the code locally and then have something like distcc running ?

        R Offline
        R Offline
        RKing
        wrote on last edited by
        #3

        @SGaist Editing the code locally, and ssh-ing into a Red Hat Linux box to do the build using makefiles generated by ClearCase's build management system.

        (Please bear with me, I'm not 100% familiar with the system -- I've only been working here two weeks.)

        -- RK

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

          Did you already saw the ClearCase chapter of Qt Creator's documentation ?

          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
          1
          • R Offline
            R Offline
            RKing
            wrote on last edited by
            #5

            Integration with ClearCase is not the issue. Scanning the source code and parsing it for cross-referencing and refactoring is. The code is built on a remote Linux machine for an embedded PowerPC application. That remote Linux machine does not have QT Creator installed, otherwise I'd be running it there.

            Instead, I have the ClearCase VOB mounted on my Windows machine for editing the source files. Ideally I would like to use QT Creator for that, but I do NOT have the PowerPC tool chain available on the Windows machine.

            Are there any other alternatives I can use to successfully scan the source code for QT Creator on my Windows machine?

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

              Can you describe exactly what is not working currently ?

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

              R 1 Reply Last reply
              0
              • SGaistS SGaist

                Can you describe exactly what is not working currently ?

                R Offline
                R Offline
                RKing
                wrote on last edited by
                #7

                @SGaist I can't follow a variable to its declaration. I can't locate method declarations or definitions. I can't pull up a list of everywhere a symbol is used. (I haven't tried refactoring yet.)

                It seems to work partially in that I can sometimes track stuff down, but most of the time nothing happens.

                One quick question. Does QT Creator rely on an external compiler to generate the symbol database (or whatever QTC calls it,) or does it have an internal parser similar to what Slickedit uses?

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

                  The new code model is using the clang to parse the sources. See here for more details.

                  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