On Tuesday 16 December 2014 20:31:14 Igor Mironchik wrote: > On Tue, 16 Dec 2014 19:13:14 +0300, Thiago Macieira > > <[email protected]> wrote: > > On Tuesday 16 December 2014 12:41:35 Igor Mironchik wrote: > >> And my question is: is it ok to use QtPrivate::FunctionPointer in my > >> classes? > > > > No. That's only permitted for code that is part of Qt itself (hosted on > > qt- > > project.org, part of qt.git) > > Am I understand you correct that there is license restriction on using > QtPrivate::FunctionPointer? > > Or it's not permitted because it's in "private" namespace only?
Neither. It's just unwise to do it because we may change subtly or totally, or even remove the class in the future. You should not rely on it existing or behaving like it does today. It's the same as what applies to the private headers that are installed and you can #include if you want. If you want to do it, there's nothing stopping you. But we might just change the class to spite you. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
