<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt">Hi Ivan,<br />
<br />
I am trying to follow your suggestion and have installed (among others) the dbus and dbusmenu-qt components using the KDE installer. This has installed the sources and binaries of these components. However, it does not include the QtDBus directory of include files included by the Calligra sources, so I am still unable to compile Calligra.<br />
<br />
Did you use the installer for all dependency components, or did you combine some installed components with the 'emerge' tool, and if so, how? If not, what is your source for the required directory of include files?<br />
<br />
Your help is much appreciated.<br />
<br />
Taco.<br />
<div></div>
<br />
<br />
<span style="font-family: tahoma, arial, sans-serif; font-size: 10pt;"><hr size="2" width="100%" align="center" />
<strong>From</strong>: "ivan miraglia" <miraglia.ivan@gmail.com><br />
<strong>Sent</strong>: Wednesday, May 09, 2012 1:26 AM<br />
<strong>To</strong>: calligra-devel@kde.org<br />
<strong>Subject</strong>: Re: Calligra on Windows: QtDBus</span><br />
<br />
hello all,<br />
I'm new in the development of KDE/Calligra, so I think that my <br />
suggestions may not be the best one, but since I encountered the same <br />
problem two weeks ago and I solved it somehow, I share my simple solution.<br />
<br />
>From what I observed, the emerge tool downloads the source for the <br />
libdbusmenu-qt version 0.9.2 that are the same that I found at the <br />
following link:<br />
https://launchpad.net/libdbusmenu-qt (I think it is the official site of <br />
dbusmenu-qt library).<br />
This package is not suitable for building with Visual Studio as it is.<br />
<br />
At the following link<br />
http://windows.kde.org/download.php.<br />
you can download an installer that allows you to install many components <br />
of KDE on Windows.<br />
During installation process you can choose to download also/only the <br />
sources of KDE components (and their dependencies).<br />
I downloaded the sources for libdbusmenu-qt. The version is 0.9.0 that <br />
is sufficient to continue the building process. I used it instead of the <br />
one downloaded by emerge tool.<br />
<br />
I suppose that the same changes that are present in the sources <br />
downloaded by kdewin-installer can be merged into libdbusmenu-qt version <br />
0.9.2.<br />
<br />
Ivan<br />
<br />
<br />
<br />
> Date: Tue, 8 May 2012 12:50:40 -0300<br />
> From: Andrius da Costa Ribas<andriusmao@gmail.com><br />
> To: Calligra Suite developers and users mailing list<br />
>    <calligra-devel@kde.org><br />
> Subject: Re: Calligra on Windows: QtDBus<br />
> Message-ID:<br />
>    <CADzOArHY=bGrkAJ3XWcTAbWoBY12SQG49e_Aik+ypjfya9RDJg@mail.gmail.com><br />
> Content-Type: text/plain; charset="iso-8859-1"<br />
><br />
> __PRETTY_FUNCTION__ is gcc only, I think, I've ifdef'd some of those in the<br />
> past. MSVC equivalent is __FUNCSIG__<br />
> Em 08/05/2012 11:31, "Stuart Dickson"<stuart.dickson@kogmbh.com>  escreveu:<br />
><br />
>>   Hi Taco,<br />
>><br />
>> I can confirm that I receive the same build error with the kde-4.8 and the<br />
>> latest version of emerge.<br />
>><br />
>> I'll ask the folks on the kde-windows community if there is a patch for<br />
>> this yet, I thought one had been prepared, but it's possible that it's not<br />
>> been merged yet.<br />
>><br />
>> - Stuart<br />
>><br />
>><br />
>> On 08/05/2012 16:27, Taco H. in den Bosch wrote:<br />
>><br />
>> Hi Boudewijn,<br />
>><br />
>> thanks for your response. I tried building using the emerge tool, and I<br />
>> have tried once more after your response. However, in both cases I get<br />
>> 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<br />
>> current case I get compilation errors in the QtDBus component. I have<br />
>> pasted some of the compiler output below.<br />
>><br />
>> To me these seem like basic compiler dependent problems, but I am using<br />
>> 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 />
>><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<br />
>> identifie<br />
>> r<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 C2228: left of '.space' must have<br />
>> class/struct/unio<br />
>> n<br />
>> C:\oss\kde\include\QtCore/qglobal.h(2362) : warning C4512:<br />
>> 'QForeachContainer<T><br />
>> ' : assignment operator could not be generated<br />
>>          with<br />
>>          [<br />
>>              T=QList<QAction *><br />
>>          ]<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<br />
>> instantiation 'QF<br />
>> oreachContainer<T>' being compiled<br />
>>          with<br />
>>          [<br />
>>              T=QList<QAction *><br />
>>          ]<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<br />
>> identifie<br />
>> r<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 C2228: left of '.space' must have<br />
>> class/struct/unio<br />
>> n<br />
>><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<br />
>> identifie<br />
>> r<br />
>><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<br />
>> class/struct/unio<br />
>> n<br />
>><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<br />
>> identifie<br />
>> r<br />
>><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<br />
>> class/struct/unio<br />
>> n<br />
>><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<br />
>> identifie<br />
>> r<br />
>><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<br />
>> class/struct/unio<br />
>> n<br />
>><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<br />
>> identifi<br />
>> er<br />
>><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<br />
>> class/struct/uni<br />
>> on<br />
>><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<br />
>> identifi<br />
>> er<br />
>><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<br />
>> class/struct/uni<br />
>> on<br />
>> C:\oss\kde\include\QtCore/qglobal.h(2362) : warning C4512:<br />
>> 'QForeachContainer<T><br />
>> ' : assignment operator could not be generated<br />
>>          with<br />
>>          [<br />
>>              T=QSet<int><br />
>>          ]<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<br />
>> instantiation 'Q<br />
>> ForeachContainer<T>' being compiled<br />
>>          with<br />
>>          [<br />
>>              T=QSet<int><br />
>>          ]<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<br />
>> identifi<br />
>> er<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 C2228: left of '.space' must have<br />
>> class/struct/uni<br />
>> on<br />
>><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<br />
>> identifi<br />
>> er<br />
>><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<br />
>> class/struct/uni<br />
>> on<br />
>> emerge debug: Task: Emerge stopped after: 0:06:24.050000<br />
>><br />
>>   ------------------------------<br />
>> *From*: "Boudewijn Rempt"<boud@valdyas.org>  <boud@valdyas.org><br />
>> *Sent*: Tuesday, May 08, 2012 11:04 AM<br />
>> *To*: taco@heddesit.nl, "Calligra Suite developers and users mailing<br />
>> list"<calligra-devel@kde.org>  <calligra-devel@kde.org><br />
>> *Subject*: Re: Calligra on Windows: QtDBus<br />
>><br />
>> On Tue, 8 May 2012, Taco H. in den Bosch wrote:<br />
>><br />
>>> Hi everybody,<br />
>>><br />
>>> I am trying to build Calligra Words on Windows. This is mostly working,<br />
>> except that a number of important<br />
>>> classes (prominently KoDocument) depend on the QtDBus component which is<br />
>> 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 (<br />
>> www.kogmbh.com), so they must have found a way<br />
>>> around this. Can anybody tell me how this is done? I see no facility in<br />
>> the source code to remove the<br />
>>> dependency on QtDBus, so I imagine that they in some way make this<br />
>> component available in Windows. I have<br />
>>> found a couple of references on the internet about doing this, but it<br />
>> seems incomplete and not very<br />
>>> dependable.<br />
>>><br />
>>> Any pointers in the right direction are appreciated.<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 />
>> http://techbase.kde.org/Projects/KDE_on_Windows<br />
>><br />
>> and<br />
>><br />
>> http://community.kde.org/Calligra/Building_Calligra_on_Windows<br />
>><br />
>> Boudewijn<br />
>> _______________________________________________<br />
>> calligra-devel mailing list<br />
>> calligra-devel@kde.org<br />
>> https://mail.kde.org/mailman/listinfo/calligra-devel<br />
>><br />
>><br />
>> _______________________________________________<br />
>> calligra-devel mailing listcalligra-devel@kde.orghttps://mail.kde.org/mailman/listinfo/calligra-devel<br />
>><br />
>><br />
>><br />
>> -- Stuart Dickson // KO GmbH http://kogmbh.com/legal/<br />
>><br />
>> _______________________________________________<br />
>> calligra-devel mailing list<br />
>> calligra-devel@kde.org<br />
>> https://mail.kde.org/mailman/listinfo/calligra-devel<br />
>><br />
>><br />
><br />
<br />
_______________________________________________<br />
calligra-devel mailing list<br />
calligra-devel@kde.org<br />
https://mail.kde.org/mailman/listinfo/calligra-devel<br /></span>