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. QtQuick 2 laggy?
Forum Updated to NodeBB v4.3 + New Features

QtQuick 2 laggy?

Scheduled Pinned Locked Moved QML and Qt Quick
7 Posts 3 Posters 2.8k 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.
  • Z Offline
    Z Offline
    Zeiko
    wrote on last edited by
    #1

    Hello,

    I've tried the new qt 5.1 beta opengl msvs2012 together with the new desktop controls (I'm running on Windows 7 x64).

    When I run the "gallery" example under quick/controls I think its quite choppy when resizing the window, is this something that can be fixed?

    I've also tried to just create a QML document with only a textedit control with some text in and if you run it with QtQuick 1.1 (QMLViewer) the window resizing runs smooth but in QtQuick 2 (SceneGraph) its a bit laggy. My question is if this lagginess is restricted to window resizing and is nothing to care about?

    I also tried to add some SplitViewers together with some text edit controls inside and then it really starts to be choppy when resizing.
    When I do the same in WPF the window resizes smoothley, but I think QtQuick should be faster than WPF right?
    Maybe its just those controls that are a bit slow or it only slow when resizing, don't know.

    Hardware:
    intel i7, 3 gHz, 16 gig RAM
    GeForce GTX 470 (latest drivers)

    /Zeiko

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bjanuario
      wrote on last edited by
      #2

      U are using a beta version , u should use the stable 5.0.2

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Jens
        wrote on last edited by
        #3

        A couple of notes here. There were some performance improvements regarding resizing going in after the beta so you might want to try again when the RC is out soon. If resizing performance is a major concern to you, you should probably not be using the opengl-builds on windows as they are not native to the windowing system and would cause some extra overhead there. The builds using angle will use direct 3d instead and might give you better performance particularly during resizing.

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          Zeiko
          wrote on last edited by
          #4

          Thank you for the information, I'll try that when its released!

          Ok, do you know how performance is generally between the OpenGL build and Angle, which one perform better except when resizing the window on a Windows system?

          1 Reply Last reply
          0
          • J Offline
            J Offline
            Jens
            wrote on last edited by
            #5

            I am afraid that I don't know the specifics. It could be depending on your graphics card, your drivers and the particular use case. We are setting up a wiki page here to help people decide between angle and opengl builds but performance is not something that has been added yet:

            http://qt-project.org/wiki/Qt-5-on-Windows-ANGLE-and-OpenGL

            1 Reply Last reply
            0
            • Z Offline
              Z Offline
              Zeiko
              wrote on last edited by
              #6

              Ok thanks, I'll keep an eye there!

              1 Reply Last reply
              0
              • Z Offline
                Z Offline
                Zeiko
                wrote on last edited by
                #7

                I tried the angle version of qmlscene and the resizing is now much smoother, thanks :)

                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