[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Problems compiling 'hello word' for kde4
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2007-02-28 9:50:07
Message-ID: 20070228095007.GB3859 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]

On 27.02.07 19:31:07, Tomaz Canabrava wrote:
> following the
> http://developernew.kde.org/Getting_Started/Build/Unstable_Version
> 
> system osx 10.4.8
> kde4 installed on /opt/kde4 (compiled against the SVN, kdelibs, kdepimlibs)
> qt4 installed on /opt/kde4 (used fink packages for libraries needed by kde
> and Qt)
> 
> chucker:~ txc$ gcc KDETeste.cpp -o tutorial -I/opt/kde4/include/KDE
> -I/opt/kde4//include -I/opt/qt4/include/Qt -I/opt/qt4//include/QtCore
> -I/opt/qt4/include -L/opt/kde4/lib -L/opt/qt4/lib -lkdeui -lkdecore -ldl

You forgot to link against Qt, something like -lQtcore should be added.

Andreas

-- 
You are a fluke of the universe; you have no right to be here.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic