Skip to content

anak10thn/node-qt5

Repository files navigation

BUILD

OSX

Prepare

Qt 5.9 is the last version of Qt that node-qt5 will support. Make sure that you have Xcode installed. Under Xcode preferences locations, make sure there is a version set.

Install Qt 5 with homebrew:

$ brew install qt

The Homebrew formula for qt is keg only which means binaries like qmake will not be symlinked into your /usr/local/bin directory and therefore will not be available for node-qt5.

Then add to your shell configuration file:

$ echo 'export PATH="$(brew --prefix qt)/bin:$PATH"' >> ~/.bashrc

Or another solution, but not recommended because it will break on brew upgrade, is to force Homebrew to symlink those binaries into your /usr/local/bin directory:

$ brew link --force qt

Restart your terminal.

After running this command you should get the following output:

$ which qmake
/usr/local/bin/qmake

Build

$ git clone https://github.com/anak10thn/node-qt5.git
$ cd node-qt5; npm install;

Test

$ node examples/qml.js

osx

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published