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. Access private API of QT
Forum Updated to NodeBB v4.3 + New Features

Access private API of QT

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

    Hi All.I would like to modify some of internal Qt APIs for personal needs.Now,for example,in the sources of QtQuick there are many classes which aren't exposed in the build headers like QTextEngine , and pretty all the classes under scenegraph directory.How do I access those from QtCreator if I want to modify their code?Should I include those in the regular Qt Project directly or what?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MuldeR
      wrote on last edited by
      #2

      You will need to download a source distribution of Qt, rather then the standard pre-compiled Qt libraries for your platform. You will then find all the sources in the "src" sub-directory of Qt, e.g. "C:\Qt\4.8.6\src\gui\text\qtextengine.cpp". It should be clear that, if you modify any of those files, you will need to compile your own modified Qt libraries! Just modifying the sources without re-compiling Qt from the modified sources would do exactly nothing. Also, modifying only the Qt header files without modifying the Qt sources accordingly (plus re-compiling Qt!), will probably break your application! Furthermore, you will need to ship your modified Qt libraries along with your application, since your app will no longer be working with a "standard" Qt. Last but not least, you will be required to ship your modified sources along with the custom Qt binaries, as required by the LGPL.

      My OpenSource software at: http://muldersoft.com/

      Qt v4.8.6 MSVC 2013, static/shared: http://goo.gl/BXqhrS

      Go visit the coop: http://youtu.be/Jay...

      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