- Launch CMake GUI
- In
Where is the source code
, navigate to$kumoworks/sources
- In
Where to build the binaries
, navigate to$kumoworks/build
- Click on Configure and select Visual Studio 14 2015 Win64.
- If Qt was installed to a directory other than the default, and the error
Specify QTDIR properly
appears, navigate to theQTDIR
install folder and specify the path tomsvc2015_64
. Rerun Configure. - Click Generate
- Open
$kumoworks/build/KumoWorks.sln
and change toDebug
orRelease
in the top bar. - The output will be in the corresponding folder in
$kumoworks/build/
Qt translation files are generated first from the source code to .ts files, then from .ts files to a .qm file (in $kumoworks/sources/loc/
). These files can be created in Visual Studio if the translation_KumoWorks
project and Build translation_KumoWorks only
(translation_KumoWorks
のみをビルド」) is used.
- Create a folder
config
in the application's current directory. - Copy
$kumoworks/sources/loc/
toconfig/loc/
- Copy
$kumoworks/misc/ini/
toconfig/ini/
- Copy
$kumoworks/misc/licenses/
toconfig/licenses
Via Command Prompt:
> cd windows
> kw_setup.bat
If you would do not specify the environment variable QTDIR
then add a path to Qt as the first argument like as follows:
> kw_setup.bat "C:\Qt\Qt5.9.2\5.9.2\msvc2015_64"
It will automatically cmake, build the MSVC solution and will create an installer in $kumoworks/windows/Output
.