[Interest] New connection syntax

Thiago Macieira thiago.macieira at intel.com
Tue Dec 16 19:04:03 CET 2014


On Tuesday 16 December 2014 20:31:14 Igor Mironchik wrote:
> On Tue, 16 Dec 2014 19:13:14 +0300, Thiago Macieira
> 
> <thiago.macieira at intel.com> 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




More information about the Interest mailing list