On Sun, Jan 12, 2014 at 7:25 PM, Georg Zotti <[email protected]> wrote:
> I had the same fear for weeks now that the deprecation of QtDeclarative
> will sooner than later hit us. Is anybody working on this?
> Fabien, Guillaume? Anybody else with deep enough insight into Qt? What has
> to be done, where?

I had a look at this yesterday.  The problem is that currently Qt does
not allow to mix QtQuick 2.0 and widgets very well.  There is
QWidget::createWindowContainer() that might help :

https://blog.qt.digia.com/blog/2013/02/19/introducing-qwidgetcreatewindowcontainer/

With this we could maybe have the sky + the basic UI (bottom and left
bars) written in qml (with QtQuick 2.0), and keep the settings windows
as they are now.

An other way would be to rewrite the entire UI in qml, but this would
take a lot of effort.

Anyway I am going to make more tests to see how we can do the
transition.  I think having the bottom and left bars in qml would be
an improvement to the code anyway.

Regards,

    guillaume

>
> Still very much hoping for a "Yes, I do",
>
> Best regards, Georg
>
>
> On Fr, 10.01.2014, 19:23, Reaves, Timothy wrote:
>> Until this is completed, Stellarium is now completely broken.
>>
>> The shaders the app uses require QtQuick 2.0 now, as that is where the
>> labs
>> stuff was moved. When moving to QtQuick 2.0, we need to replace
>> QDeclarativeView with QQuickView.
>>
>>>From the docs: "When porting from QDeclarativeView to QQuickView, note
>>> that
>> QDeclarativeItem inherited from QGraphicsView. In contrast, QQuickView
>> inherits from QQuickWindow and uses the QWindow infrastructure introduced
>> in Qt 5; any QGraphicsView-specific functionality is no longer available."
>>
>> This is some major work around the windowing code; dialogs, widgets,
>> menus,
>> etc.
>>
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Stellarium-pubdevel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel



-- 
Guillaume
[email protected]
+886 970422910

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Stellarium-pubdevel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel

Reply via email to