3 ms·
Really nice article, thorough and shows the pluses and minuses of this solution. I noticed that they discarded the C++ option due to being unfamiliar with the
by blub 11y ago
Really nice article, thorough and shows the pluses and minuses of this solution.
I noticed that they discarded the C++ option due to being unfamiliar with the language, but there might be an alternative: Qt's QML is a declarative language that's designed for easily creating interactive UIs and I think it's a great fit for a custom UI like the one in the article. The interesting part - one can embed and include JavaScript in a QML file (http://doc.qt.io/qt-5/qtqml-index.html http://doc.qt.io/qt-5/qtqml-index.html).
- kidproquo 11y agoThis. For Tasktopus[1], I started with Electron, had a decent prototype in 2 weeks[2]. Then hit some issues - very rudimentary print support, large binary size, hard to protect source code. Decided to switch to Qt/QML. Very pleased with the result. [1]https://gumroad.com/l/ADWm/tasktopus https://gumroad.com/l/ADWm/tasktopus [2]http://imgur.com/gallery/NZzEFKX http://imgur.com/gallery/NZzEFKX
- walterbell 11y agoHow do you protect QML/Javascript source code?
- kidproquo 11y agoYou make it part of the Qt resource system[1], which gets it combined with your binary executable. [1] http://doc.qt.io/qt-5/qtquick-deployment.html#managing-resource-files-with-the-qt-resource-system http://doc.qt.io/qt-5/qtquick-deployment.html#managing-resou...
- walterbell 11y agoThanks. Do you know if the binary packaging is obfuscated to discourage decompilation?