Node-Qt: Build native apps using Node.js + Qt (Windows, Mac, Linux)
github.com
github.com
http://news.ycombinator.com/item?id=3816870
(There are some neat demos there :))
Node-Five is for folks who are more familiar/prefer HTML5 APIs over Qt's proprietary API.
When I say "native apps" in this context I simply mean you don't need a traditional browser to run the apps, and the runtime interacts more closely with the OS (for example, Qt exposes native menu methods, native OpenGL, etc).
// Prevent objects from being GC'd
global.app = app;
global.window = window;
Why do you need to do that? I thought that as long as there were still references to an object, it isn't GC'd.And on desktop, we already have state-of-the-art web browser Chrome, why bother using this to write HTML5 Canvas based app?
Care to elaborate how you got around this? I tired several different things and couldn't get it done.
So the situation is analogous to the DOM in web browsers. The calls are synchronous and run in the main thread. As the web has taught us though, single-threads and blocking graphics calls can go a long way :)
Just wondering how you got around this...I see you're using processEvents in QApplication.
from http://doc.qt.nokia.com/4.7-snapshot/thread-basics.html:
GUI Thread and Worker Thread As mentioned, each program has one thread when it is started. This thread is called the "main thread" (also known as the "GUI thread" in Qt applications). The Qt GUI must run in this thread. All widgets and several related classes, for example QPixmap, don't work in secondary threads. A secondary thread is commonly referred to as a "worker thread" because it is used to offload processing work from the main thread.
That's right. AFAIK everything is running in a single thread.
Thanks to NPM :)
This is a list of common errors when experimenting with Node addons, and their possible solutions: "Out of memory"
Your labeling of Office and Adobe CS as "legacy" is just wishful thinking.