Great work, it paid off to stay up so late. :D<br><br>Did you check the openFile methods? I remember seeing somewhere on the code a note about using backslash, and that not working on other OS (eg. Windows)<br><br>Can I post this message on my blog? For the crowds asking for Windows support (though I&#39;m not a big fan of it, it is good news)<br>
<br>Regards,<br>Alvaro<br><br><div class="gmail_quote">On Thu, Nov 5, 2009 at 5:36 AM, Cristian Oneţ <span dir="ltr">&lt;<a href="mailto:onet.cristian@gmail.com">onet.cristian@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Yesterday I&#39;ve managed to compile and run KMyMoney on Windows (see the<br>
attached screenshot). I&#39;ll try to summarize all the issues I&#39;ve<br>
observed while doing this (some of them were already fixed yesterday).<br>
First of all I would like to give some kudos for the KDE on Windows<br>
project they have made developing KDE on Windows really easy (see the<br>
emerge tool like on Gentoo).<br>
I have compiled with msvc2008 and did not used gcc on purpose (I&#39;ve<br>
wanted to see what does another compiler has to say about the code :)<br>
). This lead to the first group of issues caused by gcc specific<br>
entities in the code. So here is the list:<br>
1. &#39;__attribute__&#39;, &#39;__func__&#39; and &#39;__PRETTY_FUNCTION__&#39;<br>
2. K3Process is no longer supported on windows but only libkgpg uses<br>
it and it will be ported by Thomas so this is OK (also we have to<br>
remove the include from some dialog which does not uses it)<br>
3. When linking kmymoney we don&#39;t specify KDE_UTILS lib and QT_SQL_LIB in cmake<br>
4. Really strange code like &#39;if ((periodType() == &quot;day&quot;) and (mult()<br>
== &quot;1&quot;)) return(&quot;daily&quot;);&#39; (in GncRecurrence::getFrequency()); since<br>
when can &#39;and&#39; be used in C++ :) ?<br>
5. D-Bus another instance check uses &#39;getpid&#39; we should do this in a<br>
more portable way (find some qt function that returns the pid of the<br>
current process)<br>
6. the compiler complained about all the #warning &#39;Port to KDE&#39; stuff<br>
being invalid directives<br>
<br>
That&#39;s all :) (it&#39;s shorter than I thought it will be) I hope I didn&#39;t<br>
forget anything because while writing this I don&#39;t have the diff.<br>
I didn&#39;t manage to open a file yet but that has nothing to do with<br>
kmymoney. I get some &#39;Could not talk to klauncher&#39; error after the<br>
D-Bus checking which causes D-Bus to crash (this is a KDE runtime<br>
environment problem).<br>
<br>
I&#39;ll get back with this subject once I&#39;ll manage to open a file :).<br>
<br>
Regards,<br>
<font color="#888888">Cristian<br>
</font><br>_______________________________________________<br>
KMyMoney-devel mailing list<br>
<a href="mailto:KMyMoney-devel@kde.org">KMyMoney-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kmymoney-devel" target="_blank">https://mail.kde.org/mailman/listinfo/kmymoney-devel</a><br>
<br></blockquote></div><br>