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

Developing for kde 4...

Tags: None
(comma "," separated)
akshay.sulakhe
Registered Member
Posts
3
Karma
0

Developing for kde 4...

Mon May 11, 2009 9:16 pm
hello friends...m learning QT language these days as KDE is developed in qt..but when i came across certain sources the libraries differ from normal QT code...there were KDE specific lib's..so my question is how can i setup the environment.i went through the documentation provided on QT site,but instead it provides how to build KDE...also like trolltech.com has tutorials on their site where can i get such tutorials to begin development in KDE...Any help would be appreciated..thanks...do reply...:-)
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

RE: Developing for kde 4...

Tue May 12, 2009 10:41 am
The starting points are KDE TechBase http://techbase.kde.org/Welcome_to_KDE_TechBase for general information and HowTos and KDE's API docs http://api.kde.org for detailed descriptions of KDE's development platform

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
carl
Registered Member
Posts
4
Karma
0

RE: Developing for kde 4...

Wed May 20, 2009 9:06 am
I am in the same situation and am using KDevelop and Qt Creator to do some initial stuff, however am encountering certain problems, mainly due to some lack of libraries. At least that is my understanding from the errors being generated. One case in point is when I try to create a simple kde application using Kdevelop. The error

configure: error: Qt (>= Qt 3.2 and < 4.0) (headers and libraries) not found. Please check your installation!

is being encountered when I Run configure (after running automake and friends, which successfully terminates).

I had the impression that since I have kubuntu 9.04 with the KDE 4.2.2, this meant that Qt libraries are also present. However to be sure I downloaded the latest Qt package and set the kdevelop project settings to point to Qt's bin where both qmake and designer are found. I have to point out that creating Qt related stuff in KDevelop creates no issues and this makes things even more curious.

hope I get some reply on this one

cheers
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: Developing for kde 4...

Wed May 20, 2009 9:53 am
Are you using the KDE 4 version of KDevelop ( not yet released ) or the KDE 3 version? Unfortunately, it is not possible to use the KDE 3 version with Qt4 / KDE 4.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
carl
Registered Member
Posts
4
Karma
0

RE: Developing for kde 4...

Wed May 20, 2009 10:00 am
I am using KDevelop 3.5.3 and it uses KDE 3.5.10.
Could this be the problem?
What if I configure the project to work with Qt3?
However when I set the Qt options to Qt 4 it does work.
What am I missing?

cheers

bcooksley wrote:Are you using the KDE 4 version of KDevelop ( not yet released ) or the KDE 3 version? Unfortunately, it is not possible to use the KDE 3 version with Qt4 / KDE 4.
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

RE: Developing for kde 4...

Wed May 20, 2009 12:52 pm
You can use kapptemplate from KDE4 to generate a KDE4 program stub.

You can then use cmake's project file generate to let it create a KDevelop3 project file, see cmake --help

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.


Bookmarks



Who is online

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