<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab">    Hello, Cvetoslav,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span class="tab"></span></div><div class="yui_3_7_2_41_1373535807887_153" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab">    Thank you for your offer. First of all, you should read at least some of the SWIG docs - mostly <a href="http://www.swig.org/Doc2.0/SWIG.html#SWIG_nn2">basics</a> and <a
 href="http://www.swig.org/Doc2.0/CSharp.html#CSharp">C#-specifics</a>. Second of all, I should tell you a little about the specific case of SWIG and Qt. As you know, Qt uses its own C++ dialect that their moc turns into (nasty) standard C++. Because the Qt extensions are not standard, SWIG cannot recognize them and reports errors. As you will see in the documentation, SWIG can, using the passed in config files, replace certain symbols with other content so that the result is standard C++. This is the approach to use. The other one would have been to generate the real C++ with moc and run SWIG on that. Well, I tried it but even without trying it was clear it would not work. The problem is that SWIG does not work well with cpp code (considering what a mess C++ as a language is, I don't blame them). There is a note in the docs about that. It works OK with header files but moc, on the other hand, generates only cpp. So you can see the only possible path is
 to change the Qt headers and run SWIG on the result.<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab">    </span><span class="tab">About a </span><span class="tab"><span class="tab">repository, </span>I do not have one yet. What I do have is an incomplete attempt</span><span class="tab"> to wrap qobject.h and a plan.</span></div><div class="yui_3_7_2_41_1373535807887_53" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab">    1. The attempt is </span>a SWIG configuration file (*.i) you can find attached; for now it contains #define-s of specific Qt-macros to nothing so that SWIG would not choke. Of course, not all macros should be thrown awaya like that, for example Q_SIGNAL
 would be better used to generate C#-events and not just ignored. But until we have a successful compilation we could do like that which leads me to:</div><div class="yui_3_7_2_41_1373535807887_53" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab">    2.</span> My plan:</div><div class="yui_3_7_2_41_1373535807887_53" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab">    </span><span class="tab">    1. Successfully compile a wrapper for qobject.h the easiest possible way;</span><span class="tab"><br></span></div><div class="yui_3_7_2_41_1373535807887_53" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent;
 font-style: normal;"><span class="tab">    </span><span class="tab">    2. Turn signals into events;</span></div><div class="yui_3_7_2_41_1373535807887_53" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab">    </span><span class="tab">    3. Turn <span style="font-style: italic;"><span>name</span></span>/<span style="font-style: italic;"><span><span>setName</span></span></span><span style="font-style: italic;"> </span>pairs into properties (note - not just Qt-properties but all accessor functions);</span></div><div class="yui_3_7_2_41_1373535807887_53" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab">    </span><span
 class="tab">    </span>4. Create a program that would be passed the include directory of Qt and generate the corresponding SWIG config files for each Qt module and run SWIG on each file;<br></div><div class="yui_3_7_2_41_1373535807887_53" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab"></span></div><div class="yui_3_7_2_41_1373535807887_53" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab">    </span><span class="tab">    5. </span>Turn
 name functions that are just accessors into read-only properties (this 
is a bit tricky but I have a solution; so if you reach this point mail 
me and I'll help you);</div><div class="yui_3_7_2_41_1373535807887_53" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab">    </span><span class="tab">    6. Generate the corresponding C#-comments to the classes</span> and their members by using the Qt docs (again, I have a solution here so mail me if you get this far).</div><div class="yui_3_7_2_41_1373535807887_53" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div class="yui_3_7_2_41_1373535807887_53" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab">    Of course, at 4 we'd have more manual adjustments, after 6 we'd
 have testing, etc., but this is basically the way I see it.<br></span></div><div class="yui_3_7_2_41_1373535807887_53" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"> <span class="tab">    The problem part is, I really do not know when I would be able to get in. This is a whole new project to start from almost scratch, the only pieces that might be reused are those about the read-only properties </span>and the code comments. This requires quite a lot of time. I'll be able to help with separate issues but for now I cannot give any guarantees when I'd be able to work on this myself.</div><div class="yui_3_7_2_41_1373535807887_53" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab">    Nevertheless, I wish you luck
 and feel free to contact me should you have any questions.</span></div><div class="yui_3_7_2_41_1373535807887_53" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab"><br></span></div><div class="yui_3_7_2_41_1373535807887_53" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab">    Best regards,</span></div><div class="yui_3_7_2_41_1373535807887_53" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab">    Dimitar Dobrev</span><br><span class="tab"></span><span class="tab"></span></div><div><span class="tab">    <br></span></div>  <div style="font-family: times new roman, new
 york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Cvetoslav Ludmiloff <ludmiloff@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> kde-bindings@kde.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, July 11, 2013 12:19 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Kde-bindings] Kde-bindings Digest, Vol 123, Issue 4<br> </font> </div> <div class="y_msg_container"><br>
<div id="yiv404176869"><div dir="ltr">I'd like to participate and help with SWIG wrapper and Qt5 bindings. Do you have any code repository to have a look and get your code.<br><div style="">Regards.</div><div style="">Cvetoslav Ludmiloff</div></div>
<div class="yiv404176869gmail_extra"><br><br><div class="yiv404176869gmail_quote">2013/7/10  <span dir="ltr"><<a rel="nofollow" ymailto="mailto:kde-bindings-request@kde.org" target="_blank" href="mailto:kde-bindings-request@kde.org">kde-bindings-request@kde.org</a>></span><br><blockquote class="yiv404176869gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Send Kde-bindings mailing list submissions to<br>
        <a rel="nofollow" ymailto="mailto:kde-bindings@kde.org" target="_blank" href="mailto:kde-bindings@kde.org">kde-bindings@kde.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a rel="nofollow" target="_blank" href="https://mail.kde.org/mailman/listinfo/kde-bindings">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a rel="nofollow" ymailto="mailto:kde-bindings-request@kde.org" target="_blank" href="mailto:kde-bindings-request@kde.org">kde-bindings-request@kde.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a rel="nofollow" ymailto="mailto:kde-bindings-owner@kde.org" target="_blank" href="mailto:kde-bindings-owner@kde.org">kde-bindings-owner@kde.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Kde-bindings digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Qyoto & F# (Gour)<br>
   2. Re: Qyoto & F# (Dimitar Dobrev)<br>
   3. Re: Qyoto & F# (Gour)<br>
   4. Re: Qyoto & F# (Dimitar Dobrev)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 9 Jul 2013 14:27:05 +0200<br>
From: Gour <<a rel="nofollow" ymailto="mailto:gour@atmarama.net" target="_blank" href="mailto:gour@atmarama.net">gour@atmarama.net</a>><br>
To: <a rel="nofollow" ymailto="mailto:kde-bindings@kde.org" target="_blank" href="mailto:kde-bindings@kde.org">kde-bindings@kde.org</a><br>
Subject: Re: [Kde-bindings] Qyoto & F#<br>
Message-ID: <<a rel="nofollow" ymailto="mailto:20130709142705.475e0262@atmarama.noip.me" target="_blank" href="mailto:20130709142705.475e0262@atmarama.noip.me">20130709142705.475e0262@atmarama.noip.me</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
On Tue, 9 Jul 2013 04:37:48 -0700 (PDT)<br>
Dimitar Dobrev <<a rel="nofollow" ymailto="mailto:dpldobrev@yahoo.com" target="_blank" href="mailto:dpldobrev@yahoo.com">dpldobrev@yahoo.com</a>> wrote:<br>
<br>
> ??? It actually doesn't matter if it'd be good enough because I don't<br>
> have a choice.<br>
<br>
I meant to ask what's wrong with SMOKE?<br>
<br>
<br>
Sincerely,<br>
Gour<br>
<br>
<br>
--<br>
The humble sages, by virtue of true knowledge, see with equal<br>
vision a learned and gentle br?hmana, a cow, an elephant, a dog<br>
and a dog-eater.<br>
<br>
http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 9 Jul 2013 05:40:36 -0700 (PDT)<br>
From: Dimitar Dobrev <<a rel="nofollow" ymailto="mailto:dpldobrev@yahoo.com" target="_blank" href="mailto:dpldobrev@yahoo.com">dpldobrev@yahoo.com</a>><br>
To: KDE bindings for other programming languages<br>
        <<a rel="nofollow" ymailto="mailto:kde-bindings@kde.org" target="_blank" href="mailto:kde-bindings@kde.org">kde-bindings@kde.org</a>><br>
Subject: Re: [Kde-bindings] Qyoto & F#<br>
Message-ID:<br>
        <<a rel="nofollow" ymailto="mailto:1373373636.34666.YahooMailNeo@web122403.mail.ne1.yahoo.com" target="_blank" href="mailto:1373373636.34666.YahooMailNeo@web122403.mail.ne1.yahoo.com">1373373636.34666.YahooMailNeo@web122403.mail.ne1.yahoo.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
<br>
<br>
??? Oh, sorry, I didn't get that. So, to answer you: take at look at the dates in SMOKE's repository log (git://<a rel="nofollow" target="_blank" href="http://anongit.kde.org/assemblygen">anongit.kde.org/assemblygen</a>, both master and the branch of v4 where the new version is developed). In particular, there are 4 or 5 bugs in SMOKE that prevent it from wrapping Qt 5, all of which I reported myself more than 3 and a half months ago. Again, as you can see from the dates in the repo, none of them were fixed. I think this answers your question.<br>

<br>
??? Regards,<br>
??? Dimitar Dobrev<br>
<br>
<br>
<br>
________________________________<br>
 From: Gour <<a rel="nofollow" ymailto="mailto:gour@atmarama.net" target="_blank" href="mailto:gour@atmarama.net">gour@atmarama.net</a>><br>
To: <a rel="nofollow" ymailto="mailto:kde-bindings@kde.org" target="_blank" href="mailto:kde-bindings@kde.org">kde-bindings@kde.org</a><br>
Sent: Tuesday, July 9, 2013 3:27 PM<br>
Subject: Re: [Kde-bindings] Qyoto & F#<br>
<br>
<br>
On Tue, 9 Jul 2013 04:37:48 -0700 (PDT)<br>
Dimitar Dobrev <<a rel="nofollow" ymailto="mailto:dpldobrev@yahoo.com" target="_blank" href="mailto:dpldobrev@yahoo.com">dpldobrev@yahoo.com</a>> wrote:<br>
<br>
> ??? It actually doesn't matter if it'd be good enough because I don't<br>
> have a choice.<br>
<br>
I meant to ask what's wrong with SMOKE?<br>
<br>
<br>
Sincerely,<br>
Gour<br>
<br>
<br>
--<br>
The humble sages, by virtue of true knowledge, see with equal<br>
vision a learned and gentle br?hmana, a cow, an elephant, a dog<br>
and a dog-eater.<br>
<br>
<a rel="nofollow" target="_blank" href="http://www.atmarama.net/">http://www.atmarama.net</a> | Hlapicina (Croatia) | GPG: 52B5C810<br>
<br>
<br>
_______________________________________________<br>
Kde-bindings mailing list<br>
<a rel="nofollow" ymailto="mailto:Kde-bindings@kde.org" target="_blank" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br>
<a rel="nofollow" target="_blank" href="https://mail.kde.org/mailman/listinfo/kde-bindings">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20130709/34440a96/attachment-0001.html><br>

<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 9 Jul 2013 14:45:50 +0200<br>
From: Gour <<a rel="nofollow" ymailto="mailto:gour@atmarama.net" target="_blank" href="mailto:gour@atmarama.net">gour@atmarama.net</a>><br>
To: <a rel="nofollow" ymailto="mailto:kde-bindings@kde.org" target="_blank" href="mailto:kde-bindings@kde.org">kde-bindings@kde.org</a><br>
Subject: Re: [Kde-bindings] Qyoto & F#<br>
Message-ID: <<a rel="nofollow" ymailto="mailto:20130709144550.22802080@atmarama.noip.me" target="_blank" href="mailto:20130709144550.22802080@atmarama.noip.me">20130709144550.22802080@atmarama.noip.me</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
On Tue, 9 Jul 2013 05:40:36 -0700 (PDT)<br>
Dimitar Dobrev <<a rel="nofollow" ymailto="mailto:dpldobrev@yahoo.com" target="_blank" href="mailto:dpldobrev@yahoo.com">dpldobrev@yahoo.com</a>> wrote:<br>
<br>
> ??? Oh, sorry, I didn't get that. So, to answer you: take at look at<br>
> the dates in SMOKE's repository log<br>
> (git://<a rel="nofollow" target="_blank" href="http://anongit.kde.org/assemblygen">anongit.kde.org/assemblygen</a>, both master and the branch of v4<br>
> where the new version is developed).<br>
<br>
I see...<br>
<br>
> In particular, there are 4 or 5<br>
> bugs in SMOKE that prevent it from wrapping Qt 5, all of which I<br>
> reported myself more than 3 and a half months ago. Again, as you can<br>
> see from the dates in the repo, none of them were fixed. I think this<br>
> answers your question.<br>
<br>
Ahh, too bad. :-(<br>
<br>
Thank you for clarifying...and all the best with SWIG.<br>
<br>
As far as I'm concerned, still not sure what to use: Ada or F#... :-0<br>
<br>
<br>
Sincerely,<br>
Gour<br>
<br>
--<br>
Perform your prescribed duty, for doing so is better than not<br>
working. One cannot even maintain one's physical body without work.<br>
<br>
<a rel="nofollow" target="_blank" href="http://www.atmarama.net/">http://www.atmarama.net</a> | Hlapicina (Croatia) | GPG: 52B5C810<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 10 Jul 2013 03:44:37 -0700 (PDT)<br>
From: Dimitar Dobrev <<a rel="nofollow" ymailto="mailto:dpldobrev@yahoo.com" target="_blank" href="mailto:dpldobrev@yahoo.com">dpldobrev@yahoo.com</a>><br>
To: KDE bindings for other programming languages<br>
        <<a rel="nofollow" ymailto="mailto:kde-bindings@kde.org" target="_blank" href="mailto:kde-bindings@kde.org">kde-bindings@kde.org</a>><br>
Subject: Re: [Kde-bindings] Qyoto & F#<br>
Message-ID:<br>
        <<a rel="nofollow" ymailto="mailto:1373453077.42365.YahooMailNeo@web122402.mail.ne1.yahoo.com" target="_blank" href="mailto:1373453077.42365.YahooMailNeo@web122402.mail.ne1.yahoo.com">1373453077.42365.YahooMailNeo@web122402.mail.ne1.yahoo.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
???<br>
<br>
??? Gour,<br>
<br>
??? I am very sorry, yesterday I sent you the URL of the Qyoto repo (git://<a rel="nofollow" target="_blank" href="http://anongit.kde.org/assemblygen">anongit.kde.org/assemblygen</a>) while I was talking about the SMOKE repo (git://<a rel="nofollow" target="_blank" href="http://anongit.kde.org/smokegen">anongit.kde.org/smokegen</a>).<br>

??? Please excuse me about this misunderstanding.<br>
<br>
??? Best regards,<br>
??? Dimitar Dobrev??<br>
???<br>
<br>
<br>
________________________________<br>
 From: Gour <<a rel="nofollow" ymailto="mailto:gour@atmarama.net" target="_blank" href="mailto:gour@atmarama.net">gour@atmarama.net</a>><br>
To: <a rel="nofollow" ymailto="mailto:kde-bindings@kde.org" target="_blank" href="mailto:kde-bindings@kde.org">kde-bindings@kde.org</a><br>
Sent: Tuesday, July 9, 2013 3:45 PM<br>
Subject: Re: [Kde-bindings] Qyoto & F#<br>
<br>
<br>
On Tue, 9 Jul 2013 05:40:36 -0700 (PDT)<br>
Dimitar Dobrev <<a rel="nofollow" ymailto="mailto:dpldobrev@yahoo.com" target="_blank" href="mailto:dpldobrev@yahoo.com">dpldobrev@yahoo.com</a>> wrote:<br>
<br>
> ??? Oh, sorry, I didn't get that. So, to answer you: take at look at<br>
> the dates in SMOKE's repository log<br>
> (git://<a rel="nofollow" target="_blank" href="http://anongit.kde.org/assemblygen">anongit.kde.org/assemblygen</a>, both master and the branch of v4<br>
> where the new version is developed).<br>
<br>
I see...<br>
<br>
> In particular, there are 4 or 5<br>
> bugs in SMOKE that prevent it from wrapping Qt 5, all of which I<br>
> reported myself more than 3 and a half months ago. Again, as you can<br>
> see from the dates in the repo, none of them were fixed. I think this<br>
> answers your question.<br>
<br>
Ahh, too bad. :-(<br>
<br>
Thank you for clarifying...and all the best with SWIG.<br>
<br>
As far as I'm concerned, still not sure what to use: Ada or F#... :-0<br>
<br>
<br>
Sincerely,<br>
Gour<br>
<br>
--<br>
Perform your prescribed duty, for doing so is better than not<br>
working. One cannot even maintain one's physical body without work.<br>
<br>
<a rel="nofollow" target="_blank" href="http://www.atmarama.net/">http://www.atmarama.net</a> | Hlapicina (Croatia) | GPG: 52B5C810<br>
<br>
<br>
_______________________________________________<br>
Kde-bindings mailing list<br>
<a rel="nofollow" ymailto="mailto:Kde-bindings@kde.org" target="_blank" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br>
<a rel="nofollow" target="_blank" href="https://mail.kde.org/mailman/listinfo/kde-bindings">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a rel="nofollow" target="_blank" href="http://mail.kde.org/pipermail/kde-bindings/attachments/20130710/5df6c825/attachment-0001.html">http://mail.kde.org/pipermail/kde-bindings/attachments/20130710/5df6c825/attachment-0001.html</a>><br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
Kde-bindings mailing list<br>
<a rel="nofollow" ymailto="mailto:Kde-bindings@kde.org" target="_blank" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br>
<a rel="nofollow" target="_blank" href="https://mail.kde.org/mailman/listinfo/kde-bindings">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br>
<br>
<br>
End of Kde-bindings Digest, Vol 123, Issue 4<br>
********************************************<br>
</blockquote></div><br></div>
</div><br>_______________________________________________<br>Kde-bindings mailing list<br><a ymailto="mailto:Kde-bindings@kde.org" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/kde-bindings" target="_blank">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br><br><br></div> </div> </div>  </div></body></html>