Plugin development - meaning of private headers?

  • Hi,

    I'm trying to get into plugin development for the Qt Creator. In [1] is said that some private headers are required. But I managed to create a runable plugin without following the steps described there. I just set the Qt Creator sources when creating a Qt Plugin Project and that's it.

    Here are my questions:

    Do the required private headers mentioned in [1] just define an interface to interact with the Qt Creator?

    Is the description in [1] outdated, because there is no configure file in the latest Qt Creator sources [2] ?

    Is it necessery to build Qt Creator like descripbed in [1] to develop Qt Creator plugins?

    What is the reason for the required headers being not available with a Qt Creator installation by default?

    Thanks in advance.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    1. The private headers are needed to build Qt Creator itself, not necessarily the plugins.

    2. Not outdated, you are mixing the instructions to build Qt and Qt Creator

    3. AFAIK, yes

    4. Speculative but: there's not reason to "pollute" a software installation with headers that will not be used by the vast majority of users.

    If you have more questions about Qt Creator's development, I would suggest posting them on the qt-creator mailing list, you'll find there Qt Creator's developers/maintainers.

    Hope it helps

  • Indeed, I mixed up Qt and Qt Creator. This shouldn't be. :D

    Thank you for clarification.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.