This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Windows Support

Tags: None
(comma "," separated)
BigJim
Registered Member
Posts
46
Karma
0

Windows Support

Sun Mar 09, 2008 3:14 am
Now that 3.0 is built with qt 4, ive heard that windows support would be considered at this time, is there any news about adding it?
George
Moderator
Posts
5421
Karma
1

Sun Mar 09, 2008 11:05 am
I don't have the time to make a windows port at the moment
Zues
Registered Member
Posts
25
Karma
0

Sun Mar 09, 2008 11:40 pm
What would be required to make a windows port? Now that kTorrent is using qt 4, should someone just have to recompile it on windows for it to work?

I for one think that if it does get a port that the popularity of ktorrent would skyrocket its much better than utorrent imho.
User avatar
Brandon
Moderator
Posts
72
Karma
0
OS

Sun Mar 09, 2008 11:59 pm
assistant wrote:What would be required to make a windows port? Now that kTorrent is using qt 4, should someone just have to recompile it on windows for it to work?

I for one think that if it does get a port that the popularity of ktorrent would skyrocket its much better than utorrent imho.

unfortunately it's not that easy, ktorrent uses unix socket that are not cross platforms, on windows it should use winsock that's like unix sock but it still need some changes, also ktorrent uses symlinks that doesn't exist on windows and the logrotate uses k3process that's not available on windows(but i think it could be disabled without any problems) and there could be other incompatibilities that I haven't found yet
Zues
Registered Member
Posts
25
Karma
0

Mon Mar 10, 2008 12:36 am
I see, kinda makes me sad when im on windows lol.
George
Moderator
Posts
5421
Karma
1

Mon Mar 10, 2008 5:43 pm
Symlink usage has been dropped in the KDE4 version, so there is one less hurdle to take.

If anybody is willing to do this, I will actively support him or her. I even have a vista install on my laptop for testing.
User avatar
Brandon
Moderator
Posts
72
Karma
0
OS

Mon Mar 10, 2008 6:03 pm
George wrote:Symlink usage has been dropped in the KDE4 version, so there is one less hurdle to take.

If anybody is willing to do this, I will actively support him or her. I even have a vista install on my laptop for testing.

ah good :) i'm playing around with the code, there are a lot of unix only things but most of them are easy to port
Segmented
Registered Member
Posts
27
Karma
0

Mon Mar 10, 2008 10:55 pm
George wrote:Symlink usage has been dropped in the KDE4 version, so there is one less hurdle to take.

If anybody is willing to do this, I will actively support him or her. I even have a vista install on my laptop for testing.


getting to work it under Vista may however turn out to be a completely different matter than getting it to run under any Win32 version ;-)

regards,
Segmented
Zues
Registered Member
Posts
25
Karma
0

Tue Mar 11, 2008 3:36 am
Segmented wrote:
George wrote:Symlink usage has been dropped in the KDE4 version, so there is one less hurdle to take.

If anybody is willing to do this, I will actively support him or her. I even have a vista install on my laptop for testing.


getting to work it under Vista may however turn out to be a completely different matter than getting it to run under any Win32 version ;-)

regards,
Segmented


What exactly do you mean?

We should get a thread set up that shows all of the steps that need to be taken for full windows computability and move forward from there.

For instance as stated in this thread http://ktorrent.org/forum/viewtopic.php?t=2299

Weigh the pros and cons of Unix Sockets and a rewrite with Qt sockets(which imho are very improved since qt3).
George
Moderator
Posts
5421
Karma
1

Tue Mar 11, 2008 7:26 pm
assistant wrote:
Segmented wrote:
George wrote:Symlink usage has been dropped in the KDE4 version, so there is one less hurdle to take.

If anybody is willing to do this, I will actively support him or her. I even have a vista install on my laptop for testing.


getting to work it under Vista may however turn out to be a completely different matter than getting it to run under any Win32 version ;-)

regards,
Segmented


What exactly do you mean?

We should get a thread set up that shows all of the steps that need to be taken for full windows computability and move forward from there.

For instance as stated in this thread http://ktorrent.org/forum/viewtopic.php?t=2299

Weigh the pros and cons of Unix Sockets and a rewrite with Qt sockets(which imho are very improved since qt3).


They are still signal based, so they would not fit in at all in the current code. We use 2 different threads for networking, one for upload and one for download. These threads are used to make the spead limits work properly.

With signal based stuff this proved to be much more difficult to get it working. We have used both Qt3 sockets and KDE3 sockets in earlier versions (1.X series). And we didn't get it right until we moved to the current architecture.

It will be much easier to just throw in a couple of #ifdef WIN32 statements.
User avatar
Brandon
Moderator
Posts
72
Karma
0
OS

Tue Mar 11, 2008 8:22 pm
I've compiled it on windows, it still doesn't work but better then nothing for now :)
Image
Zues
Registered Member
Posts
25
Karma
0

Thu Mar 13, 2008 5:08 pm
Amazing work brandon, can you confirm/deny what is working and what is not?
User avatar
Brandon
Moderator
Posts
72
Karma
0
OS

Thu Mar 13, 2008 5:34 pm
assistant wrote:Amazing work brandon, can you confirm/deny what is working and what is not?

well, the gui is the only thing that work right now, i'm working on the other things :)
Zues
Registered Member
Posts
25
Karma
0

Fri Mar 14, 2008 8:29 am
Its still better than nothing.
User avatar
Brandon
Moderator
Posts
72
Karma
0
OS

Tue Mar 18, 2008 3:02 pm
networking seems to work now, but I have some problem when writing chunks to the file, I hope to fix this soon


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell