Hi,

On Dienstag, 16. Juni 2020 06:44:11 CEST Chris wrote:

> Hi
> 
> I am looking to build kmymoney to run on windows and possibly OSX as I have 
> a need to make some customisations.

On MacOSX Dawid Wrobel recently setup a development environment lately and made
some changes so that KMyMoney is working there again.

> However I have had a lot of difficulty getting an environment on windows. 
> there are so many missing dependencies including qt 6. qt does not even 
> provide that in its archives for qtcreator!

Qt6?  That is not (yet) supported/required by KMyMoney. Should be working with
Qt 5.9 to 5.15 AFAIU.

> So I wondered what is the best approach. Should I build on windows (I am 
> still running 7) or should I cross compile?
> 
> Can anyone give some advice?

A generic windows build can be made with 'craft' as build environment. 
Instructions
on craft can be found here:

  https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Windows

>From what I understand, it now requires either MinGW or MSVC2019. I have tried 
>it lately
with MSVC2019 but my VM was slow and I am not so familiar with the Windows 
details. I got
it to compile at some point but was not able to create an installer in it. 
Maybe, you
have more luck.

Ralph Habacker maintains a cross-compile build on OBS (OpenSUSE Build Service). 
So a
cross compile is also possible. This works using MinGW

> What environment do you use to build windows binaries?

Since my home is windows free (at least in terms of computer OSes) except the 
above
mentioned VM, I don't do full windows based builds. My test above was enough to 
create
the libofx.dll and copy that onto a windows machine where I had installed 
KMyMoney from
https://binary-factory.kde.org/job/KMyMoney_Release_win64/

It fails to compile, but that seems due to some Akonadi problem (dependency).

Hope that helps. If you get something working, I am happy to verify 
instructions on how
to set it up with detailed instructions on my VM.

-- 

Regards

Thomas Baumgart

https://www.signal.org/       Signal, the better WhatsApp
-------------------------------------------------------------
The shortest words, namely yes and no,
require the most thoughts. -- Pythagoras of Samos
-------------------------------------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to