Building KMM on Windows: was: Help test onlinebanking
Ralf Habacker
ralf.habacker at freenet.de
Wed Feb 17 00:06:29 UTC 2016
Am 16.02.2016 um 23:44 schrieb Jack:
> Looking again, it was 4.6.4. I'm currently trying to build 4.7.2, and
> having all sorts of problems. The compile fails, missing something
> that worked fine last time. I go to reinstall or update that, and it
> fails missing something else. I may just start from scratch, and know
> everything is fresh. The problem is that with the lack of attention
> to this branch of the KDE-Windows stuff, most of the utilities are not
> even using the latest available which should work with KDE 4.14 (which
> is the latest version present at all.)
>
> I'll update again once I get a more solid platform.
You may take a look at
https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-umbrello,
which provides a cross compiled umbrello for Windows using kdelibs
4.14.60
(https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-kdelibs4).
As goody you can create portable and setup installers for 32bit and
64bit like done for umbrello
32bit
https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-umbrello-installer).
64bit
https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-umbrello-installer.
The resulting binaries are currently rpm based and could be easily
extracted with 7zip File Manager (http://www.7-zip.org/). An example is
located at
32bit
http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.2/noarch/
64bit
http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.2/noarch/
See for mingw32-umbrello-installer... .rpm and
mingw32-umbrello-portable... .rpm
The required work is to take the related linux spec file and simple port
it to mingw32 which has been done for umbrello:
umbrello.spec
https://build.opensuse.org/package/view_file/KDE:Current/umbrello/umbrello.spec?expand=1
mingw32-umbrello.spec
https://build.opensuse.org/package/view_file/windows:mingw:win32/mingw32-umbrello/mingw32-umbrello.spec?expand=1
With the help of osc, the opensuse build service client, you can run
local builds, which is useful to reduce turn around times especial for
setup of newly ported packages.
Running cross compiled windows applications with wine work goods from my
experience with the following receipt. After unpackaging the portable
package run
DBUS_SESSION_BUS_ADDRESS= wine bin/kdeinit4.exe
DBUS_SESSION_BUS_ADDRESS= wine bin/umbrello.exe
for dbus debugging you can run
DBUS_SESSION_BUS_ADDRESS= wine bin/qdbusviewer.exe
The windows:mingw:win32|64 project on opensuse build service provides
about 370 packages
(https://build.opensuse.org/project/show/windows:mingw:win32), so the
chance is good that many basic packages are available.
If you need some additional help, let me know.
Regards
Ralf
More information about the KMyMoney-devel
mailing list