Results 1 to 6 of 6

Thread: How to accelerate the running speed of the qt program?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2011
    Posts
    239
    Thanks
    4
    Thanked 35 Times in 35 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Symbian S60

    Default Re: How to accelerate the running speed of the qt program?

    I don't know, but I'd try and see what happens when making a copy of the nodes and change scale of the items "offline" piNodeCopy[i].setScale and then replacing the node set in the scene.

  2. #2
    Join Date
    May 2011
    Location
    North Carolina
    Posts
    23
    Thanks
    10
    Qt products
    Qt4

    Default Re: How to accelerate the running speed of the qt program?

    Quote Originally Posted by mvuori View Post
    I don't know, but I'd try and see what happens when making a copy of the nodes and change scale of the items "offline" piNodeCopy[i].setScale and then replacing the node set in the scene.
    This is the same, just like replace the items on the scene.

    Actually, it will also take about 30 minutes to show the items on the scene for the first time.

  3. #3
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: How to accelerate the running speed of the qt program?

    There are several flags that can be used to optimize graphicsView/Scene; I don't have access to the docs at the moment, but they're worth playing with. If you don't need to do things like collision detection, for instance, you can turn it off and save a good deal of computation.There's a decent discussion here of various techniques; read through the comments as well.

  4. The following user says thank you to SixDegrees for this useful post:

    superwave (27th June 2011)

Similar Threads

  1. running external console program by gui program
    By alireza.mixedreality in forum Qt Programming
    Replies: 4
    Last Post: 24th April 2010, 18:05
  2. Sleep My Program when it running ?
    By nhs_0702 in forum Qt Programming
    Replies: 1
    Last Post: 24th April 2010, 06:30
  3. Qt Program Not running
    By Nishant in forum Newbie
    Replies: 0
    Last Post: 6th April 2010, 19:29
  4. Help me how to know the program is running
    By vql in forum Qt Programming
    Replies: 1
    Last Post: 21st March 2008, 12:43
  5. Replies: 1
    Last Post: 17th May 2006, 00:23

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.