porting to kde 4

24 views
Skip to first unread message

Shie Erlich

unread,
May 6, 2007, 5:03:18 PM5/6/07
to krusade...@googlegroups.com
hi guys,
i finally compiled kde4 from svn and it works, sort of.
i wanted to start thinking about porting K, and the first obstacle was that KDE now
uses CMake instead of auto tools.
they have a script that should automagically translate .am files to cmake files.
tried it.
doesn't work really.
CMake pukes out errors :-(

will keep you posted...

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

Frank Schoolmeesters

unread,
May 6, 2007, 5:49:41 PM5/6/07
to krusade...@googlegroups.com

Hi,

Jonas once tried http://www.scons.org/
At below the old messsage.
The Krusader-scons tarball is still available at
http://www.jonas-baehr.de/forum/krusader_scons-bksys_test.tar.bz2

bye,

Frank

---------- Forwarded message ----------
From: Jonas Bähr <jonas...@web.de>
Date: Oct 1, 2005 12:20 AM
Subject: [Krusader-devel] Re: my TODO for 1.70.0 (plz add yours)
To: krusade...@googlegroups.com

Am Freitag, 30. September 2005 17:50 schrieb Shie Erlich:
> On 9/30/05, Jonas Bähr <jonas...@web.de> wrote:
> > PS: it's really time for a sensible build-system. Apart from the fact
> > that M4
> > is ugly und bash is slow it's absolutely incredible that the
> > autotools/make
> > duo need a 800K admin folder, three intermediate files generated and a
> > dozen
> > differend config-files to tweak the build!
> > In my scons/bksys experiments Krusader builds already nice (with one
> > config
> > file and nothing more then python) and the configure-procedure takes less
> > then a second... Next week I'll play around with different targets,
> > installation, documentation and i18n
>
> i'd be very much interested to know how it works!

http://www.jonas-baehr.de/forum/krusader_scons-bksys_test.tar.bz2

This is the current state of my work (based on an older cvs-snapshot).
What works:
- compile and link krusader (using a seperate build-dir)
- compile the i18n (.po -> .gmo)
- compile the help (.dockbook -> index-cache.tar.bz2)
- install krusader, the icons, the i18n-files, the help (without pics)
What don't work ( = needs to be done):
- install the pics for the help
- compile and install the other components (krarc, iso, ...)
- use a different build-dir for the docs and po as well
- write checks for kjsembed and konqueror-headers
- generate and use a config.h (for VERSION, RELEASE_NANE and maybe the
optional stuff like konq and kjsembed)
- I'm sure I've forgotten something ;)
How to use:
Important: currently there are no checks for konq and kjsembed. This means you
need the right files in place (konqueror-headers and kjsembed + headers) and
you need python!
- go to krusader_kde3/
With scons installed: type 'scons' and 'scons install'. Configuration is done
automaticly. However it's possible to change it with 'scons configure'. See
'scons help' for more info.
Without scons installed: type './configure' (this is just for convinience. it
unpacks a local mini-scons and run './scons configure'. It also generates a
Makefile). Then you can type 'make'. It simply calles the local scons.
You can also choose this way if you have scons installed. The configure-script
will detect it and use it in the generated Makefile


Some notes:
The ineresting files are:
- SConstruct
- krusader/SConscipt
- configure (and the generated Makefile)
- the admin-folder
- build/ will contain the compiled objects of krusader
- cache/ will contain an object and configure cache

There is no need for static libs in every dir. This is a only a common way
since the autotools can't deal with subdirs. scons can.
scons uses md5-hashes instead of timestamps to figure out if a file needs to
be rebuild. So cou can touch a soucefile (i.e. krusader.h) without a
compleate recompile of the project.
If you delete an object file and the source wasn't modified the file is taken
from the cache instead of a new compile. This cache as well as the md5-method
can be turned off
.moc-files and firends are generated automaticly
since scons can understand cpp, all dependencied are handled on the fly

All configuration files are python-scripts. you can use the whole power of the
language. I could imagine for example to find the souce-files itself instead
of giving long lists in the SConscript-files....

have fun,
Jonas

PS: please note that I'm neither a scons nor a python expert. There may be
better ways to do what I've done.

--
Try Krusader...
http://krusader.org - twinpanel filemanager for KDE

Shie Erlich

unread,
May 7, 2007, 1:54:57 AM5/7/07
to krusade...@googlegroups.com
Frank,
thanks for the tip, but regretfully, it's out dated already.
KDE is now using CMake and not scons at it was once tried to.

sh!e

Shie Erlich

unread,
May 12, 2007, 8:38:08 AM5/12/07
to krusade...@googlegroups.com
guys,
i did some moving around in the subversion repository, and copied current
code to it, and renamed it to be krusader_kde4.

i guess this officially starts the development ;-)

plz don't mess with it yet, as i'm trying to modify the build system, with
some surprising help... more on this later.

shie

Shie Erlich

unread,
May 13, 2007, 6:44:47 AM5/13/07
to krusade...@googlegroups.com, Alexander Neundorf
good news...

as it turns out, Alex Neundorf, who works for Kitware (the company who develops CMake) and (afaik) did a lot of work regarding adapting CMake for KDE, is also reading krusader-devel :-)
he emailed me and offered to help with krusader's move to CMake.
I'm happy to say that after some emails, a bug report and a fix, i'm well on my way, and CMake seem to be building Krusader. Now comes the hard part - actually porting it ;-)

thanks a lot Alex. this is open-source at its best.

shie erlich

Frank Schoolmeesters

unread,
May 13, 2007, 9:58:32 AM5/13/07
to krusade...@googlegroups.com
Great news for the progress!

Just wondering when we close cvs, if cvs2svn could be runned again for
the krusader_kde3 branch.

bye,

Frank

Shie Erlich

unread,
May 13, 2007, 10:13:50 AM5/13/07
to krusade...@googlegroups.com
On 5/13/07, Frank Schoolmeesters <frank.scho...@gmail.com> wrote:

Great news for the progress!

Just wondering when we close cvs, if cvs2svn could be runned again for
the krusader_kde3 branch.

that's not a problem

shie

 

Dirk Eschler

unread,
May 13, 2007, 12:28:34 PM5/13/07
to krusade...@googlegroups.com
On Sonntag, 13. Mai 2007, Shie Erlich wrote:
> On 5/13/07, Frank Schoolmeesters <frank.scho...@gmail.com> wrote:
> > Great news for the progress!
> >
> > Just wondering when we close cvs, if cvs2svn could be runned again for
> > the krusader_kde3 branch.
>
> that's not a problem
>
> shie

Hey great to hear about the build system. Kudos to Alex!

The move to subversion brings up an old question: Where will it be hosted?

- SourceForge
- Extragear
- New server

All options have their pros and cons, while only the last would allow us to
make use of Trac with the new website easily.

There's no hurry actually, as there's more than enough to do - anyhow - sooner
or later i have to decide in which direction to push the web project. So just
to plan ahead, is Trac still an option?

bye,
Dirk

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

Jonas Bähr

unread,
May 13, 2007, 3:56:29 PM5/13/07
to krusade...@googlegroups.com
Hi,

Am 13.05.2007 um 18:28 schrieb Dirk Eschler:
> The move to subversion brings up an old question: Where will it be
> hosted?
>
> - SourceForge
> - Extragear
> - New server
>
> All options have their pros and cons, while only the last would
> allow us to
> make use of Trac with the new website easily.
>
> There's no hurry actually, as there's more than enough to do -
> anyhow - sooner
> or later i have to decide in which direction to push the web
> project. So just
> to plan ahead, is Trac still an option?

Personally I like trac a lot. However, it should be possible sync the
repository, where ever it is hosted, to the webserver; see http://
svnbook.red-bean.com/nightly/en/
svn.reposadmin.maint.html#svn.reposadmin.maint.replication
So the decision where to host the repository does not interfere with
the webhost question.

bye,
Jonas

Shie Erlich

unread,
May 13, 2007, 5:21:12 PM5/13/07
to krusade...@googlegroups.com

i like trac too.
in any case, for now, svn is hosted on SF.

Dirk Eschler

unread,
May 15, 2007, 11:17:06 AM5/15/07
to krusade...@googlegroups.com

That could work. I think we can't modify the post-commit and
post-revprop-change hooks on SourceForge for a realtime mirroring, but as far
as i understand we could still initiate the sync once or twice a day "on our
side". Jonas, have you ever set up something like this?

By the way, i think our SourceForge svn deserves a cleanup once we've actually
done the switch. Last time i checked out its root, it was almost 200MB!
cvs2svn created quite a few tags and branches. I don't think we really need
all of them. ;)

Shie Erlich

unread,
May 15, 2007, 3:28:54 PM5/15/07
to krusade...@googlegroups.com


i did the first part of the cleanup already, and will continue it later.
we need to decide how long back our memory needs to be ;-)

also, i think we can change the post-commit hooks on SF, although not sure
to what extent

Frank Schoolmeesters

unread,
May 16, 2007, 5:21:38 AM5/16/07
to krusade...@googlegroups.com
On 5/15/07, Dirk Eschler <dirk.e...@gmx.net> wrote:
>

As long the krusader_kde2 and krusader_kde3 branches are archived
somewhere it's ok, so that the code is not lost.
We could also only develop krusader_kde4 in svn, and keep cvs as an
"krusader_kde2 and krusader_kde3" archive.

Any opinions?

Frank

Jonas Bähr

unread,
May 17, 2007, 12:18:30 PM5/17/07
to krusade...@googlegroups.com
Hi,

not yet, but I don't think that it'll be very complicated. A cronjob
running svnsync + making the repo on the webserver read only for all
but the syncuser should do the trick.

bye,
Jonas

Karai Csaba

unread,
Jun 24, 2007, 9:41:05 AM6/24/07
to krusade...@googlegroups.com
Hi!

I would gladly help porting Krusader to KDE 4 (I have free time mainly
on weekends).

I have some questions:
- which KDE 4 version are you using (I didn't find precompiled packages)
- what is the svn URL of Krusader_kde4?

I think, it would be nice if I could play with it.

Thanks,

Csaba

Dirk Eschler

unread,
Jun 24, 2007, 11:38:09 AM6/24/07
to krusade...@googlegroups.com

Hi Csaba,

unfortunately i can't help with KDE4 binaries (what's your distro btw?)... but
these should be the missing links you are looking for. :)

Browse
======
http://krusader.svn.sourceforge.net/viewvc/krusader/trunk/krusader_kde4/

Checkout
========
svn co
https://krusader.svn.sourceforge.net/svnroot/krusader/trunk/krusader_kde4

Shie Erlich

unread,
Jun 24, 2007, 5:37:56 PM6/24/07
to krusade...@googlegroups.com
On 6/24/07, Dirk Eschler <dirk.e...@gmx.net> wrote:

On Sonntag, 24. Juni 2007, Karai Csaba wrote:
> Hi!
>
> I would gladly help porting Krusader to KDE 4 (I have free time mainly
> on weekends).
>
> I have some questions:
> - which KDE 4 version are you using (I didn't find precompiled packages)
> - what is the svn URL of Krusader_kde4?
>
> I think, it would be nice if I could play with it.
>
> Thanks,
>
>     Csaba

Hi Csaba,

unfortunately i can't help with KDE4 binaries (what's your distro btw?)... but
these should be the missing links you are looking for. :)

Browse
======
http://krusader.svn.sourceforge.net/viewvc/krusader/trunk/krusader_kde4/

Checkout
========
svn co
https://krusader.svn.sourceforge.net/svnroot/krusader/trunk/krusader_kde4


yes, these are the urls.
regarding binaries, i built  kde4 from source.
look at http://techbase.kde.org/Getting_Started/Build/KDE4


Frank Schoolmeesters

unread,
Jun 25, 2007, 12:13:52 PM6/25/07
to krusade...@googlegroups.com

It would be nice if someone could kill the important bugs in cvs as
well and release the 1.80.0 stabe, if someone has the time for it at
least ...
I'm occupied as well :( and i'm not a developer, so i can't help here.

Frank

Shie Erlich

unread,
Jun 25, 2007, 3:32:45 PM6/25/07
to krusade...@googlegroups.com


personally (and i've said this before), i think we can release what we have in cvs now,
as it is stable for me, and i use it every day at work.

Rafi Yanai

unread,
Jun 26, 2007, 4:25:48 AM6/26/07
to krusade...@googlegroups.com
+1 (to what Shie said)

Karai Csaba

unread,
Jun 26, 2007, 1:34:59 PM6/26/07
to krusade...@googlegroups.com
I would check the bug reports if back porting to KDE 4 causes no
problem.

Csaba

Shie Erlich írta:
>
>
> On 6/25/07, *Frank Schoolmeesters* <frank.scho...@gmail.com


> <mailto:frank.scho...@gmail.com>> wrote:
>
>
> On 6/24/07, Shie Erlich <shie....@gmail.com

> <mailto:shie....@gmail.com>> wrote:
> >
> >
> > On 6/24/07, Dirk Eschler <dirk.e...@gmx.net

Frank Schoolmeesters

unread,
Jun 27, 2007, 12:13:12 AM6/27/07
to krusade...@googlegroups.com
I suggest to release 1.80.0 "Final 3 Stones" in about 10 days in the
weekend of 7 july, and make a final call for translations now.
If someone still likes to kill a bug, you still have some time for it.
Waiting longer with a stable release is pointless because many distros
will switch to KDE4 soon, and you can always release 1.80.1 , 1.80.2
if needed (it's just a few keystrokes and mouseclicks to do this) .
1.70.0 "Round Robin" already dates from 12-02-2006 ...

btw. because distrowatch.com only tracks only stable packages i can't
determine any marketing strategy anymore for a long time ...

thanks and bye,

Frank

Shie Erlich

unread,
Jun 27, 2007, 5:54:22 AM6/27/07
to krusade...@googlegroups.com
+1 for frank.
let's email the i18n guys, and release.

shie

Frank Schoolmeesters

unread,
Jun 29, 2007, 2:27:49 AM6/29/07
to krusade...@googlegroups.com
I guess Dirk is some days away from his mailbox, so i have sended the i18n
mesage out.

btw. is the name "Final 3 Stones" ok for the stable release?
Let's keep it into the stone :-)
btw. 3 is a tribute to KDE3 and stones comes from milestone.

Thanks and bye,

Frank

Matej Urbančič

unread,
Jun 29, 2007, 5:09:10 AM6/29/07
to krusade...@googlegroups.com
If stone stays, then I'd change it to "The final 3rd Stone" which is
also a poetic name for the Earth. In some sense we are just moving
towards Mars the planet of warriors, leaving the safe embrace of Earth
behind and boldly ... :)

Matej

Frank Schoolmeesters

unread,
Jun 29, 2007, 6:22:33 AM6/29/07
to krusade...@googlegroups.com
Good idea, sounds also better IMHO because the "s" of stones is gone now,
and i like also the story :)

Frank

> >>>> Shie Erlich �rta:

Shie Erlich

unread,
Jun 29, 2007, 10:51:02 AM6/29/07
to krusade...@googlegroups.com
done!

Frank Schoolmeesters

unread,
Jul 1, 2007, 2:26:17 AM7/1/07
to krusade...@googlegroups.com
committed in cvs.

Frank

Frank Schoolmeesters

unread,
Jul 5, 2007, 12:37:04 PM7/5/07
to krusade...@googlegroups.com
I have committed my Final changes in cvs for 1.80.0 "Final 3rd Stone"

btw. There is an updated translation in krusader-i18n that is not yet committed
in cvs, sr.po and s...@Latn.po
Don't forget to this commit before releasing.

Thanks and bye,

Frank

Shie Erlich

unread,
Jul 7, 2007, 3:40:46 PM7/7/07
to krusade...@googlegroups.com
last night, i upgraded my KDE svn to the latest (alpha2)
and tried to compile krusader again.
i was disappointed to find that nothing changed in that regard
and qt-copy still breaks when using Q3ListView :-(

i guess i'll wait some more, towards the beta

Dirk Eschler

unread,
Jul 7, 2007, 5:25:51 PM7/7/07
to krusade...@googlegroups.com
On Donnerstag, 5. Juli 2007, Frank Schoolmeesters wrote:
> I have committed my Final changes in cvs for 1.80.0 "Final 3rd Stone"
>
> btw. There is an updated translation in krusader-i18n that is not yet
> committed in cvs, sr.po and s...@Latn.po
> Don't forget to this commit before releasing.

Hi,

can you please point me to the translations? I can't seem to find them.

Frank Schoolmeesters

unread,
Jul 8, 2007, 2:53:52 AM7/8/07
to krusade...@googlegroups.com
On 7/7/07, Dirk Eschler <dirk.e...@gmx.net> wrote:
>
> On Donnerstag, 5. Juli 2007, Frank Schoolmeesters wrote:
> > I have committed my Final changes in cvs for 1.80.0 "Final 3rd Stone"
> >
> > btw. There is an updated translation in krusader-i18n that is not yet
> > committed in cvs, sr.po and s...@Latn.po
> > Don't forget to this commit before releasing.
>
> Hi,
>
> can you please point me to the translations? I can't seem to find them.
>
> bye,
> Dirk
>

Done.

They where sended in a private mail to me and
Gmail stored them in the krusader-i18n "last minutes updates" tread,
and i didn't noticed that right away ...
Sorry.

thanks bye,

Frank

Frank Schoolmeesters

unread,
Jul 9, 2007, 1:39:30 AM7/9/07
to krusade...@googlegroups.com

Dirk has committed the translations in cvs.
So, i think that we are ready for a stable release :)
Who will do this job?

Thanks and bye,

Frank

Karai Csaba

unread,
Aug 22, 2007, 1:08:27 PM8/22/07
to krusade...@googlegroups.com
Hi!

I've installed KDE4. If noone has any objection, I'd like to play with
the SVN version.

Thanks,
Csaba

Frank Schoolmeesters írta:

Shie Erlich

unread,
Aug 22, 2007, 3:56:51 PM8/22/07
to krusade...@googlegroups.com
sure!
svn contains something not entirely bad.
already ran all the auto-porting scripts, both qt's and kde's.
i failed last time, since qtcopy's Q3ListView didn't compile, and it's not feasible
to port the whole view system to qt4's mvc ad-hoc. i believe we need to get it to
build with qt3compat libs and continue from there.

let me know how it goes.

shie

Karai Csaba

unread,
Aug 22, 2007, 3:36:47 PM8/22/07
to krusade...@googlegroups.com
No luck.

I could not even generate the makefiles.

I started with:

>cmake .

and the result is that

ConvenientLibs.cmake is missing or something similar.
I guess you forget to commit that file.

Can you please add it?

Thanks,

Csaba

Shie Erlich írta:


> sure!
> svn contains something not entirely bad.
> already ran all the auto-porting scripts, both qt's and kde's.
> i failed last time, since qtcopy's Q3ListView didn't compile, and it's
> not feasible
> to port the whole view system to qt4's mvc ad-hoc. i believe we need to
> get it to
> build with qt3compat libs and continue from there.
>
> let me know how it goes.
>
> shie
>
>

> On 8/22/07, *Karai Csaba* <csk...@freemail.hu


> <mailto:csk...@freemail.hu>> wrote:
>
>
> Hi!
>
> I've installed KDE4. If noone has any objection, I'd like to play with
> the SVN version.
>
> Thanks,
> Csaba
>
> Frank Schoolmeesters írta:
> > On 7/8/07, Frank Schoolmeesters < frank.scho...@gmail.com

> <mailto:frank.scho...@gmail.com>> wrote:
> >> On 7/7/07, Dirk Eschler <dirk.e...@gmx.net

> <mailto:dirk.e...@gmx.net>> wrote:
> >>> On Donnerstag, 5. Juli 2007, Frank Schoolmeesters wrote:
> >>>> I have committed my Final changes in cvs for 1.80.0 "Final 3rd
> Stone"
> >>>>
> >>>> btw. There is an updated translation in krusader-i18n that is
> not yet

> >>>> committed in cvs, sr.po and s...@Latn.po <mailto:s...@Latn.po>

Shie Erlich

unread,
Aug 23, 2007, 4:20:17 PM8/23/07
to krusade...@googlegroups.com
you need to do something like:

cmake -DCMAKE_INSTALL_PREFIX=/home/kde-devel/kde/ -DQT_QT_INCLUDE_DIR=/home/kde-devel/qt-copy/include/


shie


On 8/22/07, Karai Csaba <csk...@freemail.hu> wrote:

Shie Erlich

unread,
Aug 24, 2007, 9:03:07 AM8/24/07
to krusade...@googlegroups.com
i commited a lot more fixes (PanelTabBar was restructured completely). make files are created ok, but
i still crash with the following:


/usr/bin/c++   -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -O2 -g -I/usr/lib/kde4/include -I/usr/include/qt4 -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtDBus   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_GNU_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -o krusader/CMakeFiles/krusader.dir/paneltabbar.o -c /home/shie/src/krusader_kde4/krusader/paneltabbar.cpp
/usr/include/qt4/Qt3Support/q3listview.h:115: error: expected ',' or '...' before '&' token
/usr/include/qt4/Qt3Support/q3listview.h:116: error: ISO C++ forbids declaration of 'QColorGroup' with no type
/usr/include/qt4/Qt3Support/q3listview.h:117: error: expected ',' or '...' before '&' token
/usr/include/qt4/Qt3Support/q3listview.h:117: error: ISO C++ forbids declaration of 'QColorGroup' with no type
/usr/include/qt4/Qt3Support/q3listview.h:118: error: expected ',' or '...' before '&' token
/usr/include/qt4/Qt3Support/q3listview.h:118: error: ISO C++ forbids declaration of 'QColorGroup' with no type
/usr/include/qt4/Qt3Support/q3listview.h:482: error: expected ',' or '...' before '&' token
/usr/include/qt4/Qt3Support/q3listview.h:483: error: ISO C++ forbids declaration of 'QColorGroup' with no type
/usr/include/qt4/Qt3Support/q3listview.h:484: error: expected ',' or '...' before '&' token
/usr/include/qt4/Qt3Support/q3listview.h:485: error: ISO C++ forbids declaration of 'QColorGroup' with no type
/usr/include/qt4/Qt3Support/q3gridlayout.h: In constructor 'Q3GridLayout::Q3GridLayout(QWidget*, int, int, int, int, const char*)':
/usr/include/qt4/Qt3Support/q3gridlayout.h:41: error: no matching function for call to 'QGridLayout::QGridLayout(QWidget*&, int&, int&, int&, int&, const char*&)'
/usr/include/qt4/QtGui/qgridlayout.h:126: note: candidates are: QGridLayout::QGridLayout(const QGridLayout&)
/usr/include/qt4/QtGui/qgridlayout.h:49: note:                 QGridLayout::QGridLayout()
/usr/include/qt4/QtGui/qgridlayout.h:48: note:                 QGridLayout::QGridLayout(QWidget*)
/usr/include/qt4/Qt3Support/q3gridlayout.h: In constructor 'Q3GridLayout::Q3GridLayout(int, int, int, const char*)':
/usr/include/qt4/Qt3Support/q3gridlayout.h:44: error: no matching function for call to 'QGridLayout::QGridLayout(int&, int&, int&, const char*&)'
/usr/include/qt4/QtGui/qgridlayout.h:126: note: candidates are: QGridLayout::QGridLayout(const QGridLayout&)
/usr/include/qt4/QtGui/qgridlayout.h:49: note:                 QGridLayout::QGridLayout()
/usr/include/qt4/QtGui/qgridlayout.h:48: note:                 QGridLayout::QGridLayout(QWidget*)
/usr/include/qt4/Qt3Support/q3gridlayout.h: In constructor 'Q3GridLayout::Q3GridLayout(QLayout*, int, int, int, const char*)':
/usr/include/qt4/Qt3Support/q3gridlayout.h:48: error: no matching function for call to 'QGridLayout::QGridLayout(QLayout*&, int&, int&, int&, const char*&)'
/usr/include/qt4/QtGui/qgridlayout.h:126: note: candidates are: QGridLayout::QGridLayout(const QGridLayout&)
/usr/include/qt4/QtGui/qgridlayout.h:49: note:                 QGridLayout::QGridLayout()
/usr/include/qt4/QtGui/qgridlayout.h:48: note:                 QGridLayout::QGridLayout(QWidget*)
/usr/include/qt4/Qt3Support/q3popupmenu.h: In member function 'int Q3PopupMenu::exec()':
/usr/include/qt4/Qt3Support/q3popupmenu.h:40: error: 'findIdForAction' was not declared in this scope
/usr/include/qt4/Qt3Support/q3popupmenu.h: In member function 'int Q3PopupMenu::exec(const QPoint&, int)':
/usr/include/qt4/Qt3Support/q3popupmenu.h:42: error: 'findIdForAction' was not declared in this scope

which seems completely Qt and not krusader.
can anyone else verify?

shie

Shie Erlich

unread,
Aug 24, 2007, 9:25:19 AM8/24/07
to krusade...@googlegroups.com
progress! seems i was missing a QT3_SUPPORT flag.
now that it's in, compilation continues...

a lot more errors to fix :-(

shie

Karai Csaba

unread,
Aug 24, 2007, 12:55:31 PM8/24/07
to krusade...@googlegroups.com
Fine!

I managed to start the compilation. I'll commit some error fixes soon.

Csaba

Shie Erlich írta:


> progress! seems i was missing a QT3_SUPPORT flag.
> now that it's in, compilation continues...
>
> a lot more errors to fix :-(
>
> shie
>

> On 8/24/07, * Shie Erlich* <shie....@gmail.com

> On 8/23/07, *Shie Erlich* <shie....@gmail.com


> <mailto:shie....@gmail.com>> wrote:
>
> you need to do something like:
>
> cmake -DCMAKE_INSTALL_PREFIX=/home/kde-devel/kde/
> -DQT_QT_INCLUDE_DIR=/home/kde-devel/qt-copy/include/
>
>
> shie
>
>
>

> > <mailto: csk...@freemail.hu <mailto:csk...@freemail.hu>>>


> wrote:
> >
> >
> > Hi!
> >
> > I've installed KDE4. If noone has any objection, I'd
> like to play with
> > the SVN version.
> >
> > Thanks,
> > Csaba
> >
> > Frank Schoolmeesters írta:
> > > On 7/8/07, Frank Schoolmeesters <
> frank.scho...@gmail.com
> <mailto:frank.scho...@gmail.com>

> > <mailto: frank.scho...@gmail.com


> <mailto:frank.scho...@gmail.com>>> wrote:
> > >> On 7/7/07, Dirk Eschler < dirk.e...@gmx.net
> <mailto:dirk.e...@gmx.net>

> > <mailto: dirk.e...@gmx.net


> <mailto:dirk.e...@gmx.net>>> wrote:
> > >>> On Donnerstag, 5. Juli 2007, Frank Schoolmeesters
> wrote:
> > >>>> I have committed my Final changes in cvs for
> 1.80.0 "Final 3rd
> > Stone"
> > >>>>
> > >>>> btw. There is an updated translation in
> krusader-i18n that is
> > not yet
> > >>>> committed in cvs, sr.po and s...@Latn.po

> <mailto:s...@Latn.po> <mailto: s...@Latn.po <mailto:s...@Latn.po>>

Karai Csaba

unread,
Aug 24, 2007, 1:49:43 PM8/24/07
to krusade...@googlegroups.com
Shie,

Can you please grant me commit rights?

I get "403 Forbidden" error at trying to commit.
Sourceforge accepts my username/password but after that this error
happens.

Thanks,

Csaba

Karai Csaba írta:

Dirk Eschler

unread,
Aug 24, 2007, 3:28:03 PM8/24/07
to krusade...@googlegroups.com
On Freitag, 24. August 2007, Karai Csaba wrote:
> Shie,
>
> Can you please grant me commit rights?
>
> I get "403 Forbidden" error at trying to commit.
> Sourceforge accepts my username/password but after that this error
> happens.
>
> Thanks,
>
> Csaba

Hey Csaba,

i've updated your permissions at SourceForge. Can you please try again? If
that was the right flag, the other developers might need it as well.

Karai Csaba

unread,
Aug 24, 2007, 2:30:25 PM8/24/07
to krusade...@googlegroups.com
Thanks.

It's OK now.

Csaba

Dirk Eschler írta:

Shie Erlich

unread,
Aug 24, 2007, 5:34:36 PM8/24/07
to krusade...@googlegroups.com
cool.
i have some uncommited fixes too, mainly around main.cpp.
i'll try to commit asap

shie

Shie Erlich

unread,
Aug 24, 2007, 6:05:16 PM8/24/07
to krusade...@googlegroups.com
btw, since we're both working on and off, possibly on the same files,
let's make to always 'svn up' before starting to code...

shie

Shie Erlich

unread,
Aug 24, 2007, 6:52:17 PM8/24/07
to krusade...@googlegroups.com
Csaba,
i got to the point of Konfigurator porting.
i'd rather you had a go at it, since you wrote it, and i don't know much about it.

svn up and enjoy ;-)

Karai Csaba

unread,
Aug 25, 2007, 2:54:59 AM8/25/07
to krusade...@googlegroups.com
OK. I'll focus on Konfigurator, Synchronizer and Locate.

But my work might affect other components as well.

KDialogBase->KDialog, KJanusWidget->KPageWidget change affected nearly all components.

Csaba

Shie Erlich
________________________________________________
Szerezd be a hiányzó Rolling Stones albumokat szenzációs áron!

Shie Erlich

unread,
Aug 25, 2007, 3:01:58 AM8/25/07
to krusade...@googlegroups.com
sure, agreed.
i didn't mean that i want you to do those parts only :-)
your help is appreciated all over. i just said that i don't know how
to continue, and konfigurator is next on the compilation units.

i'll update later tonight and continue where you left off

shie

Karai Csaba

unread,
Aug 25, 2007, 8:11:02 AM8/25/07
to krusade...@googlegroups.com
Konfigurator now compiles for me.

Csaba


Shie Erlich
______________________________________________________________________________________
Belevaló ajánlatok iskolakezdéshez! Vásároljon tankönyvet, számológépet, írószert sorban állás nélkül! [origo] vásárlás

Shie Erlich

unread,
Aug 25, 2007, 12:00:04 PM8/25/07
to krusade...@googlegroups.com
cool!
we can continue on...
i guess the next big hurdle will be the view/panel

Karai Csaba

unread,
Aug 26, 2007, 3:58:03 AM8/26/07
to krusade...@googlegroups.com
Hi Shie!

I noticed that you are working on the SVN.

I changed path(x) -> path( KUrl::Add/RemoveTrailingSlash ),
and adjustPath(x) -> adjustPath(KUrl::Add/Remove...)

About 15 files are affected.
Can you please update and merge if necessary?

Sorry for causing trouble.
I won't work more on SVN this morning.

Thanks,

Csaba

Shie Erlich írta:


> cool!
> we can continue on...
> i guess the next big hurdle will be the view/panel
>
> shie
>

> On 8/25/07, *Karai Csaba* < csk...@freemail.hu


> <mailto:csk...@freemail.hu>> wrote:
>
> Konfigurator now compiles for me.
>
> Csaba
>
>
> Shie Erlich
>
> sure, agreed.
> i didn't mean that i want you to do those parts only :-)
> your help is appreciated all over. i just said that i don't know how
> to continue, and konfigurator is next on the compilation units.
>
> i'll update later tonight and continue where you left off
>
> shie

> **__**


> On 8/25/07, * Karai Csaba* <csk...@freemail.hu> wrote:
>
> OK. I'll focus on Konfigurator, Synchronizer and Locate.
>
> But my work might affect other components as well.
>
> KDialogBase->KDialog, KJanusWidget->KPageWidget change
> affected nearly all components.
>
> Csaba
>
> Shie Erlich
>
> Csaba,
> i got to the point of Konfigurator porting.
> i'd rather you had a go at it, since you wrote it, and i
> don't know much about it.
>
> svn up and enjoy ;-)
>
> shie
>

> On 8/25/07, *Shie Erlich* <shie....@gmail.com> wrote:
>
> btw, since we're both working on and off, possibly
> on the same files,
> let's make to always 'svn up' before starting to code...
>
> shie
>
>

> On 8/25/07, * Shie Erlich* <shie....@gmail.com>


> wrote:
>
> cool.
> i have some uncommited fixes too, mainly around
> main.cpp.
> i'll try to commit asap
>
> shie
>
>

> On 8/24/07, * Karai Csaba* <

> <http://cthandler.adverticum.net/?cturl=http%3A%2F%2Fzenearuhaz.t-online.hu%2Findex.php%3Fm%3Dsearch%26src_p%3D1%26l%3Dhun%26word%3DThe%2BRolling%2BStones%26target%3D0%26Keres%3DKeres%25C3%25A9s%26Levelllalja_Stones>


>
>
>
>
>
> --
> Shie Erlich
> http://www.krusader.org/
>
>
> ______________________________________________________________________________________
> Belevaló ajánlatok iskolakezdéshez! Vásároljon tankönyvet,
> számológépet, írószert sorban állás nélkül! [origo] vásárlás

> <http://cthandler.adverticum.net/?cturl=http%3A%2F%2Fiskolakezdes.vasarlas.origo.hu%3Flevelalja_aug>

Shie Erlich

unread,
Aug 26, 2007, 4:52:28 AM8/26/07
to krusade...@googlegroups.com
i don't think you caused troubles, as i always 'svn up' before i start working,
and i did my last commit for the day few hours ago.
the problem is that i can't get each subdir to compile separately and that causes
a situation where we both port the same files all the times.

i won't have time to do any more work today though :-(

plz note that i was working on krusader.cpp and added new macros (NEW_KACTION)
to help with porting all the KActions to the new structures. if you work with it, plz
use them (there are about 10 more actions or so to finish)

shie

Karai Csaba

unread,
Aug 26, 2007, 10:01:42 AM8/26/07
to krusade...@googlegroups.com
I noticed that the CMakeLists.txt files are empty for the
subdirectories. It means, that subdirs are not compiled.

What I am doing:
- I only commit CMakeLists.txt, when the module compiles,
till then it's on my local machine.

I am working on VFS, that's why I have a personal CMakeLists.txt for
VFS. When it is ready, I'll commit it.

That's all,

Csaba

Shie Erlich írta:


> i don't think you caused troubles, as i always 'svn up' before i start
> working,
> and i did my last commit for the day few hours ago.
> the problem is that i can't get each subdir to compile separately and
> that causes
> a situation where we both port the same files all the times.
>
> i won't have time to do any more work today though :-(
>
> plz note that i was working on krusader.cpp and added new macros
> (NEW_KACTION)
> to help with porting all the KActions to the new structures. if you work
> with it, plz
> use them (there are about 10 more actions or so to finish)
>
> shie
>

> On 8/26/07, * Karai Csaba* <csk...@freemail.hu


> <mailto:csk...@freemail.hu>> wrote:
>
>
> Hi Shie!
>
> I noticed that you are working on the SVN.
>
> I changed path(x) -> path( KUrl::Add/RemoveTrailingSlash ),
> and adjustPath(x) -> adjustPath(KUrl::Add/Remove...)
>
> About 15 files are affected.
> Can you please update and merge if necessary?
>
> Sorry for causing trouble.
> I won't work more on SVN this morning.
>
> Thanks,
>
> Csaba
>
> Shie Erlich írta:
> > cool!
> > we can continue on...
> > i guess the next big hurdle will be the view/panel
> >
> > shie
> >
> > On 8/25/07, *Karai Csaba* < csk...@freemail.hu
> <mailto:csk...@freemail.hu>

> > <mailto: csk...@freemail.hu <mailto:csk...@freemail.hu>>> wrote:
> >
> > Konfigurator now compiles for me.
> >
> > Csaba
> >
> >
> > Shie Erlich
> >
> > sure, agreed.
> > i didn't mean that i want you to do those parts only :-)
> > your help is appreciated all over. i just said that i
> don't know how
> > to continue, and konfigurator is next on the compilation
> units.
> >
> > i'll update later tonight and continue where you left off
> >
> > shie
> > **__**
> > On 8/25/07, * Karai Csaba* <csk...@freemail.hu

> <mailto:csk...@freemail.hu>> wrote:
> >
> > OK. I'll focus on Konfigurator, Synchronizer and Locate.
> >
> > But my work might affect other components as well.
> >
> > KDialogBase->KDialog, KJanusWidget->KPageWidget change
> > affected nearly all components.
> >
> > Csaba
> >
> > Shie Erlich
> >
> > Csaba,
> > i got to the point of Konfigurator porting.
> > i'd rather you had a go at it, since you wrote it,
> and i
> > don't know much about it.
> >
> > svn up and enjoy ;-)
> >
> > shie
> >
> > On 8/25/07, *Shie Erlich* < shie....@gmail.com

> <mailto:shie....@gmail.com>> wrote:
> >
> > btw, since we're both working on and off, possibly
> > on the same files,
> > let's make to always 'svn up' before starting
> to code...
> >
> > shie
> >
> >
> > On 8/25/07, * Shie Erlich*

> <shie....@gmail.com <mailto:shie....@gmail.com>>


> > wrote:
> >
> > cool.
> > i have some uncommited fixes too, mainly
> around
> > main.cpp.
> > i'll try to commit asap
> >
> > shie
> >
> >
> > On 8/24/07, * Karai Csaba* <
> > csk...@freemail.hu

> > http://www.krusader.org/ <http://www.krusader.org/>

Shie Erlich

unread,
Aug 26, 2007, 9:58:23 AM8/26/07
to krusade...@googlegroups.com
are you sure you're correct? perhaps CMakeList.txt are auto-generated for the subdirs?
evidentally, if you run make from the top-level dir, then subdirs are compiled (konfigurator etc.)

shie

anyway: i'm working on krusader.cpp

On 8/26/07, Karai Csaba <csk...@freemail.hu> wrote:

Shie Erlich

unread,
Aug 26, 2007, 10:49:29 AM8/26/07
to krusade...@googlegroups.com
comitted krusader.cpp !!
what a nasty file that was...

shie

Shie Erlich

unread,
Aug 26, 2007, 4:28:03 PM8/26/07
to krusade...@googlegroups.com
i commited a bunch of (seem to be working) CMakeFiles.txt files.
now, we can all just choose a subdir and start working on it separately.

Shie Erlich

unread,
Aug 26, 2007, 4:55:59 PM8/26/07
to krusade...@googlegroups.com
csaba,
according to kde's porting guide for KDialog:

don't overide anymore slotFoo(). You now need to connect to FooClicked signal. Or reimplement accept() and reject() to intercept the Ok and Cancel button

i think that Konfigurator needs to be fixed, no?

Shie Erlich

unread,
Aug 26, 2007, 5:37:52 PM8/26/07
to krusade...@googlegroups.com
btw csaba: i need help with BookMan. i can't seem to understand some of the logic (or can't remember) in bookmarkhandler.*
i'd appriciate it if you could have a look

Karai Csaba

unread,
Aug 27, 2007, 12:41:20 PM8/27/07
to krusade...@googlegroups.com

I hope so.

I just added extra connects which points to slotUser1, slotUser2,...
That was the shortest solution.

I don't know whether KDialog handles the default OK, Cancel as well.
If KDialog doesn't handle them, then it will not work.

A major testing would be very important.

Thanks,

    Csaba


Shie Erlich
______________________________________________________________________
19 Ft/kép - Nyaralási élmények fényképeken - FotoMarket online fotóalbum

Karai Csaba

unread,
Aug 27, 2007, 12:43:29 PM8/27/07
to krusade...@googlegroups.com
I'd rather postpone the bookmarks.
We have to investingate whether KDE 4 has a bookmark class independent of Konqueror.

Csaba



Shie Erlich

Shie Erlich

unread,
Aug 27, 2007, 4:52:16 PM8/27/07