← Back to team overview

kicad-developers team mailing list archive

Re: Debugging Kicad, can this be done with Qt creator?


Thank you Mario,

I've first installed Cmake, and then made QtCreator aware of it using this manual: 

This works fine, but I now I'm using the mingw32 compiler from Qt. This compiler does not have the dependencies from the libraries Kicad uses.

Next step for me is to see if I can add some form of graphical debugger to MSYS2. This should be possible, as I can launch my compiled version of Kicad (which is a graphical program) from the MSYS2 command prompt.

PS, is it helpful, or harmful that I do a "reply all" instead of replying to only the development list?

>----Origineel Bericht----
>Van : mrluzeiro@xxxxx
>Datum : 19/12/2018 10:22
>Aan : kandrey89@xxxxxxxxx
>Cc : kicad-developers@xxxxxxxxxxxxxxxxxxx, cedric.dewijs@xxxxxxxxxx
>Onderwerp : Re: [Kicad-developers] Debugging Kicad, can this be done with Qt creator?
>No need to share project files, its as easy as:
>git clone kicad
>mkdir kicad\qtcreator
>Now create the build path/files with CMake as you normally do.
>QtCreator -> NewProject -> Import project -> Import Existing Project
>ProjectName: KiCad
>Location: kicad/qtcreator
>select kicad/qtcreator for now...
>Remove GIT if you do not want use it
>Go to project KiCad, right click, Add Existing Directory
>SourceDirectory: choose kicad main folder
>press StartParsing
>Checkbox the kicad folder in the list
>press OK
>( Wait.... )
>Go to Projects and use (or create) a Build settings that point to the Build directory that you previously created with the cmake.
>Other possible and more easy way with QT Creator is to just open the CMakefile as a project
>QtCreator -> Open project -> CMakeLists.txt
>then you must deal with cmake process, and thats it ...

Follow ups