[Development] Moving QWindowSystemInterface out of QPA

Stephen Kelly stephen.kelly at kdab.com
Tue Jul 10 13:29:33 CEST 2012


On Tuesday, July 10, 2012 16:54:57 Girish Ramakrishnan wrote:
> On Tue, Jul 10, 2012 at 3:23 PM, Thiago Macieira
> 
> <thiago.macieira at intel.com> wrote:
> > On terça-feira, 10 de julho de 2012 11.37.41, Stephen Kelly wrote:
> >> If it is not made public, then all CMake based code using QtTest will
> >> have to  use private QtGui headers.
> > 
> > $ git grep -l QWindowSystemInterface | cat
> > qtestkeyboard.h
> > qtestmouse.h
> > qtesttouch.h
> > 
> > We have only two choices:
> > 
> > 1) make QWindowSystemInterface a proper, public API class
> > or
> > 2) remove its use from the public headers listed above.

<snip>

> 
> As for 2, I tried to do exactly that with
> https://codereview.qt-project.org/#change,23440 but the idea was shot
> down. I don't know how we can make a qtestlib that doesn't depend on
> widgets. I think Stephen opposed it previously because a) widgets is
> non-essential module and b) he wanted corelib tests to depend only on
> corelib.

Yep, that's why I was opposed to it. I think 1) is the right solution, which 
is the patch I proposed, in part.

Thanks,

-- 
Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120710/e7ad9fbf/attachment.sig>


More information about the Development mailing list