[Kde-bindings] Patches for assemblygen under Windows

Steven Boswell II ulatekh at yahoo.com
Sun Jan 8 19:36:23 UTC 2012


So...can someone with the experience/authority please review this patch and consider it for inclusion?

Steven Boswell


________________________________
 From: Steven Boswell II <ulatekh at yahoo.com>
To: KDE for other programming languages <kde-bindings at kde.org> 
Sent: Saturday, December 17, 2011 11:52 AM
Subject: [Kde-bindings] Patches for assemblygen under Windows
 

The attached archive contains two files -- assemblygen-windows.patch (intended for submission to the repository) and assemblygen-hack.patch (which should NOT be committed).

Here are my changes, suitable for the commit message:

Made it possible to build without MONO_EXECUTABLE being set, i.e. to use the Microsoft.NET C# compiler.  (Under Windows, a Mono build of assemblygen somehow generates gibberish for the Q_PROPERTY fields.)
Got rid of the "lib" prefix on archives/DLLs in Windows. Expects smokeqt to be built like that too (which the latest version in git does).

Now QtDBus can be missing (as it is under Windows).
Added Q_DECL_EXPORT to all occurrences of ListWizardButtonToQListWizardButton, to fix a link issue.
Put quotes around all references to SMOKE_INCLUDE_DIR, to handle install paths with spaces in them.
assemblygen is now built as an x86 executable under Windows, so that it can dynamically load smokeqt DLLs. (I figure WIN32 is an adequate test for whether we're building under 32-bit Windows. :-)

assemblygen now invokes compiler version 3.5, to handle generated C# code that doesn't work under 2.0.

The hack patches work around two issues that prevent the Windows build from working.  Hopefully proper solutions to these issues will be found eventually.


Dimitar: I'm glad you're having less problems now, but I doubt my patches had anything to do with it -- they just fixed build issues.  I'll go through all the fun of installing Qt 4.8 on Windows and then see what happens.  I'll be very happy if that fixes cut/copy. (Oh, and by "text view", I meant QPlainTextEdit and QTextEdit. :-)


Steven Boswell

_______________________________________________
Kde-bindings mailing list
Kde-bindings at kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20120108/e2346bae/attachment.html>


More information about the Kde-bindings mailing list