![]() Registered Member ![]()
|
Hi,
I'm getting segmentation faults when running the following unit test. When I comment either one of the two lines in testLogin, the program runs. So it only happens when the job is actually executed, I think. Any ideas? Lumos (System: KDE 4.2.2 on Ubuntu Jaunty x86.)
Output:
Stacktrace:
|
![]() Administrator ![]()
|
You need a valid KApplication instance in order to use most KDE library functions, since translation is required.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Using QTEST_KDEMAIN_CORE(GDataClientTest) instead of QTEST_MAIN(GDataClientTest) fixed it indeed.
Thanks! Lumos |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell