Registered Member
|
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...
|
KDE Developer
|
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.
|
Registered Member
|
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 |
Administrator
|
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] |
Registered Member
|
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
|
KDE Developer
|
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.
|
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell