I would like to try and use QT for my development IDE
-
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?
-
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.
-
Hi @RobM,
http://doc.qt.io/qtcreator/creator-project-generic.html is what you are searchin for ;)
Btw: I use this everyday.
Regards
-
That variable will be automatically replaced by the folder you setup during the configuration phase of your project.
-
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_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.