kicad-developers team mailing list archive
Mailing list archive
Re: Recipe for building Kicad on QT-Creator on Msys2 (Windows)
Brian Piccioni <brian@xxxxxxxxxxxxxxxxxxxxx>, "kicad-developers@xxxxxxxxxxxxxxxxxxx" <kicad-developers@xxxxxxxxxxxxxxxxxxx>
Mário Luzeiro <mrluzeiro@xxxxx>
Mon, 18 Nov 2019 13:10:16 +0000
i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ua.pt; dmarc=pass action=none header.from=ua.pt; dkim=pass header.d=ua.pt; arc=none
i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DWk9dPOrM+XtDel82jT5eE1rk+ai18ViP/uxygKo0WU=; b=YFEA15QPsa7uyGjzXAmQYMOjpcD76fVFiwdqB4u3ULugSmo2JgB0yu4TfzvR3FC6T+FUcAPCNAQJMkSNwr2uquKSaWigeDwXe2orU6VcD+Bf+EoRdRSkD85oXCYlVy5WEPrRBmcMjy7l7E6XKOIhCwg9D4dyEFU6iGn3ojE/JTbv/GuFMLiR2jiiwXfDoVqq6OhZ8XCr3jnAenAzJRobE6Ykkr4YQ5PAqWshpC0lNDHrVMd67E2ELn4ViBVvJKYdD9a4kd0ghxSfUwGIcFmLazf9TVh0tS3IpgZ/Gki7Ygzy4gXZtr/wX1AIgQ/to5PRi9N2CrJIH9YCKKeL5YJf2Q==
i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KdenfOzUIVRePrhXHJ4E1bSHpIVGvu5mb7ZdeT/CpFJG5fZ89qPpthv9dLiGu/m6PTEYpxaaWSX6jzBAqynOA+JHINXSPIwlpYhsEr69pgLESMEvD0FtvMmHIdx/9mi0GAnRXgQff68D0dJxcfeqzeV3r6hHuCkDqz8OLf+BSWDYaOYblltIiQkFN2kwhxj6MsNf4a+wXoMpbQjdaK0N3F6Hw55UzBPSOdE2JeFFVX6zVAwKkjF96dbPUJoDVYsqoeUTOE0kI4APzSZH+o084Aty6W1/DawjlSceH1ghda+XI5U50pypZuHvy+Ci3ApAmCh8FHvJtkD2DYIiSpdXAQ==
spf=none (sender IP is ) smtp.mailfrom=mrluzeiro@xxxxx;
[Kicad-developers] Recipe for building Kicad on QT-Creator on Msys2 (Windows)
it looks your wordpress URL is not OK.
Also, your text was clipped from the mailling list online history:
probably because your are pointing to a .exe file :/
Could you send again the correct URL for the documented procedure you did?
From: Kicad-developers <kicad-developers-bounces+mrluzeiro=ua.pt@xxxxxxxxxxxxxxxxxxx> on behalf of Brian Piccioni <brian@xxxxxxxxxxxxxxxxxxxxx>
Sent: 17 November 2019 15:04
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 \
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
Run qtcreator to make sure it works then exit 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)
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.