RE: KDevelop and rpmlib
I'm "using" KDevelop 3.0.4 (I said "using" because if i run kdev as non-root it crashes). I tried looking for options to include additional libraries in the project options, but I dunno what/how to change
>Well Kdevelope 3 doesn't include the linker option page, and i have also wasted alot of time doing this stuff, and finally got 2 solutions. 1st is that you can change the make file, after compiling the project go to the debug or optimized folder whatever you configure for, and open the make file. and then search for macro LIB and you will find it nearly about line # 310 to 315, you will find it as:
LIB =
just wite your libs with reletive path and run your project.
Second is that on the left of you kdevelope editor there is an menu for automake menager, go to that menu and go to options by left click on your project. on the first tab i.e Flags there are some check boxes and then there is field for
other $(KDE_RPATH) $(all_libraries)
just append it with the path of your libs and it will work fine. LIKE:
other $(KDE_RPATH) $(all_libraries) ../../MyLib.a ../../StaticLib.a
wish you all the best!!
Tayyab
|