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
Forum Updated to NodeBB v4.3 + New Features

QJSEngine passinho argumentos to functions

Scheduled Pinned Locked Moved QML and Qt Quick
githubfeauter request
1 Posts 1 Posters 241 Views 1 Watching
  • 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 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

    • Login

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