Re: Using callable IDL from a Qt application [message #58767 is a reply to message #58675] |
Thu, 14 February 2008 05:17  |
Tiemen
Messages: 3 Registered: February 2008
|
Junior Member |
|
|
AOn Feb 14, 10:50 am, Tiemen <tsc...@gmail.com> wrote:
> Hello,
>
> I'm trying to link an existing application with IDL on linux, using
> lidbidl.so. I started creating a small testing application and
> everything went great, I had things up and running quite quickly.
> However, the existing application uses Qt (www.trolltech.com) for its
> GUI. I want to keep it that way, so I don't want to use IDLs widgets,
> I only want IDL to perform some calculations on data provided by the
> Qt application.
>
> At this point the trouble started.
>
> Compiling/linking of a small example application seems to go fine, but
> starting the program gives me a lot of
>
> "libpngerror: zlib version error"
>
> After which my Qt GUI appears, but without any icons or graphics (as
> they are in png format). My best guess is that IDL links with libpng
> and/or libz statically instead of dynamically, and that therefore the
> wrong zlib is used. So, the normal thing would be to recompile IDL,
> but that's a bit hard with commercial software. I've looked into the
> possibility to recompile Qt with another static zlib, but this gives a
> lot of problems and no solution yet.
>
> I'm using IDL 7, system zlib version: 1.2.3.
>
> Hope you can help. If you need any more information I will of course
> be happy to supply. I can supply a simple program which will
> demonstrate the problem if you wish (needs Qt, and maybe it won't show
> the problem if your zlib differs or so).
>
> Thanks in advance,
>
> Tiemen
>
> PS Of course I've asked both IDL and Qt for support, but Qt mainly
> seems to think the problem is at IDL and IDL is quite slow to reply,
> so I thought about you guys :)
A related question to which perhaps more people know the answer: which
version of zlib does idl7 use? I fail to find this anywhere, and it
seems that if I just get the same version on my system this may solve
the problem as well (although it is not a very elegant solution).
Thanks,
Tiemen
|
|
|