Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. I would like to try and use QT for my development IDE
Forum Updated to NodeBB v4.3 + New Features

I would like to try and use QT for my development IDE

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
9 Posts 3 Posters 1.4k 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.
  • R Offline
    R Offline
    RobM
    wrote on last edited by
    #1

    TBH I know how to use QT. Well, I know how to program QT GUI's; however, I have never used QT Creator. Is it possible to use QT creator much like I use Eclipse as a full blow IDE? Can it import an build an existing C/C++ QT application with its own existing makefile?

    For instance, if I want to import my application into eclipse its as easy as:

    File:New Project:C++ Project:Makefile project:Empty Project and I can select the toolchain (Linux GCC) in most instances. I can then specify a build command option say:

    ${ProjDirPath}/parmake -j %cpu_count% NOISY=1 DEVICE=P51

    and it will build the project just fine. Does QT Creator have a similar ability?

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

      Hi,

      I think most answers to your questions can be found in Qt Creator's manual.

      By the way, it's Qt, QT stands for Apple QuickTime.

      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 RobM

        TBH I know how to use QT. Well, I know how to program QT GUI's; however, I have never used QT Creator. Is it possible to use QT creator much like I use Eclipse as a full blow IDE? Can it import an build an existing C/C++ QT application with its own existing makefile?

        For instance, if I want to import my application into eclipse its as easy as:

        File:New Project:C++ Project:Makefile project:Empty Project and I can select the toolchain (Linux GCC) in most instances. I can then specify a build command option say:

        ${ProjDirPath}/parmake -j %cpu_count% NOISY=1 DEVICE=P51

        and it will build the project just fine. Does QT Creator have a similar ability?

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi @RobM,

        http://doc.qt.io/qtcreator/creator-project-generic.html is what you are searchin for ;)

        Btw: I use this everyday.

        Regards

        Qt has to stay free or it will die.

        1 Reply Last reply
        1
        • R Offline
          R Offline
          RobM
          wrote on last edited by
          #4

          I am in the Build Settings menu creating a Custom Process Step wondering about this Working Directory. It says:

          Working directory: %{buildDir}

          Should I just leave that be or do I need to specify a path of some sort?

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

            That variable will be automatically replaced by the folder you setup during the configuration phase of your project.

            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
            2
            • R Offline
              R Offline
              RobM
              wrote on last edited by
              #6

              Okay I managed to get it to compile. Does Qt creator have a 'Open Declaration' function or something similar? My code base is substantial something like 500+ C++ files. I need to be able to quickly identify how a function works and where the call is coming from or going too.

              aha_1980A 1 Reply Last reply
              0
              • R RobM

                Okay I managed to get it to compile. Does Qt creator have a 'Open Declaration' function or something similar? My code base is substantial something like 500+ C++ files. I need to be able to quickly identify how a function works and where the call is coming from or going too.

                aha_1980A Offline
                aha_1980A Offline
                aha_1980
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @RobM F2 or Ctrl+Click should do that. Best read the manual, there are tons of features not visible at firdt sight.

                Qt has to stay free or it will die.

                R 1 Reply Last reply
                1
                • aha_1980A aha_1980

                  @RobM F2 or Ctrl+Click should do that. Best read the manual, there are tons of features not visible at firdt sight.

                  R Offline
                  R Offline
                  RobM
                  wrote on last edited by
                  #8

                  @aha_1980 I wonder if my project isn't setup correctly then. For instance:

                  void ToolsViewConsoleAbout_MainPage::updateAutoSteerVerInfo()
                    {
                      m_autoSteerVerInfo = QLatin1String("");
                  
                      if (TJM::autoSteer().haveDevice())
                      {
                        m_autoSteerVerInfo = makeVersionString(TJM::autoSteer().firmwareVersion(),
                                                               TJM::autoSteer().protocolVersion(),
                                                               TJM::autoSteer().haveCompatibleDevice());
                      }
                  
                      retranslateDeviceInfo();
                    }
                  

                  Ctrl+Click isn't following: switchboxIsm(), firmwareVersion(), autoSteer() or haveCompatibleDevice() to their declarations. I am assuming this is because they are declared outside of this .cpp file in another .cpp (inside the same directory). Whereas, if I Ctrl+Click say: m_autoSteerVerInfo it will take me to the declaration inside of the current .cpp's header file.

                  aha_1980A 1 Reply Last reply
                  0
                  • R RobM

                    @aha_1980 I wonder if my project isn't setup correctly then. For instance:

                    void ToolsViewConsoleAbout_MainPage::updateAutoSteerVerInfo()
                      {
                        m_autoSteerVerInfo = QLatin1String("");
                    
                        if (TJM::autoSteer().haveDevice())
                        {
                          m_autoSteerVerInfo = makeVersionString(TJM::autoSteer().firmwareVersion(),
                                                                 TJM::autoSteer().protocolVersion(),
                                                                 TJM::autoSteer().haveCompatibleDevice());
                        }
                    
                        retranslateDeviceInfo();
                      }
                    

                    Ctrl+Click isn't following: switchboxIsm(), firmwareVersion(), autoSteer() or haveCompatibleDevice() to their declarations. I am assuming this is because they are declared outside of this .cpp file in another .cpp (inside the same directory). Whereas, if I Ctrl+Click say: m_autoSteerVerInfo it will take me to the declaration inside of the current .cpp's header file.

                    aha_1980A Offline
                    aha_1980A Offline
                    aha_1980
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @RobM

                    do you have . (for current directory) in your .includes file?

                    Regards

                    Qt has to stay free or it will die.

                    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