Results 1 to 5 of 5

Thread: A strange question

  1. #1
    Join Date
    Mar 2010
    Location
    spain
    Posts
    25
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default A strange question

    In an application that has only one QTIME that updates the local time in a QLabel, the application is built on windows with qt 4.6.2 and mingw32 both com windows vista seven is perfect and Sp3 Xp is also perfect, but XP SP2, from time to time 5, 10 seconds, the cpu goes to 100% of resources for a moment about 3 seconds, blocking the full implementation by making the QTIME not be updated. I would like to know why this behavior in XP SP2 Any ideas?

    Thank you very much

    Sorry for my English

    En una aplicación que solo tiene un qtimer que actualiza la hora local en un qlabel, la aplicación esta construida en windows con qt 4.6.2 y mingw32, tanto en windows vista com en seven va perfecto y en Xp Sp3 también va perfecto, pero en Xp SP2, cada cierto tiempo 5, 10 segundos la cpu se pone a 100% de recursos durante un instante unos 3 segundos, bloqueando la aplicación por completo haciendo que el Qtimer no se actualice. Me gustaria saber porque este comportamiento en Xp SP2 ¿Alguna idea?

    Muchas gracias

    Disculpen por mi inglés

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: A strange question

    This very well may be a local system issue, not necessarily a windows issue.
    Does the CPU spike happen only when your application is running?
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Mar 2010
    Location
    spain
    Posts
    25
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A strange question

    Exactly, only when the application runs.

  4. #4
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: A strange question

    Then its not an OS issue, but an issue in your application.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  5. #5
    Join Date
    Mar 2010
    Location
    spain
    Posts
    25
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A strange question

    It's definitely a problem of QT component must
    being or QTIME or QFilesystemmodel, since my application works perfectly in all windows less than in XP Sp2. I will start to ring components to find the cause.
    And tell them.

    Greetings

Similar Threads

  1. Qt Strange size!
    By Peppy in forum Qt Programming
    Replies: 3
    Last Post: 7th October 2010, 20:02
  2. Strange problem
    By pavel in forum Newbie
    Replies: 4
    Last Post: 18th December 2009, 21:46
  3. Very strange with Qt+OpenCV
    By diego in forum Newbie
    Replies: 0
    Last Post: 29th June 2009, 05:33
  4. Need help: Strange behaviour
    By navi1084 in forum Qt Programming
    Replies: 3
    Last Post: 14th November 2008, 04:03
  5. Strange error
    By joseph in forum General Programming
    Replies: 3
    Last Post: 8th February 2008, 13:32

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.