kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #38704
Re: Debugging Kicad, can this be done with Qt creator?
We also have a spare license or two for CLion.
Cheers,
Jeff.
> On 19 Dec 2018, at 09:22, Mário Luzeiro <mrluzeiro@xxxxx> wrote:
>
> 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
> (next)
>
> Files
> select kicad/qtcreator for now...
>
> (next)
> Remove GIT if you do not want use it
> Finish
>
> 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 ...
>
>
> Mario
>
> ________________________________________
> From: Andrey Kuznetsov <kandrey89@xxxxxxxxx>
> Sent: 19 December 2018 09:04:49
> To: Mário Luzeiro
> Cc: Kicad Developers; cedric.dewijs@xxxxxxxxxx
> Subject: Re: [Kicad-developers] Debugging Kicad, can this be done with Qt creator?
>
> I wish there was a setup environment already that I could just download and run...
> I used to code with Qt but now setting up projects, much less with Makefiles is like learning bash all over again.
>
> On Wed, Dec 19, 2018 at 12:55 AM Mário Luzeiro <mrluzeiro@xxxxx<mailto:mrluzeiro@xxxxx>> wrote:
> I used Qt Creator to develop for KiCad.
> You just need to create a project that builds with a Makefile (not a QT project but a Makefile project), you can have multiple build targets ( Release, Debug ) then you can debug the Debug exec. You can set the target executable and exec path to debug (eg: kicad, pcbnew, etc)
>
> Tip: remember to add -jx (where x is your CPU number) to the makefile extra arguments.
>
> Cheers,
> Mario
>
> ________________________________________
> From: Kicad-developers <kicad-developers-bounces+mrluzeiro=ua.pt@xxxxxxxxxxxxxxxxxxx<mailto:ua.pt@xxxxxxxxxxxxxxxxxxx>> on behalf of cedric.dewijs@xxxxxxxxxx<mailto:cedric.dewijs@xxxxxxxxxx> <cedric.dewijs@xxxxxxxxxx<mailto:cedric.dewijs@xxxxxxxxxx>>
> Sent: 19 December 2018 08:21:12
> To: kicad-developers@xxxxxxxxxxxxxxxxxxx<mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> Subject: [Kicad-developers] Debugging Kicad, can this be done with Qt creator?
>
> Hi All,
>
> I would like to set breakpoints in the Kicad source, and then run a graphical debugger. I know how to set this up with Qt projects in Qt creator. What's your method? Is qt a workable solution, or should I use ecipse? I'm on Windows 7, with msys2
>
> Cheers,
> Cedric
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx<mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
>
> --
> Remember The Past, Live The Present, Change The Future
> Those who look only to the past or the present are certain to miss the future [JFK]
>
> kandrey89@xxxxxxxxx<mailto:kandrey89@xxxxxxxxx>
> Live Long and Prosper,
> Andrey
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
References