Results 1 to 3 of 3

Thread: Unidentified problem

  1. #1
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Unidentified problem

    Hello!

    I'm having a problem with my software that I simply can't understand. Essentially what is does is to create a "false" buffer with a vector and each time the socket client receives a data, a task reads the vector-buffer, divide the data into three data and plot each of them as the Y of a graph. The softwares compiles O.K. and it runs perfectly till the moment when it says the graphs to "replot()" just after putting the code that will draw the new part of the line. When that command is called, this error message appears:

    (here comes the entire qDebug() data, so you can see the entire process)

    Qt Code:
    1. Server started
    2. Client connected
    3. Task Start
    4. Escrito no buffer, inicio.
    5. Nada foi passado ainda. Nada sendo plotado.
    6. Valor lido no task: "45 45 45
    7. "
    8. Fez as divisoes.
    9. Dado a ser partido: "45 45 45
    10. "
    11. QObject::connect: Cannot queue arguments of type 'QTextCursor'
    12. (Make sure 'QTextCursor' is registered using qRegisterMetaType().)
    13. 1 col: 45
    14.  
    15. 2 col: 45
    16.  
    17. 3 col: 45
    18.  
    19. QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
    20. QPixmap: It is not safe to use pixmaps outside the GUI thread
    21. QPixmap: It is not safe to use pixmaps outside the GUI thread
    22. QPainter::begin: Paint device returned engine == 0, type: 2
    23. QPainter::setPen: Painter not active
    24. QPainter::setBrush: Painter not active
    25. QPainter::drawRects: Painter not active
    26. QPainter::begin: Paint device returned engine == 0, type: 2
    27. QPainter::translate: Painter not active
    28. QPainter::save: Painter not active
    29. QPainter::setRenderHint: Painter must be active to set rendering hints
    30. QPainter::save: Painter not active
    31. QPainter::setPen: Painter not active
    32. QPainter::restore: Unbalanced save/restore
    33. QPainter::restore: Unbalanced save/restore
    34. QPainter::save: Painter not active
    35. QPainter::setRenderHint: Painter must be active to set rendering hints
    36. QPainter::restore: Unbalanced save/restore
    37. QPainter::end: Painter not active, aborted
    38. QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
    39. QPixmap: It is not safe to use pixmaps outside the GUI thread
    40. QPixmap: It is not safe to use pixmaps outside the GUI thread
    41. QPainter::begin: Paint device returned engine == 0, type: 2
    42. QPainter::setPen: Painter not active
    43. QPainter::setBrush: Painter not active
    44. QPainter::drawRects: Painter not active
    45. QPainter::begin: Paint device returned engine == 0, type: 2
    46. QPainter::translate: Painter not active
    47. QPainter::save: Painter not active
    48. QPainter::setRenderHint: Painter must be active to set rendering hints
    49. QPainter::save: Painter not active
    50. QPainter::setPen: Painter not active
    51. QPainter::restore: Unbalanced save/restore
    52. QPainter::restore: Unbalanced save/restore
    53. QPainter::save: Painter not active
    54. QPainter::setRenderHint: Painter must be active to set rendering hints
    55. QPainter::restore: Unbalanced save/restore
    56. QPainter::end: Painter not active, aborted
    57. The program has unexpectedly finished.
    To copy to clipboard, switch view to plain text mode 

    I try to run with the debugger, but it showed nothing and the software got "stumped".

    I simply don't know where the problem can be. Does somebody knows? If necessary, I put the codes.



    Thanks!

  2. #2
    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: Unidentified problem

    The problem has nothing to do with Qwt. Have a look at #11 of the error log.
    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.


  3. #3
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Unidentified problem

    Quote Originally Posted by wysota View Post
    The problem has nothing to do with Qwt. Have a look at #11 of the error log.
    wysota,

    thanks!

    God bless,

    Momergil

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.