[Marble-bugs] [Bug 191047] linking problem on windows

egk865 at yahoo.com egk865 at yahoo.com
Tue Jul 28 23:39:56 CEST 2009


https://bugs.kde.org/show_bug.cgi?id=191047





--- Comment #6 from  <egk865 yahoo com>  2009-07-28 23:39:54 ---
Looks good. Thanks! 

One new thing I just noticed though was that in order to get marble to compile
on windows xp using visual studio 2008, I needed to change line 71 of
GeoWidgetBubble.cpp from 

QPalette p( QColor(Qt::lightGray ), QColor( Qt::lightGray) );

to

QPalette p( Qt::lightGray , Qt::lightGray );

Not sure why but for some reason a compiler error was generated:

Here's the output from visual studio

1>Compiling...
1>GeoWidgetBubble.cpp
1>..\..\..\..\..\marble-svn\src\plugins\render\osmannotate\GeoWidgetBubble.cpp(71)
: error C2751: 'lightGray' : the name of a function parameter cannot be
qualified
1>..\..\..\..\..\marble-svn\src\plugins\render\osmannotate\GeoWidgetBubble.cpp(71)
: error C2751: 'lightGray' : the name of a function parameter cannot be
qualified
1>..\..\..\..\..\marble-svn\src\plugins\render\osmannotate\GeoWidgetBubble.cpp(71)
: error C2086: 'QColor lightGray' : redefinition
1>       
..\..\..\..\..\marble-svn\src\plugins\render\osmannotate\GeoWidgetBubble.cpp(71)
: see declaration of 'lightGray'
1>..\..\..\..\..\marble-svn\src\plugins\render\osmannotate\GeoWidgetBubble.cpp(75)
: error C2664: 'QWidget::setPalette' : cannot convert parameter 1 from
'QPalette (__cdecl *)(QColor)' to 'const QPalette &'
1>        Reason: cannot convert from 'overloaded-function' to 'const QPalette'
1>        No constructor could take the source type, or constructor overload
resolution was ambiguous
1>Build log was saved at
"file://c:\projects\adviser\marble\build2-svn\src\plugins\render\osmannotate\OsmAnnotatePlugin.dir\Release\BuildLog.htm"
1>OsmAnnotatePlugin - 4 error(s), 0 warning(s)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Marble-bugs mailing list