OK, I did some tests. So far I have no luck using
createWindowContainer: each time the container hides any other widget
no matter how I try. This is not good because for stellarium we need
to show first the qml view, and then the normal widgets (for the
settings windows) on top of it.
I will try to ask the Qt dev how to achieve that.
Meanwhile what exactly is the problem with the current qml fragment
shader? For me it seems to work on windows, linux and OSX. Do we
have more info about when QDeclarativeView will be deprecated? One
thing I could do is start to work on the qml UI using QtQuick 1.0 in a
branch, then later switch it to QtQuick 2.0.
gui
On Thu, Feb 13, 2014 at 11:41 AM, Guillaume Chéreau
<[email protected]> wrote:
> 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
--
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