[Marble-devel] [Patch] fix marble data dirs on win32
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Sat Nov 3 17:35:40 CET 2007
Torsten Rahn schrieb:
> Hi Christian,
>
> On Saturday 03 November 2007 12:56:33 you wrote:
>> +++ src/lib/MarbleDirs.cpp (working copy)
>> @@ -20,6 +20,9 @@
>> //for getting app bundle path
>> #include <ApplicationServices/ApplicationServices.h>
>> #endif
>> +#if !defined(QTONLY)
>> +#include <kstandarddirs.h>
>> +#endif
>
> Unfortunately this is not a viable solution as this would change the libmarble
> binary to get compiled against KDE.
>
> Please find a different solution that doesn't require anything in
> marble/src/lib to have a KDE dependency (even an #ifdef'd one).
>
You should have told me earlier :)
Here a new patch.
I've also removed two QDir::separator() because they're useless as long
as you don't want to show them the user (Qt internally only use '/')
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: marble.patch
Type: text/x-diff
Size: 1782 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/marble-devel/attachments/20071103/cb62b31b/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/marble-devel/attachments/20071103/cb62b31b/attachment.pgp
More information about the Marble-devel
mailing list