[Kmatplot-general] Re: Kmatplot under Debian
Brought to you by:
kamil
From: Kamil D. <kam...@wp...> - 2002-03-13 03:58:27
|
Dnia wto 12. marzec 2002 02:39, napisa?e?: > Hey, > > On Tuesday, 12. March 2002 22:41, you wrote: > > Dnia nie 10. marzec 2002 23:27, napisa?e?: > > > 2. Problem: > > > Debian has two different version of the qt lib. One with GL support and > > > one without. The linked programm only works, if it is linked to > > > libqt-gl *before* any qt or kde lib. Otherwise it crashes on startup in > > > Kapplication::Kapplication (the first time it tries to access the qt > > > lib). So the --with-qgl-extension switch doesn't work correctly for > > > Debian, because this lib isn't inserted before all kde and qt libs. I > > > don't really understand how the --with-qgl-extension switch works so > > > I'm not able to provide a good fix. I was however able to get it > > > running, by changing the startup script kmatplot/kmatplot by hand so > > > that the "-lqt-gl" switch comes before any other "-l" switch for the > > > relink_command in line 20. > > > > There are three versions of Qt. On my RedHat I have qgl compiled-in into > > the main shared library file, but there are versions with the dynamic > > library qgl.so and the static one: qgl.a. Autoconf script tries to link a > > tiny example program with '-lqgl', and if everything is ok it means that > > the library is present, so it defines QGLLIB as "-lqgl" for use in > > Makefile.am's. > > Well there is no qgl lib on debian. But that's IMHO no problem. > > > It assumes that if there is a separate qgl library present, > > the main QT library hasn't qgl extension compiled in. > > This assumtion is correct for Debian. > > > If you provide--with-qgl-lib, QGLLIB variable is set directly. > > The problem is, that the qt-gl lib must be linked to before any other qt or > kde lib. So qt-gl must come before kdecore and qt. > I get it ! There is the second copy of Qt library, but with GL extension compiled in. Is it true ? It isn't very clever, I think, because usually both librares have to be in memory. If I put QTLIB before QGLLIB then the linker will catch Qt symbols from the first Qt lib, but it will not find any QGL... symbols there, so it will search further until it'll find them in the second lib. It should even work if the both libraries have the same version, but maybe I'm wrong. If i put QGLLIB before QTLIB then it takes all symbols from the same library, but still - it will be formally linked to the two Qt libraries. Am I right ? > > > Website ;-) : > > > The website isn't display correctly on a 1152x864 resolution with > > > konqueror 2.2.2 because konqueror doesn't like nested <ol> and too long > > > text (the suse link) in a <ol>. So the table is much too wide. > > > > Yes I know, it doesn't even pass W3C tests, but I have a little > > enthusiasm for maintaining it . After all it is only a web site .... > > Well this one thing is really annoying. And I think the website isn't that > unimportant because it's the first impression of the project. In case you > want me to, I could fix this one problem. > Of course, if you want. I can give you the access to the website or you can just send me corrected files. Kamil |