Results 1 to 2 of 2

Thread: why Qt5.5.1 qDebug so slowly?

  1. #1
    Join Date
    Apr 2016
    Posts
    37
    Thanks
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default why Qt5.5.1 qDebug so slowly?

    Hello everybody.

    i use Qt5.5.1 , I found debug so slowly.

    code:
    QTime time;
    time.start();
    for(int i = 0;i<1000;i++)
    qDebug()<<" , hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello, hello";
    qDebug()<<"time is : "<<time.elapsed()<<" ms"; //time is : 17453 ms

    It takes 17453 ms from the qDebug() . but i use the same code in qt 5.3.1 , How to solve this ?

  2. #2
    Join Date
    Apr 2016
    Posts
    37
    Thanks
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: why Qt5.5.1 qDebug so slowly?

    sorry , i replace qtcreator 4.0 solve it.

Similar Threads

  1. QLineEdit loads slowly
    By iskenderoguz in forum Newbie
    Replies: 3
    Last Post: 17th June 2014, 10:10
  2. QwtDial works slowly in QWS
    By simophin in forum Qwt
    Replies: 1
    Last Post: 19th July 2010, 08:00
  3. QT WebKit running Slowly
    By darryncampbell in forum Qt Programming
    Replies: 0
    Last Post: 25th February 2009, 14:19
  4. Application starting slowly.
    By aj2903 in forum Qt Programming
    Replies: 3
    Last Post: 30th December 2008, 12:19
  5. very slowly apps
    By swiety in forum Qt Programming
    Replies: 2
    Last Post: 20th January 2008, 12:05

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.