[Kmatplot-general] /etc/kmatplotrc solved
Brought to you by:
kamil
From: Laurent J. <lja...@fy...> - 2002-05-22 22:48:27
|
Hello Hugo, I have solved the problem of the not found /etc/kmatplotrc. This problem comes from two points: one in the kmatplot source, the other= in=20 the compilation process. To obtain a correct link of kmatplot with /etc/kmatplotrc, you have to 1=B0) add a line=20 export QSETTINGSDIR=3D/etc in the beginning of your kmatplot-0.4/debian/rules. If you don't do that, the variable QSETTINGDIR is not set in the building= of=20 the main Makefile by configure, whatever is the --with-qsettings-dir opti= on. 2=B0) uncomment the line 132 of /kmatplot-0.4/kmatplot/ksglobalsettings.c= pp // s.insertSearchPath( QSettings::Unix, "/etc" ); This seems to add the directory /etc to the list of places where kmatplot= =20 search kmatplotrc (but it is not activate by default). I have found that by applying=20 egrep -r /usr/local * on the global kmatplot source. This works for me. I have modified /etc/kmatplotrc to test that and it ha= s=20 been directly reported on the kmatplot Setting->Configure Kmatplot->Paths Now it's time for me to sleep ;-) Bye, Laurent. |