[Development] Using private API for qt-based library

Viktor Engelmann viktor.engelmann at qt.io
Mon Sep 25 10:56:21 CEST 2017


On 25.09.2017 10:29, iman ahmadvand wrote:
> Hi every one.
> I'm developing a set of specialized opensource widgets in c++ (called
> MaterialWidgets which is google material design implementation)
> Now i want to use private API for this library to prevent re
> implementing a bunch of logics behind those widgets.
>
> What is your suggestion ?
don't
> As this lib depends on Qt, is it a bad idea to use private parts ?
> Do you have other good design practice for me ?
>
> For a showcase
> <https://github.com/qt/qtbase/blob/dev/src/widgets/widgets/qabstractscrollarea_p.h#L76> i
> need to access QAbstractScrollAreaPrivate::scrollBarContainers->layout
> and remove scrollbars fromQAbstractScrollArea::viewport in my
> implementation.
> Regards.
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

-- 

Viktor Engelmann
Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
Viktor.Engelmann at qt.io
+49 151 26784521
http://qt.io

Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht
Charlottenburg, HRB 144331 B

The Future is Written with Qt
www.qtworldsummit.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20170925/c4c0b666/attachment.html>


More information about the Development mailing list