[Qt-creator] Clickable gcc output to go to error location
Tobias Hunger
tobias.hunger at nokia.com
Thu Feb 4 19:49:39 CET 2010
Hi Daniel!
Which Toolchain is selected for your project? (Project mode, General,
show details)
Which build steps are you using exactly? I assume a Make one?
QtCreator parses the output of the compiler. Which Output parser is used
depends on the toolchain as well as the make command. GCC should
noirmally work;-)
Best Regards,
Tobias
On 04.02.2010 16:27, ext Daniel Lidström wrote:
> Hello!
>
> I have recently tried out the excellent Qt Creator 1.3.1. It works very well for me on Ubuntu 9.10.
> However, when I compile my Makefile-based project that calls make, I am unable to click the output
> to go to error locations provided by gcc. This would be very useful, but I don't know the level of
> support. Here's a sample output from my compilation:
>
> Running build steps for project UMC3D...
> Starting: /usr/bin/make jam
> bjam toolset=gcc-4 -j3
> ...patience...
> ...patience...
> ...patience...
> ...patience...
> ...found 13499 targets...
> ...updating 13 targets...
> gcc.compile.c++ GeoROG/bin/gcc-4/debug/GeoWarningPopup.o
> /home/daniel/projects/workspaces/GEOROG-2598/GeoROG/GUI/Widget/GeoWarningPopup.cpp:111:2: warning: #warning We have to figure out a better way to handle the priorities
> In file included from /home/daniel/projects/workspaces/GEOROG-2598/GeoROG/GUI/Widget/GeoWarningPopup.cpp:15:
> GeoROG/Publisher/BucketControllerTopic.h:52: error: 'BucketTouchPoint' has not been declared
> GeoROG/Publisher/BucketControllerTopic.h:79: error: 'BucketTouchPoint' does not name a type
> GeoROG/Publisher/BucketControllerTopic.h:91: error: 'BucketTouchPoint' does not name a type
>
> "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -Winvalid-pch `pkg-config --cflags glib-2.0` `pkg-config --cflags libpng` -DBOOST_BUILD_PCH_ENABLED -DDEBUGMODE=0 -DGR_BUILD_TIME=1228923841 -DGR_MAJOR_VERSION=99 -DGR_MINOR_VERSION=99 -DGR_PATCH_VERSION=99 -DGR_SYSTEM_VERSION=9999 -DHAS_OBJECT_MANAGER -DMIKROFYN_GEOROG=NO -DNO_EXARDRV -DPRODUCT_VERSION='"Jam"' -DSEARCH_FOR_LOCK=0 -D_DEBUG -I"GeoROG/bin/gcc-4/debug" -I"/home/daniel/projects/Vendor/Alglib/2.0.0.stable" -I"/home/daniel/projects/Vendor/Boost/include/boost-1_37" -I"/home/daniel/projects/Vendor/LeicaAuth" -I"/home/daniel/projects/Vendor/LeicaTGS/trunk" -I"/home/daniel/projects/Vendor/newmat/11" -I"GFL" -I"GFL/CAN/include" -I"GFL/Convert/include" -I"GFL/Device/include" -I"GFL/Dialogs/include" -I"GFL/File/include" -I"GFL/FileCommunicator/include" -I"GFL/Kinematics/include" -I"GFL/LandXML/include" -I"GFL/Map/include" -I"GFL/Model/include" -I"GFL/ProtocolHandler/include" -I"GFL/Publisher/include" -I"GFL/Refe
renceModel/include" -I"GFL/Transform/include" -I"GFL/Xml/include" -I"GeoROG" -I"SBGFLTK" -c -o "GeoROG/bin/gcc-4/debug/GeoWarningPopup.o" "/home/daniel/projects/workspaces/GEOROG-2598/GeoROG/GUI/Widget/GeoWarningPopup.cpp"
>
> ...failed gcc.compile.c++ GeoROG/bin/gcc-4/debug/GeoWarningPopup.o...
> .
> .
> .
>
> My project uses Makefile to launch Boost Build. As you see the output is regular gcc, but I can't click to go to BucketControllerTopic.h line 52.
> Is there a way to enable this support?
>
> Thanks in advance!
>
> Regards,
>
> Daniel Lidström
> Stockholm, Sweden
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
More information about the Qt-creator-old
mailing list