[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www/areas/edu/development
From: Anne-Marie Mahfouf <annma () kde ! org>
Date: 2005-05-31 21:07:03
Message-ID: 1117573623.618598.6100.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 420351 by annma:
fixes
M +35 -5 port2kde4.php
--- trunk/www/areas/edu/development/port2kde4.php #420350:420351
@@ -17,10 +17,10 @@
instead.</li>
<li>Do not try to play with frames of groupboxes, labels, or lineedits to
fake a different widget. Use the appropriate widget instead.
-(e.g., instead of setting a label to have a sunken lineedit border, how
+e.g., instead of setting a label to have a sunken lineedit border, how
about using a readonly KLineEdit instead? And instead of using a lineedit
without a border for a copyable widget, use KActiveLabel.</li>
-<li>Do not use a groupbox without border to group widgets! Just use a layout)</li>
+<li>Do not use a groupbox without border to group widgets! Just use a layout</li>
</ol>
<h4>IRC channel</h4>
@@ -43,13 +43,16 @@
<h4>Getting unsermake</h4>
You need unsermake only to build KDE4.
<!--change to kde3.5 branch when needed -->
-<pre>svn co <protocol>://<username>@svn.kde.org/home/kde/trunk/kdenonbeta/unsermake</pre>
+<pre>svn co <protocol>://<username>@svn.kde.org/home/kde/trunk/kdenonbeta
+cd kdenonbeta
+svn up unsermake
+</pre>
unsermake is written in python, so it does not have to be compiled.<br />
To use unsermake, simply ensure that unsermake is in $PATH
by setting something like:
<pre>
-export PATH=/path_to_your_svn_files/kde/kdenonbeta/unsermake:$PATH
+export PATH=`pwd`:$PATH
</pre>
At this point building KDE modules as usual, starting with
"unsermake -f Makefile.cvs" should work.
@@ -59,7 +62,9 @@
Don't forget to set a new KDEDIR for kde4.<br />
For applications that play sounds: at the moment, there's no aRts module in kde4 \
(and probably there neve will) and akode will be imported somewhere (kdelibs or \
kdesupport). The KAudioPlayer class will be hacked to use akode in order to play \
sounds.<br /> <pre>
-svn co <protocol>://<username>@svn.kde.org/home/kde/branches/work/kde4/kdelibs
+svn co -N <protocol>://<username>@svn.kde.org/home/kde/branches/work/kde4/
+cd kde4
+svn up kdelibs
cd kdelibs
unsermake -f Makefile.cvs
./configure --prefix=/path/to/your/kde4/install/dir
@@ -68,6 +73,31 @@
</pre>
<h4>Working on your application</h4>
+Getting the kdeedu module
+<pre>
+cd kde4
+svn up kdeedu
+</pre>
+or playground/edu
+<pre>
+svn co <protocol>://<username>@svn.kde.org/home/kde/branches/work/kde4/playground/edu
+</pre>
+For example take myApp as example in the kdeedu module.
+I did
+<pre>
+cd kdeedu
+unsermake -f Makefile.cvs
+./configure --prefix=/path/to/your/kde4/install/dir
+cd myApp
+</pre>
+Use the Qt porting tool on your .cpp, .h and .ui files. It will fix the headers \
mainly. +<pre>
+qt3to4 myFiles.cpp myFiles.h
+</pre>
+Then try to build and look at the error messages.
+<p>
+The small fixes I had to do were mainly related to QStringList which class changed a \
lot and to some enums for which I had to add the Qt namespace. +</p>
<h4>Documentation</h4>
<ul>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic