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'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"><<a href="mailto:onet.cristian@gmail.com">onet.cristian@gmail.com</a>></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've managed to compile and run KMyMoney on Windows (see the<br>
attached screenshot). I'll try to summarize all the issues I'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'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. '__attribute__', '__func__' and '__PRETTY_FUNCTION__'<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't specify KDE_UTILS lib and QT_SQL_LIB in cmake<br>
4. Really strange code like 'if ((periodType() == "day") and (mult()<br>
== "1")) return("daily");' (in GncRecurrence::getFrequency()); since<br>
when can 'and' be used in C++ :) ?<br>
5. D-Bus another instance check uses 'getpid' 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 'Port to KDE' stuff<br>
being invalid directives<br>
<br>
That's all :) (it's shorter than I thought it will be) I hope I didn't<br>
forget anything because while writing this I don't have the diff.<br>
I didn't manage to open a file yet but that has nothing to do with<br>
kmymoney. I get some 'Could not talk to klauncher' error after the<br>
D-Bus checking which causes D-Bus to crash (this is a KDE runtime<br>
environment problem).<br>
<br>
I'll get back with this subject once I'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>