Skip to content

Commit

Permalink
Windows DLL Hassles
Browse files Browse the repository at this point in the history
The Windows build was forgetting to update some DLLs.  This changes the build script to force it, repairing Windows release builds.
  • Loading branch information
travisgoodspeed committed Dec 7, 2023
1 parent 8e50702 commit a372db6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion buildrelease.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ REM Delete old build.
rmdir /s /q build
rmdir /s /q Release


REM Import the Qt and VS2022 paths.
set PATH=C:\Qt\Tools\CMake_64\bin;C:\Qt\6.6.1\msvc2019_64\bin;%PATH%
REM "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat"
Expand All @@ -24,10 +25,14 @@ cd ..

REM Adding files that windeployqt forgets.
copy C:\Qt\6.6.1\msvc2019_64\bin\Qt6Charts.dll Release\
copy C:\Qt\6.6.1\msvc2019_64\bin\Qt6OpenGL.dll Release\
copy C:\Qt\6.6.1\msvc2019_64\bin\Qt6OpenGLWidgets.dll Release\
copy C:\Qt\6.6.1\msvc2019_64\bin\Qt6Widgets.dll Release\
copy C:\Qt\6.6.1\msvc2019_64\bin\Qt6Gui.dll Release\

copy C:\Qt\6.6.1\msvc2019_64\bin\Qt6PrintSupport.dll Release\
copy C:\Qt\6.6.1\msvc2019_64\bin\Qt6Pdf.dll Release\
copy C:\Qt\6.6.1\msvc2019_64\bin\Qt6Svg.dll Release\
copy C:\Qt\6.6.1\msvc2019_64\bin\Qt6Core.dll Release\

echo Finishing packing Release. Now making installer.

Expand Down

0 comments on commit a372db6

Please sign in to comment.