JavaScriptExecutable provides a environment for creating native GUI cross-platform JavaScript desktop application.
There is no stable version yet. Download latest development build (Windows and Mac) at
https://www.imzcy.com/javascript-executable/
A new completely new design of JavaScriptExecutable that supports not only standard UI elements but also custom UI elements, disk IO and network IO is currently under development.
It will be updated to develop
branch once complete.
Mac OS X
- Install XCode and Qt 5.3.0
.\configure
- (Only apply if Qt cannot be found under home folder when
make
)export QT_DIR=/path/to/qt
make
- If build error occurs, check your Qt directory and modify
QT_DIR
accordingly. If error persists, create a issue.
General Guide
- Build v8 JavaScript Engine (http://code.google.com/p/v8/)
- Install Qt (http://qt-project.org/) (v5.3)
- Moc all
JSEUI*.h
(exceptJSEUIBase.h
andJSEUITpl.h
) using Meta-Object Compiler included in Qt. - Compile and link.
Windows
JavaScriptExecutable.exe app.js
or double-click JavaScriptExecutable.exe
Mac OS X
./JavaScriptExecutable.app/Contents/MacOS/JavaScriptExecutable app.js
or double-click JavaScriptExecutable.app
Ubuntu
./JavaScriptExecutable app.js
or double-click JavaScriptExecutable