-
Notifications
You must be signed in to change notification settings - Fork 0
Home
NOTE: This may also be a useful reference: https://intantech.com/files/Intan_RHX_source_code_setup.pdf
-
Installed Visual Studio Community 2022:
https://visualstudio.microsoft.com/
Using Visual Studio Installer, installed:
- Workloads:
- Desktop development with C++
- Workloads:
-
Installed Qt 5:
https://www.qt.io/download-qt-installer
Using Qt Online Installer for Windows, selected "Custom installation", checked "Archive" and re-ran the filter, then installed the following components:
- Qt 5.12.8:
- MSVC 2017 64-bit
- Developer and Designer Tools:
- Qt Creator 7.0.0 (items below were all selected automatically):
- Qt Creator 7.0.0 CDB Debugger Support
- Debugging Tools for Windows
- Qt Design Studio 3.2.0
- CMake 3.21.1 64-bit
- Ninja 1.10.2
- Qt Creator 7.0.0 (items below were all selected automatically):
- Qt 5.12.8:
-
Added this to the end of my Path environment variable:
C:\Qt\5.12.8\msvc2017_64\bin
-
Opened the "x64 Native Tools Command Prompt for VS 2022" prompt, and then built the application using my new Makefile:
cd C:\Users\jeffr\Documents\Research\Intan-RHX\Intan-RHX nmake -f Makefile.Win64
which is essentially the same as this (with extra steps like copying a README and license file):
cd C:\Users\jeffr\Documents\Research\Intan-RHX\Intan-RHX mkdir build cd build qmake ..\IntanRHX.pro nmake release windeployqt --dir release-deploy release\IntanRHX.exe cp release\IntanRHX.exe ..\kernel.cl ..\libraries\Windows\okFrontPanel.dll ..\FPGA-bitfiles\* release-deploy
-
Renamed and zipped the
release-deploy
directory for distribution.