Thank you for your interest in contributing to DiverseXEngine!
This guide will help you set up the development environment, especially with Qt and CLion.
Before you start, ensure you have the following installed:
- Qt 6.x (with MinGW compiler support)
- CMake (comes with CLion)
- CLion IDE
- MinGW toolchain (if not included with CLion)
-
Download and install the Qt Online Installer from:
https://www.qt.io/download -
During installation:
- Select the Qt 6.x.x version you want to use.
- Choose MinGW matching your compiler (e.g.,
mingw_64). - Ensure you also install Qt Creator (optional) and Developer Tools.
-
Verify the Qt installation path.
It should look like:C:/Qt/6.9.1/mingw_64 -
Inside the
mingw_64folder, you should have:bin/(containsQt6Core.dll,Qt6Widgets.dll, etc.)lib/cmake/Qt6/(containsQt6Config.cmake)
In CLion:
-
Open File > Settings > Build, Execution, Deployment > CMake
-
In CMake options, add:
-DCMAKE_PREFIX_PATH="C:/Qt/6.9.1/mingw_64"
(Change the path if your Qt version/folder name differs)
To avoid the 0xC0000135 Missing DLL error:
-
Go to Run > Edit Configurations
-
Select your project target (
DiverseXEngine) -
In Environment Variables, add:
PATH=C:\Qt\6.9.1\mingw_64\bin;%PATH% -
Click Apply and OK.
- Click the Reload CMake Project button in CLion.
- Build with the green Run
▶️ button.