[Kde-bindings] Qyoto update

Dimitar Dobrev dpldobrev at yahoo.com
Sun Jul 15 18:31:08 UTC 2012


Hi, Steven,


Apparently my changes broke DBus which I didn't build because I compiled only on Windows. I'll check it now.



________________________________
 From: Steven Boswell II <ulatekh at yahoo.com>
To: KDE bindings <kde-bindings at kde.org> 
Cc: Dimitar Dobrev <dpldobrev at yahoo.com> 
Sent: Sunday, July 15, 2012 8:33 PM
Subject: Re: [Kde-bindings] Qyoto update
 

Have you built qyoto-qtdbus lately?  I tried building latest qyoto under Linux and it died in there...

cd /home/sboswell/rpmbuild/BUILD/qyoto-4.8.4/athlon-redhat-linux-gnu/bin && /usr/bin/mono /home/sboswell/rpmbuild/BUILD/qyoto-4.8.4/athlon-redhat-linux-gnu/bin/assemblygen.exe -unsafe -out:qyoto-qtdbus.dll -r:qyoto-qtcore.dll -plugins:QyotoGenerator.dll -dest:/usr -code-file:qyoto-qtdbus.cs "-keyfile:\"/home/sboswell/rpmbuild/BUILD/qyoto-4.8.4/assemblies/key.snk\"" libsmokeqtdbus.so /home/sboswell/rpmbuild/BUILD/qyoto-4.8.4/assemblies/qyoto-qtdbus/QDBusObjectPath.cs /home/sboswell/rpmbuild/BUILD/qyoto-4.8.4/assemblies/qyoto-qtdbus/QDBusReply.cs /home/sboswell/rpmbuild/BUILD/qyoto-4.8.4/assemblies/qyoto-qtdbus/QDBusSignature.cs /home/sboswell/rpmbuild/BUILD/qyoto-4.8.4/assemblies/qyoto-qtdbus/QDBusVariant.cs /home/sboswell/rpmbuild/BUILD/qyoto-4.8.4/assemblies/qyoto-qtdbus/AssemblyInfo.cs
Registered Qyoto hooks.
Generating CodeCompileUnit...
GetSignals: invalid meta-object for class QDBusAbstractInterfaceBase
GetSignals: invalid meta-object for class QDBusInterface
Generating code...
Compiling assembly...
/tmp/74b93a30/650e7579.1.cs(13,53) : error CS0117: `Qyoto.QVariant' does not contain a definition for `FromValue'
(0,0) : error : /home/sboswell/rpmbuild/BUILD/qyoto-4.8.4/athlon-redhat-linux-gnu/bin/qyoto-qtcore.dll (Location of the symbol related to previous error)
/tmp/74b93a30/650e7579.1.cs(17,50) : error CS1061: Type `Qyoto.QVariant' does not contain a definition for `Value' and no extension method `Value' of type `Qyoto.QVariant' could be found (are you missing a using directive or an assembly reference?)
(0,0) : error : /home/sboswell/rpmbuild/BUILD/qyoto-4.8.4/athlon-redhat-linux-gnu/bin/qyoto-qtcore.dll (Location of the symbol related to previous error)
/tmp/74b93a30/650e7579.3.cs(12,58) : error CS0117: `Qyoto.QVariant' does not contain a definition for `FromValue'
(0,0) : error : /home/sboswell/rpmbuild/BUILD/qyoto-4.8.4/athlon-redhat-linux-gnu/bin/qyoto-qtcore.dll (Location of the symbol related to previous error)
/tmp/74b93a30/650e7579.3.cs(12,32) : error CS1502: The best overloaded method match for `Qyoto.QDBusVariant.QDBusVariant(System.Type)' has some invalid arguments
(0,0) : error : /tmp/74b93a30/650e7579.3.cs(7,27): (Location of the symbol related to previous error)
/tmp/74b93a30/650e7579.3.cs(12,32) : error CS1503: Argument `#1' cannot convert `object' expression to type `System.Type'
Errors occured. No assembly was generated.

It appears that the FromValue() methods are in assemblies/qyoto-qtcore/QVariantExtras.cs, but that file is missing from assemblies/qyoto-qtcore/CMakeLists.txt .  If I put it back in, I get a different compile error.

Any help with this would be appreciated.

Steven Boswell


________________________________
 From: Dimitar Dobrev <dpldobrev at yahoo.com>
To: KDE bindings <kde-bindings at kde.org> 
Sent: Saturday, July 14, 2012 1:00 PM
Subject: [Kde-bindings] Qyoto update
 

    Hi, all,

    Some new features and fixes in Qyoto:

    1. QVariants are no longer used in the public API, System.Object is used instead; QVariant are created internally, only in unmanaged code, as needed;
    2. The performance was significantly increased by passing the assembly qualified name to CreateInstance in managed code; this eliminates the needs to traverse all assemblies in the current domain;
    3. The invalid casts are mostly fixed, the QEvent and QModelIndex related ones, to be exact; the QItemSelectionModel invalid cast I've written about before is not fixed yet.

    Regards
_______________________________________________
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/20120715/bc6269af/attachment-0001.html>


More information about the Kde-bindings mailing list