[Qt-creator] Plugin development - meaning of private headers?

Vitali Baumtrok aedit at baumtrok.de
Wed Mar 12 16:03:57 CET 2014


Hi,

I'm trying to get into plugin development for the Qt Creator on Linux. 
Here are my questions:

1. Is Qt Creator not a "true" Qt application, because of "Qt Creator 
requires private headers of Qt, which are unfortunately not installed by 
the Qt binary packages" [1]?
2. Is it really necessary to build Qt Creator from sources to develop 
plugins?
3. If yes, why?
4. Don't I just need only the headers for plugin development, for 
example "extensionsystem/iplugin.h" ?

My experience was: I download the online installer for Linux from [2] 
and install it. Let's call it "Qt Creator A". Then I download the 
sources of Qt Creator from [3] and compile them with Qt Creator A. Let's 
call the result "Qt Creator B". Now I create a (default) plugin project 
in Qt Creator A and set the required source and binaries to that of Qt 
Creator B. Then I compile and run my plugin without problems. So the 
procedure for compiling Qt with private headers described in [1] isn't 
needed.


[1] http://doc.qt.digia.com/qtcreator-extending/getting-and-building.html
[2] http://qt-project.org/downloads
[3] 
https://qt.gitorious.org/qt-creator/qt-creator/source/52bf71fbdff62bdcd0c67e0a5edc45b695b3c519:



More information about the Qt-creator mailing list