Results 1 to 5 of 5

Thread: qcombobox & QPushbutton is very slow in my application

  1. #1
    Join Date
    Jan 2013
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question qcombobox & QPushbutton is very slow in my application

    Hi,

    i am using graphics , qcombobox, qpushbutton, qtreewidget, qtablewidget, grid view, etc... in my application. when i load my application in debug mode , the application is very slow & freeze some time.
    In normal mode, static widget like(qcombobox, qpushbutton) working very slow. when i press combo box, it takes 2min. some time freeze.

    what is the main reason? what are things i have review my code. please anyone can help this issue.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: qcombobox & QPushbutton is very slow in my application

    There is not enough information for any kind of help above guessing.

    Cheers,
    _

  3. #3
    Join Date
    Jan 2013
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11

    Thumbs up Re: qcombobox & QPushbutton is very slow in my application

    I have 20 pushbutton in my application. After Loading exe, i press all the button at and time, i will add all the button name to combo box.

    if i press combo box, its opening get slow for some time. but my exe size also very big.

    if i run in debug mode, my application is getting freeze for some.

    one more information, separate thread for graphicsitem position update.

  4. #4
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: qcombobox & QPushbutton is very slow in my application

    one more information, separate thread for graphicsitem position update.
    Remove the thread / don't run the thread and see some is some magic happens.

    Show us what you are doing, and how you are doing?
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: qcombobox & QPushbutton is very slow in my application

    Quote Originally Posted by mekalapandiyan@gmail.com View Post
    one more information, separate thread for graphicsitem position update.
    You cannot manipulate graphics items in a worker thread.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QComboBox extremely slow on adding a lot of items
    By Buldozer in forum Qt Programming
    Replies: 3
    Last Post: 16th May 2021, 12:46
  2. Customize QPushButton and QComboBox
    By fruzzo in forum Qt Programming
    Replies: 1
    Last Post: 8th June 2012, 21:20
  3. Same height for QComboBox and QPushButton
    By cevou in forum Qt Programming
    Replies: 5
    Last Post: 12th May 2012, 07:56
  4. Qt Application is slow
    By sosanjay in forum Qt Programming
    Replies: 2
    Last Post: 3rd November 2009, 08:25
  5. Adding QComboBox to QTableWidget very slow
    By munna in forum Qt Programming
    Replies: 2
    Last Post: 13th July 2006, 15:45

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.