[Marble-devel] mDebug

Jens-Michael Hoffmann jensmh at gmx.de
Sat Aug 14 18:50:13 CEST 2010


Am Samstag, 14. August 2010, 18:22:45 schrieb Torsten Rahn:
> Hi,
> 
> I just realized that we have a bit of a clash with the MeeGo Touch
> libraries:
> 
> MeeGo Touch prefixes all their classes with "M".
> 
> Now with the normal classes of Marble there is no real problem regarding
> that. However their personal version of qDebug, called "mDebug" now
> clashes with our "mDebug" tool. Yes, we are using a different namespace.
> But once we'd have people using both libraries we'd run into issues.

Well, exactly for this reason we have the namespace Marble. We just have to 
stop using the "using namespace" directive.

"using namespace" (even if only in the source) is a bad idea anyway, as it 
might introduces conflicts.


Kind regards,
Jens-Michael

> 
> Any ideas how to resolve that decently? Should we rename it (and keep the
> mDebug for a release or two as a deprecated call) ?



More information about the Marble-devel mailing list