-
Notifications
You must be signed in to change notification settings - Fork 240
Compiling with Qt Creator (macOS)
To compile NifSkope with Qt Creator you will need XCode. You may install this from the App Store and you must run it once for it to complete installation.
To install you simply need the Qt Online Installer.
After downloading the Qt Online Installer, run it and select the following at minimum:
You do not need any of the extras or the iOS, Android, or ARM binaries.
This guide assumes that you have cloned from [email protected]:niftools/nifskope.git
and did so with the --recursive
option or ran git submodule update
after.
In Qt Creator, open NifSkope.pro
in the project root. It should ask you to select the build kits for the project. Select at minimum Desktop Qt 5.9.0 clang 64bit and click Configure Project.
To assure your Makefile is up-to-date, right-click in the Projects pane on NifSkope (or use the Build menu), and select Run qmake. Then select Build and wait for it to compile. If you receive any third-party library errors, you have not run git submodule update
.
To run NifSkope after building you will need to copy nif.xml
and kfm.xml
into NifSkope.app/Contents/MacOS like so:
Note: The build process may be improved in the future to do this automatically.