<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Apr 24, 2014 at 7:58 PM, Andrew Lake <span dir="ltr"><<a href="mailto:jamboarder@gmail.com" target="_blank">jamboarder@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Apr 24, 2014 at 10:50 AM, Martin Klapetek wrote:<div class="">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Styling, yes. Writing a real application in QtQuick...not so much :) And that's imho the real problem, unless application developers will adopt QtQuick as their primary tool to write apps, there will be still be a need for QStyle. And personally I don't think that will happen anytime soon...</div>





<div><br></div></div></div></div></blockquote></div><div>Oh no, not the whole application, just the UI layer. I can't think of anything QStyle provides from a UI layer implementation standpoint that can't be solved with QtQuick. But perhaps I'm just ignorant in that area.</div>

</div></div></div></blockquote><div><br></div><div></div></div><div>Basically they are two very different technologies, interfacing them is possible, but certainly not as easy as simply using QWidget-based approach (which is what actually uses QStyle; you never use QStyle directly), where there is no special interface needed. To give you a better idea, imagine a garden divided by a wall, one side is the Qt/C++/QWidgets/QStyle, the other side is the QtQuick/QML/QtQuickControls/JavaScript. You can use both sides at once, but you have to somehow get through the wall in the middle. And that complicates things a bit. Plus QML and Qt/C++ are different languages offering different features too, some C++ stuff can never be done in QML.</div>

<div><br></div><div>It most certainly is possible though, just brings in more work.</div><div><br></div><div>Cheers</div>-- <br><div><span style="color:rgb(102,102,102)">Martin Klapetek | KDE Developer</span></div>
</div></div>