using shared libs other than QT/KDE.

Thomas Regner tomte at subdimension.com
Thu Apr 13 07:23:49 UTC 2000


Hi Serge,


Just use it ;)

It seems that you know how to use the zlib to compress things, the rest is as simple as that:

In KDevelop you add -lz to the linker options ( Projekt-options, linker-options-tab, the bottom-near text-line)

compile your program.

thats it.

On Don, 13 Apr 2000, you wrote:
> Hi,
> I'm making a little, but useful  KDE app using Kdevelop.
> I want to use some zlib functions ( gzxxx() ) to be able
> to compress/uncompress data to/from files.

> My app do works right now, using write pipe << popen ("gzip >
> file","w"); >>
> but I feel it is not elegant.
> 
> My problem is that the only zlib files I have are the shared .so files.
> I don't know how to use shared libs and how it work...
> Is someone cool and kind to be willing to explain to me what I have to
> do ?
> 
> Thank you.
> 
> Serge Lussier
> ICQ#53409121
-- 
/--------------
| Thomas Regner			
| Kaiserstr. 5			
| 26122 Oldenburg		
| Tel.: +49 441 7775005		
| E.:   tomte at subdimension.com	
|______________________________/




More information about the KDevelop mailing list