diff options
Diffstat (limited to 'doc/kommander/extending.docbook')
-rw-r--r-- | doc/kommander/extending.docbook | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/kommander/extending.docbook b/doc/kommander/extending.docbook index 1adfdc25..473b8ec5 100644 --- a/doc/kommander/extending.docbook +++ b/doc/kommander/extending.docbook @@ -346,12 +346,12 @@ mykomplugin.cpp, compiling and installing your plugin would involve something similar to the following commands: </para> <screen> -libtool --mode=compile g++ -$KDEDIR/include -IQTDIR/include \ +libtool --mode=compile g++ -$TDEDIR/include -IQTDIR/include \ -I. -fPIC -c komlineedit.cpp -libtool --mode=compile g++ -$KDEDIR/include -IQTDIR/include \ +libtool --mode=compile g++ -$TDEDIR/include -IQTDIR/include \ -I. -fPIC -c mykomplugin.cpp -libtool --mode=link g++ -shared -L$KDEDIR/lib -ltdeui -lkommanderwidget \ +libtool --mode=link g++ -shared -L$TDEDIR/lib -ltdeui -lkommanderwidget \ -lkommanderplugin komlineedit.cppkomlineedit.o mykomplugin.o -o libmykomplugin.so </screen> @@ -359,7 +359,7 @@ libtool --mode=link g++ -shared -L$KDEDIR/lib -ltdeui -lkommanderwidget \ If you want to install new plugin system-wide, root, use: </para> <screen> -su -c "cp libmykomplugin.so $KDEDIR/lib" +su -c "cp libmykomplugin.so $TDEDIR/lib" </screen> <note><para>If you use the KDevelop project generator, you will not need to do the above, but instead adapt the Makefile.am to link against extra libraries. By default, it will link to &Qt; and &kde; libraries and generate all the needed object files. Just run <command>make</command> to build, and <command>su -c make install</command> to install.</para></note> </sect2> |