lol, now I have given up. Even with the include issue resolved, I get errors for the following code:
***code***
|
Source code
|
1
2
3
4
5
6
7
8
|
#include <kapp.h>
int main(int argc, char **argv)
{
KApplication app(argc, argv, "a", 0 , 0 );
//DCOPClient *client = kapp->dcopClient();
return 0;
}
|
g++ -o dcop main.o -L/usr/lib/qt-3.3/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm
main.o(.text+0x51): In function `main':
/home/fortezza/qt3/dcop/main.cpp:5: undefined reference to `KApplication::KApplication[in-charge](int&, char**, QCString const&, bool, bool)'
main.o(.text+0x61):/home/fortezza/qt3/dcop/main.cpp:7: undefined reference to `KApplication::~KApplication [in-charge]()'
collect2: ld returned 1 exit status
make: *** [dcop] Error 1
So, even the simple act of creating a kde application object does not work, even with the correct header files/library paths. Any ideas?