[Development] Why is QQuickRectangle not exported in windows builds?
thiago.macieira at intel.com
Wed Oct 22 05:31:52 CEST 2014
On Tuesday 21 October 2014 22:04:34 Gunnar Roth wrote:
> Hello ,
> does anybody know why QQuickRectangle and QQuickPen is not exported with
> Q_QUICK_PRIVATE_EXPORT, but only with Q_AUTOTEST_EXPORT. As
> QQuickGradientStop and QQuickGradient is exported with
> Q_QUICK_PRIVATE_EXPORT, i really wonder why its not the case for these two
> classes in qquickrectangle_p.h, but for the other two, which only can be
> used as property of QQuickRectangle.
> I need this as i want to access the rectangle properties as fast as possible
> from C++.
Because both cases are private API. You're not supposed to use any of those
If you have a legitimate reason to need the class somewhere else inside Qt,
you can submit the commit to change the export macro. Note I said your use
needs to be inside Qt.
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development