Core::initialize

Killerfox killerfox512 at gmail.com
Fri Jul 10 09:37:35 UTC 2009


I am writing unit tests for cpp/codegen, and I am having a crash when 
attempting to initialize Core. I have studied the other unit-test code, and 
What I see them all do is call:

AutoTestShell::init();
Core::initialize(KDevelop::Core::NoUi);

The crash happens when the WorkingSetController tries to verify icons 
(actually the real crash is in QT).

I am using the "QTEST_KDEMAIN(TestCppCodegen, NoGUI )" macro. And I have even 
tried to copy-paste the code before Core::initialize from the other tests, and 
it still crashes




More information about the KDevelop-devel mailing list