-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from freemountain/merge-qnode
merge qnode
- Loading branch information
Showing
210 changed files
with
8,493 additions
and
786 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,27 @@ | ||
*.pro.user | ||
*.qmake.stash | ||
vendor | ||
example/*/node_modules | ||
build | ||
qpm | ||
setupfile | ||
coverage | ||
src/node_path/node_modules | ||
*.swp | ||
tmp | ||
dist | ||
default | ||
node_modules | ||
/.qmake.cache | ||
/.qmake.stash | ||
*.pro.user | ||
*.pro.user.* | ||
*.qbs.user | ||
*.qbs.user.* | ||
*.moc | ||
moc_*.cpp | ||
qrc_*.cpp | ||
ui_*.h | ||
Makefile* | ||
*build-* | ||
|
||
# QtCreator | ||
|
||
*.autosave | ||
|
||
# QtCtreator Qml | ||
*.qmlproject.user | ||
*.qmlproject.user.* | ||
|
||
# QtCtreator CMake | ||
CMakeLists.txt.user* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[submodule "vendor/gel"] | ||
path = vendor/gel | ||
url = https://github.com/Cutehacks/gel | ||
|
||
[submodule "tools/qbs"] | ||
path = tools/qbs | ||
url = https://github.com/qt-labs/qbs | ||
|
||
[submodule "tools/linuxdeployqt"] | ||
path = tools/linuxdeployqt | ||
url = https://github.com/probonopd/linuxdeployqt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Build | ||
- add qt to path | ||
- build qbs: `./configure` | ||
- config qbs | ||
- `./build/tools/qbs/bin/qbs setup-toolchains --detect` | ||
- `./build/tools/qbs/bin/qbs setup-qt --detect` | ||
- Follow step in the generated warning, something like: | ||
- qbs config profiles.<my-own-qt>.baseProfile xcode-macosx-x86_64 | ||
- `./build/tools/qbs/bin/qbs config defaultProfile <my-own-qt>` | ||
- build all the stuff | ||
- `./build/tools/qbs/bin/qbs build` | ||
- build path is `build/default` | ||
- install path is `build/default/install-root` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/bash | ||
set -e | ||
set -o xtrace | ||
|
||
PROJECT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
OS="linux" | ||
pushd . > /dev/null | ||
|
||
cd "$PROJECT_PATH" | ||
git submodule update --init --recursive | ||
|
||
mkdir -p "$PROJECT_PATH/build/tools/qbs" | ||
cd "$PROJECT_PATH/build/tools/qbs" | ||
qmake -r "$PROJECT_PATH/tools/qbs/qbs.pro" | ||
make | ||
|
||
if [[ "$OSTYPE" == "linux-gnu" ]]; then | ||
BIN_PATH="$PROJECT_PATH/build/tools/" | ||
mkdir -p "$BIN_PATH" | ||
|
||
if [ ! -f "$BIN_PATH/linuxdeployqt" ] ; then | ||
cd "$BIN_PATH" | ||
wget "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" | ||
mv "linuxdeployqt-continuous-x86_64.AppImage" "linuxdeployqt" | ||
chmod +x "linuxdeployqt" | ||
fi | ||
fi | ||
|
||
popd > /dev/null |
Oops, something went wrong.