Difference between revisions of "Talk:Installing third party softwares in terminal/Set up KDE 4 for development"

Jump to: navigation, search
($KDEDIR)
m (moved Talk:Getting Started/Set up KDE 4 for development to Talk:Installing third party softwares in terminal/Set up KDE 4 for development: I want to know how to install a 3rd party software , which doesn't have 1-click install. eg. i downloade)
 
(13 intermediate revisions by 8 users not shown)
Line 2: Line 2:
 
What benefits does ''ssh -X kde-devel@localhost'' have over
 
What benefits does ''ssh -X kde-devel@localhost'' have over
 
''su - kde-devel''? The question is directed mainly at tstaerk. ;) [[User:Logixoul|Logixoul]] 00:54, 5 January 2007 (CET)
 
''su - kde-devel''? The question is directed mainly at tstaerk. ;) [[User:Logixoul|Logixoul]] 00:54, 5 January 2007 (CET)
 +
 +
'''Using sux'''
 +
 +
Have you considered using sux instead of "ssh -X" or "su - kde-devel && export DISPLAY=:0 && xhost +localhost:kde-devel" I see it easier and more convient.
 +
[[User:Kebianizao|Kebianizao]] 18:40, 7 July 2007 (CET)
  
 
==$KDEDIR==
 
==$KDEDIR==
Line 10: Line 15:
  
 
::How about $KDEBASEDIR? --[[User:80.250.128.6|80.250.128.6]] 08:43, 30 January 2007 (CET)
 
::How about $KDEBASEDIR? --[[User:80.250.128.6|80.250.128.6]] 08:43, 30 January 2007 (CET)
 +
 +
::Ah ok. Then let's keep KDEDIR, it's short and meaningful. --[[User:Dhaumann|Dhaumann]] 09:29, 30 January 2007 (CET)
 +
 +
==Xephyr==
 +
 +
'''keyboard layout'''
 +
 +
Can a note be added on how to change the Xephyr keyboard layout? I tried several options already but always end up with the default qwerty layout :( --[[User:tbscope|tbscope]] 15:06, 24 February 2007 (CET)
 +
 +
Start Xephyr with the ''+kb'' option which enables the xkb extension. Then choose your keyboard layout in KDE as usual (''System Settings/Regional&Language/Keyboard Layout'') --[[User:BenjieMouse|BenjieMouse]] 12:35, 19 July 2008 (CEST)
 +
 +
 +
'''screen size'''
 +
 +
The default screen size for Xephyr is 640x480 which is not enough for using KDE. I propose adding the parameter -screen 1024x768x16 for example. --[[User:Kebianizao|Kebianizao]] 19:45, 10 July 2007 (CET)
 +
 +
== kdesdk ==
 +
 +
Wouldn't it be helpful, to post a hint, that the installation of kdesdk is very useful? --[[User:Lucas-r2d2|Lucas-r2d2]] 18:37, 3 May 2007 (CEST)
 +
 +
:Well, probably yes (I don't use it myself). Please add it to the page (I'd say same level as KDevelop/KBugBuster/...). Explain how to install it (if that is much different from kdebase) and explain how to use the programs included there and why they are useful. Make sure there is no overlap with [[Getting_Started/Increased_Productivity_in_KDE4_with_Scripts|this page]]. [[User:TMG|TMG]] 17:16, 5 May 2007 (CEST)
 +
 +
== kdevelop ==
 +
 +
I followed the chapter about kdevelop, nice work. Especially:
 +
- you tell the reader what to do
 +
- you tell him why to do this
 +
- your language is clear, e.g. "Now you should be able to start KDevelop by typing start3app kdevelop. Do that now."
 +
 +
I really like this tutorial and it worked for me. Thanks for the tutorial.
 +
 +
=== Problems ===
 +
 +
* All menu items you name do not exist for me. I am using the latest kdevelop version from 3.5 branch, 3.3.5 (which is too minor according to you).
 +
* $KDE_SRC/KDE/kdelibs/kdelibs-apidocs/index.html does not exist for me. make apidox is not possible.
 +
 +
--[[User:Tstaerk|Tstaerk]] 09:25, 21 December 2007 (CET)
 +
 +
== Problem: Kdevelop codecompletetion for KDE libs ==
 +
 +
Having problems getting the codecompletion to work for kde.
 +
Qt4 works just fine.
 +
 +
Tried to tell the importer to import every file in /usr/include/KDE
 +
which it does, but codecompletetion won't work.
 +
 +
Do this problem have anything to do with the fact that KDE includes
 +
look like this (in this case /usr/include/KDE/KApplication):
 +
 +
<code>#include "../kapplication.h"</code>
 +
 +
Also tried to download the newest KDElibs (4.0.1), but the files in
 +
the "includes" dir looks exactly the same as those in /usr/include/KDE
 +
 +
I use a temporary solution: I import every k*.h file from /usr/include
 +
which seems to get most of the kde header files.
 +
 +
--[[Special:Contributions/90.228.193.140|90.228.193.140]] 10:52, 12 February 2008 (CET)
 +
 +
::The includes in /usr/include/KDE are just forward includes, which the KDevelop parser does not understand. The real includes are indeed directly in /usr/include. I suggest telling KDevelop to parse the files in the kdelibs source directory, which usually is $KDE_SRC/KDE/kdelibs if you've followed the Techbase guide to build.
 +
:: If you don't have the source, then I guess the only thing you can do is to import every k*.h file from /usr/include, but that will miss many files. --[[User:TMG|TMG]] 19:01, 12 February 2008 (CET)

Latest revision as of 03:09, 2 February 2011

Contents

[edit] ssh?

What benefits does ssh -X kde-devel@localhost have over su - kde-devel? The question is directed mainly at tstaerk. ;) Logixoul 00:54, 5 January 2007 (CET)

Using sux

Have you considered using sux instead of "ssh -X" or "su - kde-devel && export DISPLAY=:0 && xhost +localhost:kde-devel" I see it easier and more convient. Kebianizao 18:40, 7 July 2007 (CET)

[edit] $KDEDIR

IIRC, $KDEDIR is not used anymore for some weeks now. It's $KDEDIRS now. Right? --Dhaumann 19:35, 27 January 2007 (CET)

Yes, but as used in this tutorial it's just a regular environment variable used to fill in the $PREFIX in other env vars. Perhaps it should be renamed to $KDE_PREFIX or something? --Aseigo 00:55, 30 January 2007 (CET)
How about $KDEBASEDIR? --80.250.128.6 08:43, 30 January 2007 (CET)
Ah ok. Then let's keep KDEDIR, it's short and meaningful. --Dhaumann 09:29, 30 January 2007 (CET)

[edit] Xephyr

keyboard layout

Can a note be added on how to change the Xephyr keyboard layout? I tried several options already but always end up with the default qwerty layout :( --tbscope 15:06, 24 February 2007 (CET)

Start Xephyr with the +kb option which enables the xkb extension. Then choose your keyboard layout in KDE as usual (System Settings/Regional&Language/Keyboard Layout) --BenjieMouse 12:35, 19 July 2008 (CEST)


screen size

The default screen size for Xephyr is 640x480 which is not enough for using KDE. I propose adding the parameter -screen 1024x768x16 for example. --Kebianizao 19:45, 10 July 2007 (CET)

[edit] kdesdk

Wouldn't it be helpful, to post a hint, that the installation of kdesdk is very useful? --Lucas-r2d2 18:37, 3 May 2007 (CEST)

Well, probably yes (I don't use it myself). Please add it to the page (I'd say same level as KDevelop/KBugBuster/...). Explain how to install it (if that is much different from kdebase) and explain how to use the programs included there and why they are useful. Make sure there is no overlap with this page. TMG 17:16, 5 May 2007 (CEST)

[edit] kdevelop

I followed the chapter about kdevelop, nice work. Especially: - you tell the reader what to do - you tell him why to do this - your language is clear, e.g. "Now you should be able to start KDevelop by typing start3app kdevelop. Do that now."

I really like this tutorial and it worked for me. Thanks for the tutorial.

[edit] Problems

  • All menu items you name do not exist for me. I am using the latest kdevelop version from 3.5 branch, 3.3.5 (which is too minor according to you).
  • $KDE_SRC/KDE/kdelibs/kdelibs-apidocs/index.html does not exist for me. make apidox is not possible.

--Tstaerk 09:25, 21 December 2007 (CET)

[edit] Problem: Kdevelop codecompletetion for KDE libs

Having problems getting the codecompletion to work for kde. Qt4 works just fine.

Tried to tell the importer to import every file in /usr/include/KDE which it does, but codecompletetion won't work.

Do this problem have anything to do with the fact that KDE includes look like this (in this case /usr/include/KDE/KApplication):

#include "../kapplication.h"

Also tried to download the newest KDElibs (4.0.1), but the files in the "includes" dir looks exactly the same as those in /usr/include/KDE

I use a temporary solution: I import every k*.h file from /usr/include which seems to get most of the kde header files.

--90.228.193.140 10:52, 12 February 2008 (CET)

The includes in /usr/include/KDE are just forward includes, which the KDevelop parser does not understand. The real includes are indeed directly in /usr/include. I suggest telling KDevelop to parse the files in the kdelibs source directory, which usually is $KDE_SRC/KDE/kdelibs if you've followed the Techbase guide to build.
If you don't have the source, then I guess the only thing you can do is to import every k*.h file from /usr/include, but that will miss many files. --TMG 19:01, 12 February 2008 (CET)

This page was last modified on 2 February 2011, at 03:09. This page has been accessed 5,508 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal