Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Embeding Haxe hxcpp code in your Qt/Qml application
Fred_at_Plexant last edited by Fred_at_Plexant
Many of you have probably heard about Haxe.
Haxe has a C++ backend that allows to generate C++ code from Haxe code.
I'm wondering if any of you already tested to embed such generated code in its Qt and Qml application and run it on mobile devices on iOS and Android ?
My idea is actually very much focused on using Cocktail, a html5/css3 rendering engine written in Haxe, inside an iOS application. I would use it in place of the WebView that has so many problems, the first major one being to be placed on top of any Qml layer.
Hope it can open an interesting discussion and serve for others too.
RudolfVonKrugstein last edited by
I am successfully using hxcpp in Qt application. I have not tried it on iOS yet, but android works. But I am not calling any Qt function from haxe. Instead I am building a C++ static lib from haxe containing the backend code. Then I have some C++ wrapper code that connects the backend functions with QML.