<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>OK, I can go through smokeqt and patch up its smokeconfig.xml files to include the missing classes.  But...how did anyone ever compile assemblygen under Linux without these changes?  Please don't tell me I'm using the wrong git repository again.  I'm using git://anongit.kde.org/smokeqt and its master branch.</span></div><div><br><span></span></div><div><span>The worst part about having to modify smokeqt's smokeconfig.xml files is that smokegen takes forever to run.  I suppose at some point I should look at what it's doing and see if anything can be done to speed it up.</span></div><div><br><span></span></div><div><span>Since I'm a glutton for punishment, I decided to try to compile smokekde under Windows.  I started with changes similar to the ones I made for smokeqt.  But compilation
 failed immediately, in kdecore, because it couldn't find QDBus.  The Windows version of Qt that I have installed doesn't have the QDBus libraries, but strangely, it has the header files.  Installing the KDE packages for dbus didn't help.  Diking out references to DBus in kdecore's config files didn't help; the references to DBus are in a KDE header file. (I'll get its exact name the next time I reboot into Windows.)  If anyone has any ideas for getting past this hurdle, I'm all ears.</span></div><div><br><span></span></div><div><span>Steven Boswell<br></span></div><div><br></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;"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Dimitar Dobrev <dpldobrev@yahoo.com><br> <b><span style="font-weight:
 bold;">To:</span></b> Steven Boswell II <ulatekh@yahoo.com>; KDE bindings for other programming languages <kde-bindings@kde.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Saturday, December 10, 2011 12:43 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Kde-bindings] Building assemblygen (unsuccessfully) on Windows/Linux<br> </font> <br>
<div id="yiv969494326"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div><span>Whenever you see such not found types make sure they are included in smokeqt/<module>/smokeconfig.xml (in your case <module> = qtdbus). If you need to include a nested class, use the C++(::) instead of the C#(.) separator.</span></div><div><span>I get something similar to "</span>GetSignals: invalid meta-object<span>" for qtsql but I just ignore it because I have no intention of using it for now. About the property - well, this is really strange, nothing similar happened to me. You could debug MethodsGenerator in assemblygen but I'm almost sure the SMOKE libs provide such strings so managed debugging will be pointless.<br></span></div><div><br></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;"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Steven Boswell II <ulatekh@yahoo.com><br> <b><span style="font-weight:bold;">To:</span></b> KDE bindings for other programming languages <kde-bindings@kde.org> <br> <b><span style="font-weight:bold;">Sent:</span></b> Saturday, December 10, 2011 9:11 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> [Kde-bindings] Building assemblygen (unsuccessfully) on Windows/Linux<br> </font> <br>
<div id="yiv969494326"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div>I finally grabbed the correct branch of assemblygen, and tried to build it under Linux and Windows.</div><div><br></div><div>Under Linux (Fedora Core 16), it dies when trying to build qyoto-qtdbus:</div><div><br></div><div>[ 28%] Generating ../../bin/qyoto-qtdbus.dll<br>Registered Qyoto hooks.<br>Generating CodeCompileUnit...<br>GetSignals: invalid meta-object for class QDBusAbstractInterfaceBase<br>GetSignals: invalid meta-object for class QDBusInterface<br>Generating code...<br>Compiling assembly...<br>/tmp/2fcfcb00/35413d21.5.cs(1035,40) : error CS0246: The type or namespace name `QDBusUnixFileDescriptor' could not be found. Are you missing a using directive or an assembly reference?<br>/tmp/2fcfcb00/35413d21.5.cs(1163,39) : error CS0246: The type or namespace name `QDBusUnixFileDescriptor' could not be
 found. Are you
 missing a using directive or an assembly reference?<br>/tmp/2fcfcb00/35413d21.5.cs(1723,60) : error CS0246: The type or namespace name `QDBusVirtualObject' could not be found. Are you missing a using directive or an assembly reference?<br>/tmp/2fcfcb00/35413d21.5.cs(1733,60) : error CS0246: The type or namespace name `QDBusVirtualObject' could not be found. Are you missing a using directive or an assembly reference?<br>Errors occured. No assembly was generated.<br>make[2]: *** [bin/qyoto-qtdbus.dll] Error 2<br></div><div><br></div><div>I have no idea what "invalid meta-object for class" means or what to do about it.  The other Qyoto assemblies also have problems with types not being found.  Hopefully once a solution is found for qyoto-qtdbus' problems, the rest will be OK too.</div><div><br></div><div>Windows seems to generate a broken assemblygen executable.  It seems to be botching up the output to Q_PROPERTY.  Attached is a
 snippet from what Windows generated for bin/qyoto-qtcore.cs, along with the corresponding snipped generated by Linux.<br></div><div><br></div><div>Any help with these issues would be most appreciated.</div><div><br></div><div>Also, to Dimitar...re: GDB debugging under Windows, since I'm not yet running the latest version of Qyoto, I'm not sure my debugging will do you much help yet.</div><div><br></div><div>Steven Boswell</div><div><br></div></div></div></div><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> </div> </div>  </div></div></div><br><br> </div> </div>  </div></body></html>