Re: [Development] Names of classes in Android Extras

2013-10-08 Thread Stromme Christian
On Oct 7, 2013, at 8:48 PM, Thiago Macieira wrote: >> Would this class work with a different JNI? Suppose Qt Jambi wanted to use >> those classes. Would they even compile? >> >Compiling wouldn't be the problem. A few implementation details can work only >on Android, namely the way we get the Java

Re: [Development] QtTest for everybody

2013-10-08 Thread Thiago Macieira
On terça-feira, 8 de outubro de 2013 09:56:59, André Somers wrote: > > QtTest can test code with exceptions. > > > > Just make sure that your exceptions don't escape the test slots. That's a > > reasonable requirement. > > Would it be reasonable/possible to record a FAIL on an exception instead?

Re: [Development] QtTest for everybody

2013-10-08 Thread Thiago Macieira
On terça-feira, 8 de outubro de 2013 11:50:25, Dmitry Ashkadov wrote: > QtTest doesn't provide macro like QVERIFY_EXCEPTION(expression, > expected_exception). And any other compare/verify macro should handle > exceptions. This will reduce code in test slot. Sounds like a nice new feature additio

Re: [Development] Building Qt5.2 under Visual Studio 2013

2013-10-08 Thread Mitch Curtis
On 10/07/2013 01:23 PM, Nagy-Egri Máté Ferenc wrote: > Hi! > I’m trying to build a program that extensively makes use of the proper > template machinery under Visual Studio 2013 plus uses Qt GUI libs, > therefore I took on the venture of building Qt 5.2 with Visual Studio > 2013. However, configure

Re: [Development] QtTest for everybody

2013-10-08 Thread André Somers
Op 7-10-2013 21:27, Thiago Macieira schreef: > On segunda-feira, 7 de outubro de 2013 22:50:49, Dmitry Ashkadov wrote: >> The topic about exceptions for slots and signals has inspirited me to >> pay your attention to QtTest. QtTest is a good unit-test framework, but >> it is focused to Qt. I think

Re: [Development] QtTest for everybody

2013-10-08 Thread Dmitry Ashkadov
07.10.2013 23:27, Thiago Macieira пишет: > On segunda-feira, 7 de outubro de 2013 22:50:49, Dmitry Ashkadov wrote: >> The topic about exceptions for slots and signals has inspirited me to >> pay your attention to QtTest. QtTest is a good unit-test framework, but >> it is focused to Qt. I think QtT

Re: [Development] Names of classes in Android Extras

2013-10-08 Thread Lopes Yoann
On Oct 7, 2013, at 8:48 PM, Thiago Macieira wrote: > Would this class work with a different JNI? Suppose Qt Jambi wanted to use > those classes. Would they even compile? Compiling wouldn't be the problem. A few implementation details can work only on Android, namely the way we get the Java VM