Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
601983b
Add files via upload
NonaSuomy Apr 22, 2025
8946f43
Update 00_Download_Script.bat
NonaSuomy Apr 24, 2025
675119b
Update README.md
NonaSuomy Apr 25, 2025
0caf031
Update README.md
NonaSuomy Apr 26, 2025
afdfca0
Implement persistent directories_config.bat for Qt, workspace, and VS…
Apr 28, 2025
eb461fa
Added directories_config.bat
NonaSuomy Apr 28, 2025
f68f2a8
Update 00_Execute_Script.bat
NonaSuomy Apr 28, 2025
4f8e46a
Update 02_Download_Requirement_Files.bat
NonaSuomy Apr 28, 2025
988f6ce
Update 03_Install_Qt_653.bat
NonaSuomy Apr 28, 2025
6401065
Update 05_Extract_Requirement_Files.bat
NonaSuomy Apr 28, 2025
d93a8b1
Update 06_Download_from_Git.bat
NonaSuomy Apr 28, 2025
af0a580
Update directories_config.bat
NonaSuomy Apr 28, 2025
971eca0
Delete SendKeys_AltF4.vbs
NonaSuomy Apr 29, 2025
0341661
Delete SendKeys_Accept.vbs
NonaSuomy Apr 29, 2025
10bc39d
fixed line endings
NonaSuomy Jul 3, 2025
59fdcbe
Update 00_Download_Script.bat
NonaSuomy Jul 3, 2025
9ff341b
Update 00_Download_Script.bat
NonaSuomy Jul 3, 2025
36108f5
Add files via upload
NonaSuomy Jul 3, 2025
cfa48bf
Merge branch 'main' into pr-36
NonaSuomy Jul 3, 2025
11fd560
Update lf
NonaSuomy Jul 3, 2025
5f2e25f
Delete 05_Extract_Requirement_Files.bat.bak
NonaSuomy Jul 3, 2025
44e7281
Delete 09_Download_Fritzing_Source_code.bat.bak
NonaSuomy Jul 3, 2025
fbcf4ea
Delete 08_Fix_Library_place_Fritzing.bat.bak
NonaSuomy Jul 3, 2025
ba7b84c
Delete 07_Build_Library.bat.bak
NonaSuomy Jul 3, 2025
f574f04
Delete 06_Download_from_Git.bat.bak
NonaSuomy Jul 3, 2025
4a6af03
Delete 04_Install_Visual_Studio_Build_Tools_2019.bat.bak
NonaSuomy Jul 3, 2025
214225e
Delete 00_Download_Script.bat.bak
NonaSuomy Jul 3, 2025
a7ea1ed
Delete 00_Execute_Script.bat.bak
NonaSuomy Jul 3, 2025
310c514
Delete 01_Create_Build_directory.bat.bak
NonaSuomy Jul 3, 2025
50d146e
Delete 02_Download_Requirement_Files.bat.bak
NonaSuomy Jul 3, 2025
ae02ccc
Delete 03_Install_Qt_653.bat.bak
NonaSuomy Jul 3, 2025
b70b3ae
Delete 10_Download_Fritzing_Parts_Library.bat.bak
NonaSuomy Jul 3, 2025
ebd0e2c
Delete 11_Fix_Fritzing_Source_code.bat.bak
NonaSuomy Jul 3, 2025
66d67d0
Delete 12_Fix_Fritzing_Header_files.bat.bak
NonaSuomy Jul 3, 2025
6182bb2
Delete 13_Build_phoenix_pro_with_Qt.bat.bak
NonaSuomy Jul 3, 2025
4abb66f
Delete 15_Copy_Fritzing_Requirement_DLL_files.bat.bak
NonaSuomy Jul 3, 2025
1bfb753
Delete 16_Copy_Qt_Requirement_DLL_files.bat.bak
NonaSuomy Jul 3, 2025
c490523
Delete 17_1st_Build_Parts_DB_file.bat.bak
NonaSuomy Jul 3, 2025
382fdae
Delete 18_2nd_Launch_Fritzing.bat.bak
NonaSuomy Jul 3, 2025
2229d18
Delete 19_Organize_unnecessary_files.bat.bak
NonaSuomy Jul 3, 2025
01a6b1f
Delete 20_Create_Fritzing_zip_package.bat.bak
NonaSuomy Jul 3, 2025
a043bfe
Delete LICENSE.bak
NonaSuomy Jul 3, 2025
53f9bc2
Delete README.md.bak
NonaSuomy Jul 3, 2025
bb2373a
Delete SendKeys_Accept.vbs.bak
NonaSuomy Jul 3, 2025
5c4af37
Delete SendKeys_AltF4.vbs.bak
NonaSuomy Jul 3, 2025
3ce943d
Delete directories_config.bat.bak
NonaSuomy Jul 3, 2025
0eb1274
Update 00_Download_Script.bat
NonaSuomy Jul 3, 2025
bdb8714
Update 00_Execute_Script.bat
NonaSuomy Jul 3, 2025
66936bf
Update 01_Create_Build_directory.bat
NonaSuomy Jul 3, 2025
9cff7b2
Update 03_Install_Qt_653.bat
NonaSuomy Jul 3, 2025
581d157
Update 04_Install_Visual_Studio_Build_Tools_2019.bat
NonaSuomy Jul 3, 2025
54596d9
Update 05_Extract_Requirement_Files.bat
NonaSuomy Jul 3, 2025
d5e56f7
Update 06_Download_from_Git.bat
NonaSuomy Jul 3, 2025
c09743d
Update 07_Build_Library.bat
NonaSuomy Jul 3, 2025
e501059
Update 08_Fix_Library_place_Fritzing.bat
NonaSuomy Jul 3, 2025
ed8d5bf
Update 09_Download_Fritzing_Source_code.bat
NonaSuomy Jul 3, 2025
4275e36
Update 10_Download_Fritzing_Parts_Library.bat
NonaSuomy Jul 3, 2025
e673699
Update 11_Fix_Fritzing_Source_code.bat
NonaSuomy Jul 3, 2025
7c557de
Update 12_Fix_Fritzing_Header_files.bat
NonaSuomy Jul 3, 2025
969229e
Update 13_Build_phoenix_pro_with_Qt.bat
NonaSuomy Jul 3, 2025
fef0f43
Update 15_Copy_Fritzing_Requirement_DLL_files.bat
NonaSuomy Jul 3, 2025
fec49b1
Update 16_Copy_Qt_Requirement_DLL_files.bat
NonaSuomy Jul 3, 2025
cb56769
Update 17_1st_Build_Parts_DB_file.bat
NonaSuomy Jul 3, 2025
d92e792
Update 18_2nd_Launch_Fritzing.bat
NonaSuomy Jul 3, 2025
beb97f7
Update 19_Organize_unnecessary_files.bat
NonaSuomy Jul 3, 2025
bf00874
Update 20_Create_Fritzing_zip_package.bat
NonaSuomy Jul 3, 2025
5c0bbff
Update LICENSE
NonaSuomy Jul 3, 2025
bdfec2f
Update README.md
NonaSuomy Jul 3, 2025
6c77404
Update directories_config.bat
NonaSuomy Jul 3, 2025
a07e2f1
Update README.md
NonaSuomy Jul 3, 2025
8a4d657
Update 00_Execute_Script.bat
NonaSuomy Jul 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 58 additions & 2 deletions 00_Download_Script.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,45 @@ rem Copyright (c) 2023 FREE WING,Y.Sakamoto
echo %0
@echo off

rem Load configuration from directories_config.bat if it exists
rem Otherwise, use default values
if exist directories_config.bat (
echo Loading configuration from directories_config.bat
call directories_config.bat
) else (
echo directories_config.bat not found, creating with default values
rem Configure Qt installation directory (default is C:\Qt)
if "%QT_INSTALL_DIR%" == "" set QT_INSTALL_DIR=C:\Qt

rem Configure Fritzing workspace directory (default is \00_fritzing)
if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing

rem Configure Visual Studio installation directory
if "%VS_INSTALL_DIR%" == "" set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools

rem Create the configuration file
echo @echo off> directories_config.bat
echo rem directories_config.bat>> directories_config.bat
echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat
echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat
echo.>> directories_config.bat
echo rem Qt installation directory>> directories_config.bat
echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat
echo.>> directories_config.bat
echo rem Fritzing workspace directory>> directories_config.bat
echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat
echo.>> directories_config.bat
echo rem Visual Studio installation directory>> directories_config.bat
echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat
)
Comment on lines +8 to +38
Copy link
Owner

@FREEWING-JP FREEWING-JP Sep 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rem Load configuration from directories_config.bat if it exists
rem Otherwise, use default values
if exist directories_config.bat (
...
    echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat
)

change to
call directories_config.bat

Because Will change it to do the same processing in directories_config.bat , so can delete this section .


echo Using Qt installation directory: %QT_INSTALL_DIR%
echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR%
echo Using Visual Studio directory: %VS_INSTALL_DIR%

cd \
mkdir \00_fritzing
cd /d \00_fritzing
mkdir %FRITZING_WORKSPACE_DIR%
cd /d %FRITZING_WORKSPACE_DIR%

rem https://github.com/FREEWING-JP/CSharp_DownloadFile
rem echo C# DownloadFile from URL
Expand All @@ -32,3 +68,23 @@ UnZip.exe main.zip .
move Build-Fritzing-1.0.0-Windows-script-main\*.* .\
rmdir Build-Fritzing-1.0.0-Windows-script-main

rem Update directories_config.bat if it already exists
if not exist directories_config.bat (
rem Create the configuration file
echo @echo off> directories_config.bat
echo rem directories_config.bat>> directories_config.bat
echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat
echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat
echo.>> directories_config.bat
echo rem Qt installation directory>> directories_config.bat
echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat
echo.>> directories_config.bat
echo rem Fritzing workspace directory>> directories_config.bat
echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat
echo.>> directories_config.bat
echo rem Visual Studio installation directory>> directories_config.bat
echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat
echo.>> directories_config.bat
echo rem Created by 00_Download_Script.bat>> directories_config.bat
)
Comment on lines +71 to +89
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ask]
Does Need this section ??

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the file doesn't exist it creates it. Otherwise it will fail.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this section is not need .
Because directories_config.bat file always exists .


7 changes: 5 additions & 2 deletions 00_Execute_Script.bat
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
@echo off
rem 00_Execute_Script.bat
rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/
rem Copyright (c) 2023 FREE WING,Y.Sakamoto
rem Copyright (c) 2025 FREE WING,Y.Sakamoto
echo %0
cd /d \00_fritzing
rem Load configuration
if exist directories_config.bat call directories_config.bat
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if exist directories_config.bat call directories_config.bat
cange to
call directories_config.bat

The directories_config.bat file always exists, so there is no need to check for its existence .
Of course , this also applies to batch files 01 to 20 .


cd /d %FRITZING_WORKSPACE_DIR%

start /wait 02_Download_Requirement_Files.bat
start /wait 03_Install_Qt_653.bat
Expand Down
8 changes: 6 additions & 2 deletions 01_Create_Build_directory.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ rem 01_Create_Build_directory.bat
rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/
rem Copyright (c) 2023 FREE WING,Y.Sakamoto
echo %0
rem Configure Fritzing workspace directory (default is \00_fritzing)
if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing
echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR%

cd \
mkdir \00_fritzing
cd /d \00_fritzing
mkdir %FRITZING_WORKSPACE_DIR%
cd /d %FRITZING_WORKSPACE_DIR%

8 changes: 5 additions & 3 deletions 02_Download_Requirement_Files.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/
rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto
echo %0
timeout /T 10 /NOBREAK
cd /d \00_fritzing
rem Load configuration
if exist directories_config.bat call directories_config.bat

cd /d %FRITZING_WORKSPACE_DIR%

rem https://git-scm.com/download/win
echo Git - Downloading Package Download for Windows
Expand Down Expand Up @@ -82,5 +85,4 @@ echo ===
echo Download Error
echo ===
rundll32 user32.dll,MessageBeep
pause

pause
Comment on lines -86 to +88
Copy link
Owner

@FREEWING-JP FREEWING-JP Sep 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is abnormal for differences to occur in this location .
Please return to a state where there are no differences .
(When there are strange differences like this , I lose the desire to review .)

image

14 changes: 10 additions & 4 deletions 03_Install_Qt_653.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ timeout /T 10 /NOBREAK
@echo off
cd /d \00_fritzing

if exist "C:\Qt\6.5.3\msvc2019_64" exit
rem Load Qt directory configuration
if exist directories_config.bat call directories_config.bat

if exist "%QT_INSTALL_DIR%\6.5.3\msvc2019_64" exit


echo .
Expand Down Expand Up @@ -64,7 +67,7 @@ pause
:auto_accept

echo cd /d %cd%>qt_inst.bat
echo qt-unified-windows-x64-4.6.1-online.exe --root C:\Qt ^^>>qt_inst.bat
echo qt-unified-windows-x64-4.6.1-online.exe --root %QT_INSTALL_DIR% ^^>>qt_inst.bat
echo --email %Qt_email% ^^>>qt_inst.bat
echo --pw %Qt_passw% ^^>>qt_inst.bat
echo --accept-licenses ^^>>qt_inst.bat
Expand All @@ -79,12 +82,15 @@ echo install qt.qt6.653.qt5compat>>qt_inst.bat

start /wait powershell "Start-Process -FilePath 'qt_inst.bat' -WorkingDirectory '%cd%' -Verb RunAs -Wait"

if exist C:\Qt\Tools\QtCreator\bin\jom\jom.exe goto end
if exist %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe goto end

echo QtCreator jom.exe
cd /d \00_fritzing
if not exist jom_1_1_4.zip DownloadFile https://download.qt.io/official_releases/jom/jom_1_1_4.zip jom_1_1_4.zip
UnZip.exe jom_1_1_4.zip C:\Qt\Tools\QtCreator\bin\jom\

rem Create jom directory if it doesn't exist
if not exist %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom mkdir %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom
UnZip.exe jom_1_1_4.zip %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\

:end
exit
Expand Down
8 changes: 6 additions & 2 deletions 04_Install_Visual_Studio_Build_Tools_2019.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/
rem Copyright (c) 2023 FREE WING,Y.Sakamoto
echo %0
timeout /T 10 /NOBREAK
cd /d \00_fritzing
rem Load configuration
if exist directories_config.bat call directories_config.bat

if exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools" exit
cd /d %FRITZING_WORKSPACE_DIR%

if exist "%VS_INSTALL_DIR%" exit


@echo off
Expand Down Expand Up @@ -49,6 +52,7 @@ echo } >> VSBT_VS2019.vsconfig

set VSDIR=%cd%
vs_BuildTools_2019.exe --config %VSDIR%\VSBT_VS2019.vsconfig ^
--installPath "%VS_INSTALL_DIR%" ^
--norestart --passive --wait

exit
Expand Down
8 changes: 6 additions & 2 deletions 05_Extract_Requirement_Files.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/
rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto
echo %0
timeout /T 10 /NOBREAK
cd /d \00_fritzing
rem Load configuration
if exist directories_config.bat call directories_config.bat

cd /d %FRITZING_WORKSPACE_DIR%

UnZip.exe boost_1_85_0.zip .

Expand Down Expand Up @@ -55,8 +58,9 @@ echo 7z2301-x64.exe /S /D=%cd%\7z>>7z_inst.bat

start /wait powershell "Start-Process -FilePath '7z_inst.bat' -WorkingDirectory '%cd%' -Verb RunAs -Wait"



.\7z\7z x PortableGit-2.42.0.2-64-bit.7z.exe -o.\PortableGit
.\7z\7z x ngspice-42_dll_64.7z -o.\

exit

5 changes: 4 additions & 1 deletion 06_Download_from_Git.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/
rem Copyright (c) 2023 FREE WING,Y.Sakamoto
echo %0
timeout /T 10 /NOBREAK
cd /d \00_fritzing
rem Load configuration
if exist directories_config.bat call directories_config.bat

cd /d %FRITZING_WORKSPACE_DIR%

Path=%cd%\PortableGit\bin;%Path%

Expand Down
9 changes: 6 additions & 3 deletions 07_Build_Library.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/
rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto
echo %0
timeout /T 10 /NOBREAK
cd /d \00_fritzing
rem Load configuration
if exist directories_config.bat call directories_config.bat

cd /d %FRITZING_WORKSPACE_DIR%

Path=%cd%\PortableGit\bin;%Path%

rem Visual Studio 2019 Build Tools
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\VsDevCmd.bat"
call "%VS_INSTALL_DIR%\Common7\Tools\VsDevCmd.bat"

echo Build Boost
cd boost_1_85_0
Expand Down Expand Up @@ -70,7 +73,7 @@ cd quazip-1.4

dir ..\zlib-src\build64\Release\zlib.lib

set Qt6_DIR=C:\Qt\6.5.3\msvc2019_64
set Qt6_DIR=%QT_INSTALL_DIR%\6.5.3\msvc2019_64
dir %Qt6_DIR%

rmdir /S /Q build64
Expand Down
5 changes: 4 additions & 1 deletion 08_Fix_Library_place_Fritzing.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/
rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto
echo %0
timeout /T 10 /NOBREAK
cd /d \00_fritzing
rem Load configuration
if exist qt_config.bat call qt_config.bat

cd /d %FRITZING_WORKSPACE_DIR%

dir .\quazip-6.5.3-1.4\include\QuaZip-Qt6-1.4\quazip
xcopy .\quazip-6.5.3-1.4\include\QuaZip-Qt6-1.4\quazip .\quazip-6.5.3-1.4\include\quazip\
Expand Down
5 changes: 4 additions & 1 deletion 09_Download_Fritzing_Source_code.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/
rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto
echo %0
timeout /T 10 /NOBREAK
cd /d \00_fritzing
rem Load configuration
if exist qt_config.bat call qt_config.bat

cd /d %FRITZING_WORKSPACE_DIR%

Path=%cd%\PortableGit\bin;%Path%

Expand Down
5 changes: 4 additions & 1 deletion 10_Download_Fritzing_Parts_Library.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/
rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto
echo %0
timeout /T 10 /NOBREAK
cd /d \00_fritzing
rem Load configuration
if exist qt_config.bat call qt_config.bat

cd /d %FRITZING_WORKSPACE_DIR%

Path=%cd%\PortableGit\bin;%Path%

Expand Down
5 changes: 4 additions & 1 deletion 11_Fix_Fritzing_Source_code.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/
rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto
echo %0
timeout /T 10 /NOBREAK
cd /d \00_fritzing
rem Load configuration
if exist qt_config.bat call qt_config.bat

cd /d %FRITZING_WORKSPACE_DIR%

cd fritzing-app

Expand Down
13 changes: 8 additions & 5 deletions 12_Fix_Fritzing_Header_files.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/
rem Copyright (c) 2023 FREE WING,Y.Sakamoto
echo %0
timeout /T 10 /NOBREAK
cd /d \00_fritzing
rem Load configuration
if exist directories_config.bat call directories_config.bat

cd /d %FRITZING_WORKSPACE_DIR%

Path=%cd%\PortableGit\bin;%Path%

Expand All @@ -25,15 +28,15 @@ exit
set currennt_dir=%cd%

echo qtenv2.bat
call C:\Qt\6.5.3\msvc2019_64\bin\qtenv2.bat
call %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qtenv2.bat

echo x64 Native Tools Command Prompt for VS 2019
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
call "%VS_INSTALL_DIR%\VC\Auxiliary\Build\vcvars64.bat"

cd /d %currennt_dir%

C:\Qt\6.5.3\msvc2019_64\bin\qmake.exe -o Makefile phoenix.pro "QMAKE_TARGET.arch=x86_64"
C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Debug compiler_uic_make_all
%QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qmake.exe -o Makefile phoenix.pro "QMAKE_TARGET.arch=x86_64"
%QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Debug compiler_uic_make_all
DIR ..\debug64\ui_*.h
xcopy ..\debug64\*.h ..\fritzing_h\
xcopy ..\fritzing_h\ ..\release64\
Expand Down
15 changes: 9 additions & 6 deletions 13_Build_phoenix_pro_with_Qt.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/
rem Copyright (c) 2023 FREE WING,Y.Sakamoto
echo %0
timeout /T 10 /NOBREAK
cd /d \00_fritzing
rem Load configuration
if exist directories_config.bat call directories_config.bat

cd /d %FRITZING_WORKSPACE_DIR%

Path=%cd%\PortableGit\bin;%Path%

Expand All @@ -16,27 +19,27 @@ git rev-parse --git-dir
set currennt_dir=%cd%

echo qtenv2.bat
call C:\Qt\6.5.3\msvc2019_64\bin\qtenv2.bat
call %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qtenv2.bat

echo x64 Native Tools Command Prompt for VS 2019
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
call "%VS_INSTALL_DIR%\VC\Auxiliary\Build\vcvars64.bat"

cd /d %currennt_dir%

echo qmake
C:/Qt/6.5.3/msvc2019_64/bin/qmake.exe phoenix.pro ^
%QT_INSTALL_DIR%/6.5.3/msvc2019_64/bin/qmake.exe phoenix.pro ^
-spec win32-msvc ^
INCLUDEPATH+="..\ngspice-42\src\include"

rem Use svgpp 1.3.1
rem https://github.com/fritzing/fritzing-app/commit/0a53e1b4a5e9752a27d3f11157cc505f3691f20c
rem INCLUDEPATH+="..\svgpp-1.3.1\include"

C:/Qt/Tools/QtCreator/bin/jom/jom.exe qmake_all
%QT_INSTALL_DIR%/Tools/QtCreator/bin/jom/jom.exe qmake_all


echo Build
C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Release
%QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Release

cd ..

Expand Down
7 changes: 5 additions & 2 deletions 15_Copy_Fritzing_Requirement_DLL_files.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/
rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto
echo %0
timeout /T 10 /NOBREAK
cd /d \00_fritzing
rem Load configuration
if exist directories_config.bat call directories_config.bat

cd /d %FRITZING_WORKSPACE_DIR%

copy .\libgit2\build64\Release\git2.dll .\release64
copy .\zlib-src\build64\Release\zlib.dll .\release64
copy .\quazip-6.5.3-1.4\bin\quazip1-qt6.dll .\release64
copy C:\Qt\6.5.3\msvc2019_64\bin\Qt6Core5Compat.dll .\release64
copy %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\Qt6Core5Compat.dll .\release64

rem for Simulate function
copy .\Spice64_dll\dll-vs\*.dll .\release64
Expand Down
Loading