You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, April 17th 2005, 3:39pm

[SOLVED] KIO::get Segmentation fault

hello,

I try to create a TransferJob with KIO::get(KURL(myurl))
But whenever the "get" method is called the programm segfaults.

I figured out that it really depends on this line (KIO::get(KURL(myurl))) but I was not able to understand why...

does anyone have any information for me what might be wrong or how I can track this down?

thx in advance

//EDIT: just tryed following code from the official kde kio api:
KIO::get(KURL("http://www.kde.org"));
does also segfault :(

This post has been edited 2 times, last edit by "hephaistos6" (Apr 17th 2005, 9:24pm)


2

Sunday, April 17th 2005, 9:24pm

the problem was that I did not use this code within a KApplication.
so: just use KApplication and everything works fine :)

cheers