<p>__PRETTY_FUNCTION__ is gcc only, I think, I've ifdef'd some of those in the past. MSVC equivalent is __FUNCSIG__</p>
<div class="gmail_quote">Em 08/05/2012 11:31, "Stuart Dickson" <<a href="mailto:stuart.dickson@kogmbh.com">stuart.dickson@kogmbh.com</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi Taco,<br>
<br>
I can confirm that I receive the same build error with the kde-4.8
and the latest version of emerge.<br>
<br>
I'll ask the folks on the kde-windows community if there is a patch
for this yet, I thought one had been prepared, but it's possible
that it's not been merged yet.<br>
<br>
- Stuart<br>
<br>
<br>
On 08/05/2012 16:27, Taco H. in den Bosch wrote:
<blockquote type="cite"><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">Hi Boudewijn,<br>
<br>
thanks for your response. I tried building using the emerge
tool, and I have tried once more after your response. However,
in both cases I get errors during the build process.<br>
<br>
I am not sure if I now get the same errors as before, but at
least in the current case I get compilation errors in the QtDBus
component. I have pasted some of the compiler output below.<br>
<br>
To me these seem like basic compiler dependent problems, but I
am using Visual Studio 2010 as suggested in the build
instructions.<br>
<br>
Do you (or does anyone) have suggestions how to fix this?<br>
<br>
Taco.<br>
<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br>
menuexporter.cpp(52) : error C2065: '__PRETTY_FUNCTION__' :
undeclared identifie<br>
r<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br>
menuexporter.cpp(52) : error C2228: left of '.space' must have
class/struct/unio<br>
n<br>
C:\oss\kde\include\QtCore/qglobal.h(2362) : warning C4512:
'QForeachContainer<T><br>
' : assignment operator could not be generated<br>
with<br>
[<br>
T=QList<QAction *><br>
]<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\<br>
src\dbusmenuexporter.cpp(64) : see reference to class template
instantiation 'QF<br>
oreachContainer<T>' being compiled<br>
with<br>
[<br>
T=QList<QAction *><br>
]<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br>
menuexporter.cpp(71) : error C2065: '__PRETTY_FUNCTION__' :
undeclared identifie<br>
r<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br>
menuexporter.cpp(71) : error C2228: left of '.space' must have
class/struct/unio<br>
n<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br>
menuexporter.cpp(91) : error C2065: '__PRETTY_FUNCTION__' :
undeclared identifie<br>
r<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br>
menuexporter.cpp(91) : error C2228: left of '.space' must have
class/struct/unio<br>
n<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br>
menuexporter.cpp(93) : error C2065: '__PRETTY_FUNCTION__' :
undeclared identifie<br>
r<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br>
menuexporter.cpp(93) : error C2228: left of '.space' must have
class/struct/unio<br>
n<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br>
menuexporter.cpp(95) : error C2065: '__PRETTY_FUNCTION__' :
undeclared identifie<br>
r<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br>
menuexporter.cpp(95) : error C2228: left of '.space' must have
class/struct/unio<br>
n<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br>
menuexporter.cpp(163) : error C2065: '__PRETTY_FUNCTION__' :
undeclared identifi<br>
er<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br>
menuexporter.cpp(163) : error C2228: left of '.space' must have
class/struct/uni<br>
on<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br>
menuexporter.cpp(188) : error C2065: '__PRETTY_FUNCTION__' :
undeclared identifi<br>
er<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br>
menuexporter.cpp(188) : error C2228: left of '.space' must have
class/struct/uni<br>
on<br>
C:\oss\kde\include\QtCore/qglobal.h(2362) : warning C4512:
'QForeachContainer<T><br>
' : assignment operator could not be generated<br>
with<br>
[<br>
T=QSet<int><br>
]<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\<br>
src\dbusmenuexporter.cpp(369) : see reference to class template
instantiation 'Q<br>
ForeachContainer<T>' being compiled<br>
with<br>
[<br>
T=QSet<int><br>
]<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br>
menuexporter.cpp(469) : error C2065: '__PRETTY_FUNCTION__' :
undeclared identifi<br>
er<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br>
menuexporter.cpp(469) : error C2228: left of '.space' must have
class/struct/uni<br>
on<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br>
menuexporter.cpp(485) : error C2065: '__PRETTY_FUNCTION__' :
undeclared identifi<br>
er<br>
c:\oss\kde\build\kdesupport\dbusmenu-qt-0.9.2\work\libdbusmenu-qt-0.9.2\src\dbus<br>
menuexporter.cpp(485) : error C2228: left of '.space' must have
class/struct/uni<br>
on<br>
emerge debug: Task: Emerge stopped after: 0:06:24.050000<br>
<br>
<span style="font-family:tahoma,arial,sans-serif;font-size:10pt">
<hr align="center" size="2" width="100%">
<strong>From</strong>: "Boudewijn Rempt"
<a href="mailto:boud@valdyas.org" target="_blank"><boud@valdyas.org></a><br>
<strong>Sent</strong>: Tuesday, May 08, 2012 11:04 AM<br>
<strong>To</strong>: <a href="mailto:taco@heddesit.nl" target="_blank">taco@heddesit.nl</a>, "Calligra Suite
developers and users mailing list"
<a href="mailto:calligra-devel@kde.org" target="_blank"><calligra-devel@kde.org></a><br>
<strong>Subject</strong>: Re: Calligra on Windows: QtDBus</span><br>
<br>
On Tue, 8 May 2012, Taco H. in den Bosch wrote:<br>
<br>
> <br>
> Hi everybody,<br>
> <br>
> I am trying to build Calligra Words on Windows. This is
mostly working, except that a number of important<br>
> classes (prominently KoDocument) depend on the QtDBus
component which is not provided on windows (at least<br>
> not in the version 4.8.1 of Qt that I am using).<br>
> <br>
> There is a Windows build of calligra, maintained by KO GmbH
(<a href="http://www.kogmbh.com" target="_blank">www.kogmbh.com</a>), so they must have found a way<br>
> around this. Can anybody tell me how this is done? I see no
facility in the source code to remove the<br>
> dependency on QtDBus, so I imagine that they in some way
make this component available in Windows. I have<br>
> found a couple of references on the internet about doing
this, but it seems incomplete and not very<br>
> dependable.<br>
> <br>
> Any pointers in the right direction are appreciated.<br>
><br>
<br>
Hi Taco!<br>
<br>
We've short-circuited the base dependency part of calligra by
using KDE's <br>
windows emerge tool. That builds all the base parts, including
dbus on <br>
windows, and that enables the Qt dbus library as well. THere's
been some <br>
talk of making dbus optional or making it use windows' native
ipc, but no <br>
code has been written yet.<br>
<br>
You can find instructions on how to build calligra on windows
at:<br>
<br>
<a href="http://techbase.kde.org/Projects/KDE_on_Windows" target="_blank">http://techbase.kde.org/Projects/KDE_on_Windows</a><br>
<br>
and<br>
<br>
<a href="http://community.kde.org/Calligra/Building_Calligra_on_Windows" target="_blank">http://community.kde.org/Calligra/Building_Calligra_on_Windows</a><br>
<br>
Boudewijn<br>
_______________________________________________<br>
calligra-devel mailing list<br>
<a href="mailto:calligra-devel@kde.org" target="_blank">calligra-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/calligra-devel" target="_blank">https://mail.kde.org/mailman/listinfo/calligra-devel</a><br>
</span>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
calligra-devel mailing list
<a href="mailto:calligra-devel@kde.org" target="_blank">calligra-devel@kde.org</a>
<a href="https://mail.kde.org/mailman/listinfo/calligra-devel" target="_blank">https://mail.kde.org/mailman/listinfo/calligra-devel</a>
</pre>
</blockquote>
<br>
<br>
<div>-- Stuart Dickson // KO GmbH
<a href="http://kogmbh.com/legal/" target="_blank">http://kogmbh.com/legal/</a></div>
</div>
<br>_______________________________________________<br>
calligra-devel mailing list<br>
<a href="mailto:calligra-devel@kde.org">calligra-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/calligra-devel" target="_blank">https://mail.kde.org/mailman/listinfo/calligra-devel</a><br>
<br></blockquote></div>