-
Notifications
You must be signed in to change notification settings - Fork 0
Home
April 16, 2022
I initially followed these instructions, dated 2022-02-28:
https://intantech.com/files/Intan_RHX_source_code_setup.pdf
which recommends installing these components:
- Qt Creator 4.14.0
- Qt 64-bit 5.12.8
- MSVC 2017 64-bit (Microsoft Visual C++ Compiler 16.5.30011.22 (x86_amd64))
Steps taken:
-
Get Qt Online Installer:
-
Custom install, checked "Archive" and re-ran 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
-
Launched Qt Creator.
-
File > Open File or Project
, selectedIntanRHX.pro
from the Intan-RHX repo. -
"Configure Project", selected only option: "Desktop Qt 5.12.8 MSVC2017 64bit"
-
Changed Debug to Release in the bottom-left corner, above the "Run" button (green arrow).
-
Clicked the "Build Project" button in bottom-left corner (hammer).
-
Clicked the "Run" button in bottom-left corner (green arrow).
Worked, but got non-fatal errors at runtime: "Cannot load kernel file to read. Is kernel.cl present?". The instructions suggested this might happen. Clicking past these message allowed the program to run anyway.
-
Added this to the end of my Path environment variable:
C:\Qt\5.12.8\msvc2017_64\bin
-
Opened the command prompt, and then created a deployable directory with the application:
cd C:\Users\jeffr\Documents\Research\Intan-RHX\build-IntanRHX-Desktop_Qt_5_12_8_MSVC2017_64bit-Release windeployqt --dir release-deploy release\IntanRHX.exe cp release\IntanRHX.exe ..\Intan-RHX\kernel.cl ..\Intan-RHX\libraries\Windows\okFrontPanel.dll release-deploy
-
Tested that double-clicking the application from the
release-deploy
directory worked. -
Renamed the
release-deploy
directory to include the version name and zipped it for distribution.