Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QJSEngine passinho argumentos to functions
QtWS25 Last Chance

QJSEngine passinho argumentos to functions

Scheduled Pinned Locked Moved QML and Qt Quick
githubfeauter request
1 Posts 1 Posters 217 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.
  • R Offline
    R Offline
    Ricardo MAtos
    wrote on 8 Jul 2021, 18:38 last edited by
    #1

    Is it possible to pass and JavaScript c++ proxy qobject method back to to c++ as reference or value, i Just can pass when the c++ method recives a Pointer as aargument.
    I try to register a meyatype converter but it as no efect in JavaScript enviroment.

    I Just can pass when a i create create a c++ classe with a method that returns *this as a datatype.

    It was Nice to to catch the console log, like a connect signal instande of creating a custom object for that prupose.

    My goal is to BE able to create a qsize or a qicon or other type of data with create new in JavaScript and pass to c++ as reference or value.

    Tanks Ricardo Matos

    1 Reply Last reply
    0

    1/1

    8 Jul 2021, 18:38

    • Login

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