Re: [Kicad-developers] Recipe for building Kicad on QT-Creator on Msys2 (Windows)
Hi Brian, it looks your wordpress URL is not OK. Also, your text was clipped from the mailling list online history: https://lists.launchpad.net/kicad-developers/msg42635.html probably because your are pointing to a .exe file :/ Could you send again the correct URL for the documented procedure you did? Mario Luzeiro From: Kicad-developers on behalf of Brian Piccioni Sent: 17 November 2019 15:04 To: kicad-developers@lists.launchpad.net Subject: [Kicad-developers] Recipe for building Kicad on QT-Creator on Msys2 (Windows) In case anybody is interested I managed to use the QT-Creator IDE to build Kicad on Windows. I documented the procedure here https://wordpress.com/post/documenteddesigns.com/483. But for posterity (and to make it easier to find) I’ve included it below. Note that this only seems to work with the Msys2 version of QT-Creator, not the Windows version of QT-Creator even if Msys2 is installed. Unfortunately this took a day and a half to figure out. I almost succeed with the QT-Creator on Windows (I actually got about 33% through the compile) but, as I mentioned I forgot to document what I done. First install Msys2 (see http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe ) Everything below is from a mingw64 terminal window. It does not seem to work if you pick from the Msys2 pop-up. I show 64 bit development because that is what is recommended. Similar steps would apply to a 32 bit development environment. There may be redundant or unnecessary steps in this recipe. I completely deleted Msys2 a few times and re-ran this procedure but there are only so many hours in a day. >From the Mingw64 terminal (comments marked by //) pacman -Syuu //Answer yes to remove conflicts close the window via task manager when done pacman -Syuu //Takes a long time close the window via task manager when done pacman -Syuu //To make sure all is up to date Copy and paste the following lines into your Mingw64 terminal (all the way from pacman -S to the blank line) pacman -S base-devel \ git \ mingw-w64-x86_64-cmake \ mingw-w64-x86_64-doxygen \ mingw-w64-x86_64-gcc \ mingw-w64-x86_64-python2 \ mingw-w64-x86_64-pkg-config \ mingw-w64-x86_64-swig \ mingw-w64-x86_64-boost \ mingw-w64-x86_64-cairo \ mingw-w64-x86_64-glew \ mingw-w64-x86_64-curl \ mingw-w64-x86_64-wxPython \ mingw-w64-x86_64-wxWidgets \ mingw-w64-x86_64-toolchain \ mingw-w64-x86_64-glm \ mingw-w64-x86_64-oce \ mingw-w64-x86_64-ngspice mercurial \ cvs \ p7zip \ ruby \ mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain Now copy these lines one at a time (it may be possible to combine these with the above) pacman -S mingw-w64-i686-qt-creator mingw-w64-x86_64-qt-creator pacman -S mingw-w64-x86_64-clang pacman -Syuu Run qtcreator to make sure it works then exit qtcreator. qtcreator Download source files eg kicad-5.1.4.tar.xz into a suitable location such as /home source files can be found at http://kicad-pcb.org/download/source/ then tar -xaf kicad-5.1.4.tar.xz Run qtcreator from the ming64 terminal (for some reason, it doesn’t work if you pin it to the taskbar) qtcreator Select Open File or Project and open the Kicad source directory. Wait for it to parse Note that QT will make its own build directory. This doesn’t seem to matter. Select Build, rebuild project. On my laptop it takes about 2 hours to build. ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Recipe for building Kicad on QT-Creator on Msys2 (Windows)
Mario Sure! https://documenteddesigns.com/2019/11/17/building-kicad-with-qt-creator-on-windows-msys2/ BTW I will probably revise because I forgot a few easy details and want it to be complete. Brian From: Mário LuzeiroSent: November 18, 2019 8:10 AMTo: Brian Piccioni; kicad-developers@lists.launchpad.netSubject: Re: [Kicad-developers] Recipe for building Kicad on QT-Creator on Msys2 (Windows) Hi Brian, it looks your wordpress URL is not OK.Also, your text was clipped from the mailling list online history:https://lists.launchpad.net/kicad-developers/msg42635.html probably because your are pointing to a .exe file :/ Could you send again the correct URL for the documented procedure you did? Mario Luzeiro From: Kicad-developers on behalf of Brian Piccioni Sent: 17 November 2019 15:04To: kicad-developers@lists.launchpad.netSubject: [Kicad-developers] Recipe for building Kicad on QT-Creator on Msys2 (Windows) In case anybody is interested I managed to use the QT-Creator IDE to build Kicad on Windows. I documented the procedure here https://wordpress.com/post/documenteddesigns.com/483. But for posterity (and to make it easier to find) I’ve included it below. Note that this only seems to work with the Msys2 version of QT-Creator, not the Windows version of QT-Creator even if Msys2 is installed. Unfortunately this took a day and a half to figure out. I almost succeed with the QT-Creator on Windows (I actually got about 33% through the compile) but, as I mentioned I forgot to document what I done. First install Msys2 (see http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe ) Everything below is from a mingw64 terminal window. It does not seem to work if you pick from the Msys2 pop-up. I show 64 bit development because that is what is recommended. Similar steps would apply to a 32 bit development environment. There may be redundant or unnecessary steps in this recipe. I completely deleted Msys2 a few times and re-ran this procedure but there are only so many hours in a day. From the Mingw64 terminal (comments marked by //) pacman -Syuu //Answer yes to remove conflicts close the window via task manager when done pacman -Syuu //Takes a long time close the window via task manager when done pacman -Syuu //To make sure all is up to date Copy and paste the following lines into your Mingw64 terminal (all the way from pacman -S to the blank line) pacman -S base-devel \git \mingw-w64-x86_64-cmake \mingw-w64-x86_64-doxygen \mingw-w64-x86_64-gcc \mingw-w64-x86_64-python2 \mingw-w64-x86_64-pkg-config \mingw-w64-x86_64-swig \mingw-w64-x86_64-boost \mingw-w64-x86_64-cairo \mingw-w64-x86_64-glew \mingw-w64-x86_64-curl \mingw-w64-x86_64-wxPython \mingw-w64-x86_64-wxWidgets \mingw-w64-x86_64-toolchain \mingw-w64-x86_64-glm \mingw-w64-x86_64-oce \mingw-w64-x86_64-ngspicemercurial \cvs \p7zip \ruby \mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain Now copy these lines one at a time (it may be possible to combine these with the above) pacman -S mingw-w64-i686-qt-creator mingw-w64-x86_64-qt-creatorpacman -S mingw-w64-x86_64-clangpacman -Syuu Run qtcreator to make sure it works then exit qtcreator. qtcreator Download source files eg kicad-5.1.4.tar.xz into a suitable location such as /home source files can be found at http://kicad-pcb.org/download/source/ then tar -xaf kicad-5.1.4.tar.xz Run qtcreator from the ming64 terminal (for some reason, it doesn’t work if you pin it to the taskbar) qtcreator Select Open File or Project and open the Kicad source directory. Wait for it to parse Note that QT will make its own build directory. This doesn’t seem to matter. Select Build, rebuild project. On my laptop it takes about 2 hours to build. ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Recipe for building Kicad on QT-Creator on Msys2 (Windows)
BTW, I'm programming and debugging Kicad in Eclipse. If necessary, I can create instruction for tuning. ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Recipe for building Kicad on QT-Creator on Msys2 (Windows)
I would very much appreciate that and I think the community would as well! From: Dmitry RezvanovSent: November 18, 2019 8:22 AMTo: kicad-developers@lists.launchpad.netSubject: Re: [Kicad-developers] Recipe for building Kicad on QT-Creator on Msys2 (Windows) BTW, I'm programming and debugging Kicad in Eclipse.If necessary, I can create instruction for tuning. ___Mailing list: https://launchpad.net/~kicad-developersPost to : kicad-developers@lists.launchpad.netUnsubscribe : https://launchpad.net/~kicad-developersMore help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Recipe for building Kicad on QT-Creator on Msys2 (Windows)
I would very much appreciate that and I think many devs would as well. Some of us are not as experienced as others ... From: Dmitry RezvanovSent: November 18, 2019 8:22 AMTo: kicad-developers@lists.launchpad.netSubject: Re: [Kicad-developers] Recipe for building Kicad on QT-Creator on Msys2 (Windows) BTW, I'm programming and debugging Kicad in Eclipse.If necessary, I can create instruction for tuning. ___Mailing list: https://launchpad.net/~kicad-developersPost to : kicad-developers@lists.launchpad.netUnsubscribe : https://launchpad.net/~kicad-developersMore help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Recipe for building Kicad on QT-Creator on Msys2 (Windows)
FWIW there are some tips on using eclipse at https://gist.github.com/johnbeard/895bad60e4716f7f9c77 On Mon, 18 Nov 2019 at 14:21, Dmitry Rezvanov wrote: > > BTW, I'm programming and debugging Kicad in Eclipse. > If necessary, I can create instruction for tuning. > > > ___ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Recipe for building Kicad on QT-Creator on Msys2 (Windows)
Thanks – I’ll have a look! From: Nick ØstergaardSent: November 18, 2019 2:29 PMTo: Dmitry RezvanovCc: KiCad DevelopersSubject: Re: [Kicad-developers] Recipe for building Kicad on QT-Creator on Msys2 (Windows) FWIW there are some tips on using eclipse athttps://gist.github.com/johnbeard/895bad60e4716f7f9c77 On Mon, 18 Nov 2019 at 14:21, Dmitry Rezvanov wrote:> > BTW, I'm programming and debugging Kicad in Eclipse.> If necessary, I can create instruction for tuning.> > > ___> Mailing list: https://launchpad.net/~kicad-developers> Post to : kicad-developers@lists.launchpad.net> Unsubscribe : https://launchpad.net/~kicad-developers> More help : https://help.launchpad.net/ListHelp ___Mailing list: https://launchpad.net/~kicad-developersPost to : kicad-developers@lists.launchpad.netUnsubscribe : https://launchpad.net/~kicad-developersMore help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Recipe for building Kicad on QT-Creator on Msys2 (Windows)
Oh, many thanks! I'm an idiot. I spent quite a lot of time for tuning Eclipse... 18.11.2019 23:26, Nick Østergaard пишет: FWIW there are some tips on using eclipse at https://gist.github.com/johnbeard/895bad60e4716f7f9c77 On Mon, 18 Nov 2019 at 14:21, Dmitry Rezvanov wrote: BTW, I'm programming and debugging Kicad in Eclipse. If necessary, I can create instruction for tuning. ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp