Actions
Howtos - Hack on Windows » History » Revision 110
« Previous |
Revision 110/115
(diff)
| Next »
Greg Burri, 05/21/2026 02:30 AM
Howtos - Hack on Windows 10 & 11¶
You need to:
- Install Git for Windows (needed by Tortoise Git) : https://gitforwindows.org/.
- Do not install in "Program files" or in a path which contains spaces. We recommend to install in
C:\git.
- Do not install in "Program files" or in a path which contains spaces. We recommend to install in
- Install Qt and Qt Creator from https://www.qt.io/download-qt-installer
- Select the latest version of MinGW 64 bits during installation (11.2.0 for instance)
- Install protobuf library source
- Download and uncompress the latest release from : https://github.com/protocolbuffers/protobuf/releases (for example:
protobuf-cpp-3.11.4.zip) - Rename the directory to
protobuf - Launch "Git Bash" and go to
/c/protobufthen type :$env.PATH = ($env.PATH | prepend ['C:\Qt\Tools\llvm-mingw1706_64\bin' 'C:\Qt\Tools\CMake_64\bin'])mkdir buildcd buildcmake .. -G "MingW Makefiles" -DCMAKE_BUILD_TYPE=Release -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_BUILD_SHARED_LIBS=OFF -DCMAKE_CXX_STANDARD=23 -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="-std=gnu++1z"make
- Download and uncompress the latest release from : https://github.com/protocolbuffers/protobuf/releases (for example:
- Git clone the repository :
- git://github.com/Ummon/D-LAN.git if you just want clone the repository (read-only).
- git@github.com:Ummon/D-LAN.git if you have a full access (read+write).
- Set up Qt Creator
- Launch Qt Creator
- Open the projects
d-lan/application/GUI.proandd-lan/application/Core.pro - For both projects:
- Uncheck Shadow build in the Build Settings tab.
- Add the argument
debug -f Makefile-Coreto Make for the build configuration Debug andrelease -f Makefile-Corefor the build configuration Release. Replace 'Core' by 'GUI' for the GUI project.
- Add
-eas an argument and check1Run in terminalin the Run Settings tab of the Core project. - You can now compile and run the two projects.
1 Without this option the Core cannot be launched in debug mode (stderr cannot be used).
Updated by Greg Burri 4 months ago · 115 revisions