1.4 KiB
1.4 KiB
Setup project for development
Development setup and getting started
MacOSX:
Requirements
- Node version: > 9
- Python and gcc
- Make sure you dont have spaces inside your home path. NodeGYP has issues with spaces in the path. https://github.com/nodejs/node-gyp/issues/209
Setting up
- Install latest version of Qt (5.12) via homebrew only.
brew install qt5
Windows:
Requirements
- Node version: > 9
- Python and MSVC++
Setting up -- Instructions will be added soon --
Linux:
Requirements
- Node version: > 9
- Python, Make, GCC, pkg-config and Qt5
On Ubuntu: $ sudo apt-get install pkg-config build-essentials should install everything except Qt5.
Setting up
- Make sure you have downloaded and installed Qt5 sdk.
- Before running
yard build, doexport PKG_CONFIG_PATH="<path to qt installation>/5.11.0/gcc_64/lib/pkgconfig"
Common:
-
Once you have setup the platform specific stuff as mentioned above, follow these:
-
git clonethis repo. -
Keep note of the install directory of qt. You should probably find it at
/usr/local/Cellar/qt/5.12.1. Copy this path and edit the fileconfig/common.gypi.
Change the field'qt_home_dir': '<!(echo $QN_QT_HOME_DIR)',to
'qt_home_dir': '/usr/local/Cellar/qt/5.12.1', -
yarn install -
yarn build:addon -
yarn dev