Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Do you think that Quick2 has a slower perfomance than Quick1.1 when starting a qml Application
Forum Updated to NodeBB v4.3 + New Features

Do you think that Quick2 has a slower perfomance than Quick1.1 when starting a qml Application

Scheduled Pinned Locked Moved QML and Qt Quick
9 Posts 3 Posters 2.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    itviewer
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      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.

      (Z(:^

      1 Reply Last reply
      0
      • W Offline
        W Offline
        weiyuemin
        wrote on last edited by
        #3

        @itviewer

        May the QML Profiler in Qt Creator can test this?

        1 Reply Last reply
        0
        • I Offline
          I Offline
          itviewer
          wrote on last edited by
          #4

          [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)?

          1 Reply Last reply
          0
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

            The answer is yes, but only if your initial assumption (about Angle) is true.

            (Z(:^

            1 Reply Last reply
            0
            • I Offline
              I Offline
              itviewer
              wrote on last edited by
              #6

              [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。

              1 Reply Last reply
              0
              • sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #7

                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).

                (Z(:^

                1 Reply Last reply
                0
                • I Offline
                  I Offline
                  itviewer
                  wrote on last edited by
                  #8

                  [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

                  1 Reply Last reply
                  0
                  • sierdzioS Offline
                    sierdzioS Offline
                    sierdzio
                    Moderators
                    wrote on last edited by
                    #9

                    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.

                    (Z(:^

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved