New BinReloc patch
Arend van Beelen jr.
arend at auton.nl
Mon Apr 19 18:50:14 BST 2004
On Monday 19 April 2004 17:02, Harri Porten wrote:
> On Mon, 19 Apr 2004, Arend van Beelen jr. wrote:
> > Of course I can entire exclude the functions from the API on those
> > platforms. But I fail to see how that's any better than letting the
> > program compile but with without binary relocation support.
>
> A compile error on the developer's or packager's machine is better than a
> runtime error for the user.
But the functions are meant as an addition to current methods to find
directories. As long as people don't /solely/ depend on these functions
(which would be very bad as they are documented to possibly return
QString::null) the user won't get any errors they wouldn't get with the
developer not using these functions.
> Have you seen QApplication::applicationDirPath() btw?
Yes, but it doesn't provide a real solution. It's only a workaround that
*sometimes* works, it doesn't work for relative paths or with symlinks.
--
Arend van Beelen jr.
http://www.liacs.nl/~dvbeelen
It's a wonderful life - if you can find it.
-- Nick Cave & The Bad Seeds
More information about the kde-core-devel
mailing list