I have tried a little bit, but i'm not able to get it work. I'm not very
familiar with linking. Probably there is a way to link it dynamically, but i
don't know how to do, sorry.

My .pro file is this:

TEMPLATE =3D app
TARGET +=3D
DEPENDPATH +=3D . src
INCLUDEPATH +=3D . src
QT +=3D xml
QT +=3D svg
QT +=3D opengl
QT +=3D qt3support
CONFIG +=3D uitools thread
unix:LIBS +=3D -L/opt/kde3/lib -L/usr/lib/qt3
INCLUDEPATH +=3D /opt/kde3/include /opt/kde3/include/kio /usr/lib/qt3/inclu=
de

And the errors are like this:

/usr/lib/qt3/include/qptrcollection.h:49: error: invalid function
declaration
/usr/lib/qt3/include/qglist.h:45: error: invalid function declaration
/usr/lib/qt3/include/qglist.h:61: error: invalid function declaration
/usr/lib/qt3/include/qglist.h:150: error: invalid use of undefined type
‘struct QGList’
/usr/lib/qt3/include/qptrcollection.h:45: error: forward declaration of
‘struct QGList’
/usr/lib/qt3/include/qglist.h: In member function ‘uint
QGList::count() const’:
/usr/lib/qt3/include/qglist.h:152: error: ‘numNodes’ was not
declared in this scope
/usr/lib/qt3/include/qglist.h: At global scope:
/usr/lib/qt3/include/qglist.h:155: error: invalid use of undefined type
‘struct QGList’
/usr/lib/qt3/include/qptrcollection.h:45: error: forward declaration of
‘struct QGList’
/usr/lib/qt3/include/qglist.h: In member function ‘bool
QGList::removeFirst()’:
/usr/lib/qt3/include/qglist.h:157: error: ‘first’ was not
declared in this scope
/usr/include/stdio.h:154: error: too few arguments to function ‘int
remove(const char*)’
/usr/lib/qt3/
........

this is oviously a problem qt4 has with qt3




> --- Urspr=FCngliche Nachricht ---
> Von: David Faure
> An: kde-devel@kde.org
> Betreff: Re: qt4 and the KIO::CopyJob Class
> Datum: Fri, 30 Dec 2005 15:05:40 +0100
> =


> On Thursday 29 December 2005 14:32, Thiago Macieira wrote:
> > Andreas Gfrei wrote:
> > >Hello,
> > >i am working on a little qt4 program and now i would like to use the
> > > nice KIO::CopyJob Class to enable copying and moving files, but i am
> > > not able to compile it correctly. (I have never before done something
> > > with KDE so please excuse my ignorance) Is it possible to use
> > > KIO::CopyJob with a qt4 program?

> > =


> > The KIO framework from trunk/KDE/kdelibs/kio is not ready for public =


> > consumption. You can ask again in 10 months.

> =


> OTOH, it should work [even though parts of the API will change indeed,
> e.g. kapplication].
> =


> But I think Andreas is forgetting that if he wants to use CopyJob
> he needs to link to libkio, and probably to create a KApplication?
> Without a more precise description of the error it's hard to tell, anyway.
> =


> -- =


> David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
> Konqueror (http://www.konqueror.org), and KOffice
> (http://www.koffice.org).
> =


> =


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

> unsubscribe <<
> =



-- =

DSL-Aktion wegen gro=DFer Nachfrage bis 28.2.2006 verl=E4ngert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl
=

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

e <<