Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. HTML5 application and Html5ApplicationViewPrivate
Forum Updated to NodeBB v4.3 + New Features

HTML5 application and Html5ApplicationViewPrivate

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 791 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.
  • J Offline
    J Offline
    j0o0
    wrote on last edited by
    #1

    Hi,

    I created a new project (Qt 5.0.2) using the "new HTML5 application" wizard, which created for me the Html5ApplicationViewer class (.h and .cpp). Html5ApplicationViewer.cpp defines a private class called Html5ApplicationViewerPrivate that is used as the "bridge" between C++ and [removed] its public slots can be called from the Javascript side. I would like to add new slots to this class, so I can call them from the Javascript side, but it is written at the top of Html5ApplicationViewer.cpp that : "It is recommended not to modify this file, since newer versions of Qt Creator may offer an updated version of it."...So what is the correct way to add new C++ functions callable from the Javascript side?

    Thank you!

    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