From 6230dc4720c3eaa7b09b4e9c55e4a99ecc50232b Mon Sep 17 00:00:00 2001 From: Atul Date: Sun, 14 Jul 2019 19:36:27 +0200 Subject: [PATCH] include files from node_modules --- README.md | 6 + config/common.gypi | 2 +- package.json | 1 + yarn.lock | 274 ++++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 279 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a1a0c51b7..96dab9dde 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,11 @@ Contributing developer docs link: https://github.com/master-atul/node-native-ui/tree/master/devdocs + +## Building + +yarn rebuild:addon [--qt_home_dir=/path/to/qt] + ### LICENSE Since we do not in any way modify the code of Qt and only link to it dynamically, I beleive we are in compliance with the LGPL license requirements of QT. And hence this library can be licensed under its own License (for which we have chosen MIT License). @@ -47,3 +52,4 @@ The links to QT source code and appropriate license notices are attached. We try If you follow the recommended build steps and do not statically link QT libraries on your own you are safe to use this library for commerical puropses (provided you abide by MIT License). MIT + diff --git a/config/common.gypi b/config/common.gypi index 104ae6e92..859e3ccfd 100644 --- a/config/common.gypi +++ b/config/common.gypi @@ -2,7 +2,7 @@ 'includes': [], 'type': 'shared_library', 'variables': { - 'qt_home_dir%': "<(QT_INSTALL_DIR)", + 'qt_home_dir%': "