[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: QMap in QML
From:       Viranch Mehta <viranch.mehta () gmail ! com>
Date:       2011-06-05 11:13:10
Message-ID: BANLkTi=L1_oA3QXV2F3pVoQ5YzRSVLEKoQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Sat, Jun 4, 2011 at 7:54 PM, Aaron J. Seigo <aseigo@kde.org> wrote:

>
> this is a problem in the JS bindings. i've "fixed" it in master, which wi=
ll
> become 4.7.0 ... i woul dlike to find a better fix, however..
>
> Is it only "StringStringMap" specific? Because, we'll be seeing new
dataengines coming up and present ones changing in future, and there may be
other datatypes begin used as well, like QHash, QPair, etc. So wouldn't we
need a "generic" fix? Unless, we restrict the dataengines to use only the
basic datatypes.

Also, I could not build kde-runtime after the StringStringMap fix, says:
=91qt_metatype_id=92 is not a member of =91QMetaTypeId<Plasma::Service*>=92
kde-runtime/plasma/scriptengines/javascript/simplebindings/dataengine.cpp:6=
6:104:
instantiated from here
and
kde-runtime/plasma/scriptengines/javascript/simplebindings/dataengine.cpp:6=
8:113:
  instantiated from here

Thanks,
Viranch

[Attachment #5 (text/html)]

<div dir="ltr"><br><div class="gmail_quote">On Sat, Jun 4, 2011 at 7:54 PM, Aaron J. \
Seigo <span dir="ltr">&lt;<a \
href="mailto:aseigo@kde.org">aseigo@kde.org</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex;"> <div><div></div><div class="h5"><br>
</div></div>this is a problem in the JS bindings. i&#39;ve &quot;fixed&quot; it in \
master, which will<br> become 4.7.0 ... i woul dlike to find a better fix, \
however..<br> <font color="#888888"><br></font></blockquote><div>Is it only \
&quot;StringStringMap&quot; specific? Because, we&#39;ll be seeing new dataengines \
coming up and present ones changing in future, and there may be other datatypes begin \
used as well, like QHash, QPair, etc. So wouldn&#39;t we need a &quot;generic&quot; \
fix? Unless, we restrict the dataengines to use only the basic datatypes.</div> \
<div><br></div><div>Also, I could not build kde-runtime after the StringStringMap \
fix, says:</div><div>‘qt_metatype_id’ is not a member of \
‘QMetaTypeId&lt;Plasma::Service*&gt;’</div><div>kde-runtime/plasma/scriptengines/javascript/simplebindings/dataengine.cpp:66:104: \
instantiated from here</div> \
<div>and</div><div>kde-runtime/plasma/scriptengines/javascript/simplebindings/dataengine.cpp:68:113: \
instantiated from here</div><div><br></div><div>Thanks,</div><div>Viranch</div><div><br></div></div></div>




_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic