From kde-devel Wed Jun 17 11:37:18 2009 From: Charles Abela Date: Wed, 17 Jun 2009 11:37:18 +0000 To: kde-devel Subject: Re: KDE development with QTCreator Message-Id: <5908cca00906170437v66afcbf0sff938aa03e92e396 () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kde-devel&m=124524756019867 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1603591605==" --===============1603591605== Content-Type: multipart/alternative; boundary=001636457b08b5548a046c89b6f7 --001636457b08b5548a046c89b6f7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks will try out what you suggested. On Wed, Jun 17, 2009 at 10:53 AM, Andreas Pakulat wrote: > On 17.06.09 10:46:23, Charles Abela wrote: > > newbie questions: > > I have Kubuntu 9.04 with KDE4, and I want to start experimenting with > some > > development using QTCreator (Qt 4.5.1) . I am following the tutorials on > KDE > > TechBase and the issue is that from within QtCreator I cannot access the > KDE > > libraries. There does not seem to be a way in which I can add the path to > > the KDE libraries packaged with Kubuntu to QTCreator. What am I missing? > Any > > help is greatly appreciated. > > You need to create a CMake project in Qt Creator, qmake is not a > buildsystem supported by KDE. And you'll have to understand cmake syntax to > write the needed cmake project files to find and use KDE4 libs and headers. > You could use kapptemplate from the kdesdk package to create a basic KDE > app and import that into Creator. > > Or you could use KDE's IDE, KDevelop instead which will allow you to create > working KDE applications out of the box (if kdesdk is installed). Its not > been released as stable yet, but AFAIK Kubuntu has the last beta packaged > somewhere. > > Andreas > > -- > You are farsighted, a good planner, an ardent lover, and a faithful friend. > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to > unsubscribe << > --001636457b08b5548a046c89b6f7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks will try out what you suggested.


On Wed, Jun 17, 2009 at 10:53 AM, Andreas Pakulat <= apaku@gmx.de> wrote:
On 17.06.09 10:46:23, Charles Abela wrote= :
> newbie questions:
> I have Kubuntu 9.04 with KDE4, and I want to start experimenting with = some
> development using QTCreator (Qt 4.5.1) . I am following the tutorials = on KDE
> TechBase and the issue is that from within QtCreator I cannot access t= he KDE
> libraries. There does not seem to be a way in which I can add the path= to
> the KDE libraries packaged with Kubuntu to QTCreator. What am I missin= g? Any
> help is greatly appreciated.

You need to create a CMake project in Qt Creator, qmake is not = a
buildsystem supported by KDE. And you'll have to understand cmake synta= x to
write the needed cmake project files to find and use KDE4 libs and headers.=
You could use kapptemplate from the kdesdk package to create a basic KDE app and import that into Creator.

Or you could use KDE's IDE, KDevelop instead which will allow you to cr= eate
working KDE applications out of the box (if kdesdk is installed). Its not been released as stable yet, but AFAIK Kubuntu has the last beta packaged somewhere.

Andreas

--
You are farsighted, a good planner, an ardent lover, and a faithful friend.=

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub= to unsubscribe <<

--001636457b08b5548a046c89b6f7-- --===============1603591605== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============1603591605==--