extragear/sdk/kdevplatform/shell

Niko Sams niko.sams at gmail.com
Wed Feb 3 21:27:54 UTC 2010


On Wed, Feb 3, 2010 at 21:53, Andreas Pakulat <apaku at gmx.de> wrote:
> On 03.02.10 20:47:27, Niko Sams wrote:
>> SVN commit 1084827 by nsams:
>>
>> Add some more NoUI ifs.
>> Store sessions additionally in a QList as in NoUI mode creating KActions is not possible.
>> Fixes at least gdbtest and duchainify.
>
> Please revert at least the keeping of an extra list. Why is that needed?
> You can easily put Session*,0 into the hash.
Ah, good idea. I haven't thought about that.

> Frankly, I think we should just drop the noui stuff, after all we're
> building a _GUI_ app so IMHO its just fine if all core components assume
> they do have a GUI available.  If you want a unit-test that doesn't need
> a GUI, then you'll have to revert to not creating the autotestshell.
yes, this all really sucks.

I have no problem with tests needing a GUI, I run them locally on my machine.
But why does it crash for me when creating a KAction?
I'm running the test with
QTEST_KDEMAIN(..., GUI)

Niko




More information about the KDevelop-devel mailing list