Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Embeding Haxe hxcpp code in your Qt/Qml application
QtWS25 Last Chance

Embeding Haxe hxcpp code in your Qt/Qml application

Scheduled Pinned Locked Moved Mobile and Embedded
haxewebviewhtml5
2 Posts 2 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Fred_at_Plexant
    wrote on last edited by Fred_at_Plexant
    #1

    Hello,

    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.

    Fred

    1 Reply Last reply
    0
    • R Offline
      R Offline
      RudolfVonKrugstein
      wrote on last edited by
      #2

      Hey,

      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.

      Best Regards,
      Nathan

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved