Do you think that Quick2 has a slower perfomance than Quick1.1 when starting a qml Application
-
With my computer ,when start a Quick1.1 application(Official example),QDeclarativeView's Window and qml contents are almost simultaneously displayed,while when start a Quick2.0 application(the same Official example),QQuickView's Window will displayed faster than qml contents,it takes some time rendering until qml contents displayed。
Do you have the same appearance?
-
It may be that initialising OpenGL takes a bit longer. I have not noticed anything like that on my machine, though. Several machines, in fact.
-
May the QML Profiler in Qt Creator can test this?
-
[quote author="sierdzio" date="1358752602"]It may be that initialising OpenGL takes a bit longer. I have not noticed anything like that on my machine, though. Several machines, in fact.[/quote]
I test it again With both mac osx 、kubuntu and Windows7,i fond that it only appeared on Windows,does it the reason that Quick2 use ANGLE replace OpenGL?
if I want the same effect With mac and Linux,does that mean i have to compiling Qt5 by myself,and configure flag -opengl desktop)?
-
The answer is yes, but only if your initial assumption (about Angle) is true.
-
[quote author="sierdzio" date="1358769066"]The answer is yes, but only if your initial assumption (about Angle) is true.[/quote]
I'm so thanks for your reply,thanks very much。
if my initial assumption is true and your answer is yes,For me, that is a nightmare。 -
I'm not sure I get you, it's quite hard to understand your English. If you mean that you want to have this latency on all platforms, you can simply add a timer before setting the source QML file on Unix-like OSes.
If you mean that you don't want latency on all platforms, and your assumption is correct, then compiling Qt 5 is not really hard. On a decent machine it also does not take very long (I've recently managed to get the time down to 15 minutes using clang. But that beauty is not available for Windows, anyway).
-
[quote author="sierdzio" date="1358770811"]I'm not sure I get you, it's quite hard to understand your English. If you mean that you want to have this latency on all platforms, you can simply add a timer before setting the source QML file on Unix-like OSes.
If you mean that you don't want latency on all platforms, and your assumption is correct, then compiling Qt 5 is not really hard. On a decent machine it also does not take very long (I've recently managed to get the time down to 15 minutes using clang. But that beauty is not available for Windows, anyway).[/quote]
sorry for my English,it’s not my mother tongue,what i need is that QQuickView’s Window should displayed simultaneously with qml content just like it on mac and Linux。
thank you very much,i think i have to compiling Qt5 by myself -
Here is a "guide":http://qt-project.org/wiki/Building_Qt_5_from_Git for you, then. If you are not using QtWebKit, I strongly suggest deleting/ renaming it's folder to avoid it's compilation (you can also disable it in init_repository if you choose to clone from git). It takes a very long time to compile.