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

List:       kde-devel
Subject:    Re: Help KDE noob !!
From:       supa () hyperdryve ! com
Date:       2005-08-31 1:55:41
Message-ID: 1125453341.43150e1d465b5 () webmail ! hyperdryve ! com
[Download RAW message or body]

Now i added 2 more menu items and it cannot link when compiling
and it gives the following error any ideas as to why ? I have included #include
<kfiledialog.h>

p3.o(.text+0xdfc): In function `MainWindow::fileOpen()':
: undefined reference to `KFileDialog::getOpenURL(QString const&, QString
const&, QWidget*, QString const&)'
p3.o(.text+0x1004): In function `MainWindow::fileSave()':
: undefined reference to `KFileDialog::getSaveURL(QString const&, QString
const&, QWidget*, QString const&)'
collect2: ld returned 1 exit status
thx!!
Sundara

Quoting "supa@hyperdryve.com" <supa@hyperdryve.com>:

> Wow thx a lot!!, that worked .
>
>
> Quoting "Gabriel M. Beddingfield" <gabriel@teuton.org>:
>
> > On Monday 29 August 2005 8:59 pm, supa@hyperdryve.com wrote:
> >
> > > I compile them as follows
> > > 	$g++ -c -I/usr/include/kde -I/usr/lib/qt-3.3/include -fno-rtti main.cpp
> > > 	moc p3.h -o p3.moc
> > > 	$g++ -c -I/usr/include/kde -I/usr/lib/qt-3.3/include -fno-rtti p3.cpp
> > > 	$g++ -L/usr/include/kde -L/usr/lib/qt-3.3/lib -lkdeui -lkdecore -lqt-mt
> > > -ldl -o p3 main.o p3.o
> >
> > Remove the '-fno-rtti' flags.
> >
> > --
> >        (@_
> >   _     ) \_______________________________________________
> >  (_)@8@8{}<__g_a_b_r_i_e_l___m___b_e_d_d_i_n_g_f_i_e_l_d__>
> >         )_/
> >        (@
> >
> > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> unsubscribe
> > <<
> >
>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe
> <<
>




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

 
>> 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