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. How to access to Qt class private member
QtWS25 Last Chance

How to access to Qt class private member

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.2k 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.
  • C Offline
    C Offline
    clynamen
    wrote on last edited by
    #1

    I know is wrong and immoral , but the only solution for my "problem":http://developer.qt.nokia.com/forums/viewthread/8329/ is to access the QWebFramePrivate member of QWebFrame.
    I made some researches to find methods to obtain private access ("this":http://bloglitb.blogspot.com/2010/07/access-to-private-members-thats-easy.html is the best solution I found) but, as far as I know, the class header is needed, but I can't find any QWebFramePrivate.h in qt library.

    However is possible to copy the code of QWebFrame, creating a similar class?

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vsorokin
      wrote on last edited by
      #2

      Theoretically you can do it, but it is really very very bad solution.

      --
      Vasiliy

      1 Reply Last reply
      0
      • C Offline
        C Offline
        clynamen
        wrote on last edited by
        #3

        I know, but it is also the only solution

        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