porting krusader to kde4

2 views
Skip to first unread message

Shie Erlich

unread,
Apr 11, 2006, 4:57:16 PM4/11/06
to krusade...@googlegroups.com
it's premature, but let's start talking about it ;-)
since i have the most experience with qt4, i'd write how i'd like to
handle the porting process, and let's share thoughts.

porting will NOT be straightforward, as both qt's API changed, and
kde's API will surely change as well. qt does provide a library called
qt3suppot. it offers many of qt3's classes with new names: q3listview,
q3layout etc.

so, i'd do the porting in two passes:

pass 1: everyone takes a module and works on it. obviously, trying to
build the whole project will fail, so everyone will try to compile the
files. one file at a time, using qt3support. just get it to compile.
everyone who got his module to compile, will commit to cvs.
once we get a critical mass of compiling modules, we'll start fitting
the pieces and building the entire project. the end of pass 1 should
provide a running binary using qt3support, with some (hopefully not
major) issues.

pass 2: remove qt3support, one module at a time, using the qt4 porting
guide, and start going 'native'.

i believe pass 1 can be completed (if we all work on it) within 2-3 weeks.
also, i think the best time to start the process is somewhere between
the last alpha and the first beta of kde4.

any thoughts?

--
Shie Erlich
http://www.krusader.org/

Heiner

unread,
Apr 11, 2006, 5:14:26 PM4/11/06
to krusade...@googlegroups.com
Hi!

There is no qt4 available for FreeBSD. So I think installing a linux on a free
partion is the most painless way to get it. Any recommendation, which distro
is the best for this task (and has KDE 4.0)?


Heiner

Dirk Eschler

unread,
Apr 11, 2006, 6:28:11 PM4/11/06
to krusade...@googlegroups.com

You could install Gentoo in a chroot environment. This way you wouldn't even
have to leave FreeBSD. Qt4 is available, compiling can be done in the chroot.
If you have never installed Gentoo before, i wouldn't call that painless
though. :)

BTW, KDE4 has to be checked out from svn anyway, not?

--
Dirk Eschler <mailto:dirk.e...@gmx.net>
http://www.krusader.org

Shie Erlich

unread,
Apr 11, 2006, 6:41:53 PM4/11/06
to krusade...@googlegroups.com
On 4/12/06, Dirk Eschler <dirk.e...@gmx.net> wrote:
>
> Am Dienstag, 11. April 2006 23:14 schrieb Heiner:
> > Hi!
> >
> > There is no qt4 available for FreeBSD. So I think installing a linux on a
> > free partion is the most painless way to get it. Any recommendation, which
> > distro is the best for this task (and has KDE 4.0)?
>
> You could install Gentoo in a chroot environment. This way you wouldn't even
> have to leave FreeBSD. Qt4 is available, compiling can be done in the chroot.
> If you have never installed Gentoo before, i wouldn't call that painless
> though. :)
>
> BTW, KDE4 has to be checked out from svn anyway, not?
>

wait guys ;-)
a) the process is not starting now. kde didn't release an alpha yet.
it will be few weeks at the least
b) i forgot to mention that the porting process will use subversion
instead of cvs
c) qt4 is available for freebsd
(http://www.trolltech.com/developer/platforms/index.html?cid=18)
d) i hope kde won't introduce a new build system ... :-(

Karai Csaba

unread,
Apr 12, 2006, 1:16:09 AM4/12/06
to krusade...@googlegroups.com
Shie, I share your ideas.

I would add, that we should close the KDE3 branch, before starting
the KDE4 port. We should release the last version (KDE3 version) or at
least beta.

Merging the KDE3 changes to KDE4 can be much painful than porting.

Csaba

Karai Csaba

unread,
Apr 12, 2006, 1:34:55 AM4/12/06
to krusade...@googlegroups.com
QT provided an automatic porting tool for QT3-QT4 conversion.

The name of the tool is 'qt3to4'.

So we should start to convert with the conversion tool.


http://doc.trolltech.com/4.1/qt3to4.html


Csaba

Shie Erlich

unread,
Apr 12, 2006, 5:42:28 AM4/12/06
to krusade...@googlegroups.com
a) dmitry: thanks for the input! too bad about another build system ;-)
b) csaba: i agree that we should close the branch. however, qt3toqt4
works for qt only, but a major part of our code relies on kde's api

Heiner Eichmann

unread,
Apr 12, 2006, 8:01:24 AM4/12/06
to krusade...@googlegroups.com
Hi!

> You could install Gentoo in a chroot environment. This way you wouldn't
> even
> have to leave FreeBSD. Qt4 is available, compiling can be done in the

Afaik chroot does exactly whit it says: it changes the root of a process. In
this "new" root you can install any kind of software - except a new kernel.
But I can be wrong here...

> If you have never installed Gentoo before, i wouldn't call that painless
> though. :)

I had gentoo here some years ago before I decided to move to FreeBSD. If the
"installer" has not changed, it is indeed not painless :-) But giving it
another try can not harm....

Question: Do I need primary partitions for gentoo or can I install swap and
root in dev/hda5 + dev/hda6?

Heiner

--
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

Dirk Eschler

unread,
Apr 12, 2006, 8:21:32 AM4/12/06
to krusade...@googlegroups.com
Am Mittwoch, 12. April 2006 14:01 schrieb Heiner Eichmann:
> Hi!
>
> > You could install Gentoo in a chroot environment. This way you wouldn't
> > even
> > have to leave FreeBSD. Qt4 is available, compiling can be done in the
>
> Afaik chroot does exactly whit it says: it changes the root of a process.
> In this "new" root you can install any kind of software - except a new
> kernel. But I can be wrong here...

That's right. But now that you name kernel - i am not sure how it behaves if
you chroot into a Linux from a running FreeBSD. Things might become tricky.

> > If you have never installed Gentoo before, i wouldn't call that painless
> > though. :)
>
> I had gentoo here some years ago before I decided to move to FreeBSD. If
> the "installer" has not changed, it is indeed not painless :-) But giving
> it another try can not harm....

AFAIK the latest release comes with a graphical installer too. But since i do
all my installations in the above manner, i can't tell how useable it is.

> Question: Do I need primary partitions for gentoo or can I install swap and
> root in dev/hda5 + dev/hda6?

I think you are confusing that with a different OS. :-)
That's perfectly fine.

Reply all
Reply to author
Forward
0 new messages