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)
Server started
Client connected
Task Start
Escrito no buffer, inicio.
Nada foi passado ainda. Nada sendo plotado.
Valor lido no task: "45 45 45
"
Fez as divisoes.
Dado a ser partido: "45 45 45
"
QObject::connect: Cannot queue arguments of type
'QTextCursor' (Make sure 'QTextCursor' is registered using qRegisterMetaType().)
1 col: 45
2 col: 45
3 col: 45
QCoreApplication::sendPostedEvents: Cannot send posted events
for objects in another thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPainter::begin: Paint device returned engine
== 0, type
: 2 QPainter::begin: Paint device returned engine
== 0, type
: 2 QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::restore: Unbalanced save
/restore
QPainter::restore: Unbalanced save
/restore
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::restore: Unbalanced save
/restore
QPainter::end: Painter not active, aborted
QCoreApplication::sendPostedEvents: Cannot send posted events
for objects in another thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPainter::begin: Paint device returned engine
== 0, type
: 2 QPainter::begin: Paint device returned engine
== 0, type
: 2 QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::restore: Unbalanced save
/restore
QPainter::restore: Unbalanced save
/restore
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::restore: Unbalanced save
/restore
QPainter::end: Painter not active, aborted
The program has unexpectedly finished.
Server started
Client connected
Task Start
Escrito no buffer, inicio.
Nada foi passado ainda. Nada sendo plotado.
Valor lido no task: "45 45 45
"
Fez as divisoes.
Dado a ser partido: "45 45 45
"
QObject::connect: Cannot queue arguments of type 'QTextCursor'
(Make sure 'QTextCursor' is registered using qRegisterMetaType().)
1 col: 45
2 col: 45
3 col: 45
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::translate: Painter not active
QPainter::save: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::save: Painter not active
QPainter::setPen: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::restore: Unbalanced save/restore
QPainter::save: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::restore: Unbalanced save/restore
QPainter::end: Painter not active, aborted
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::translate: Painter not active
QPainter::save: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::save: Painter not active
QPainter::setPen: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::restore: Unbalanced save/restore
QPainter::save: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::restore: Unbalanced save/restore
QPainter::end: Painter not active, aborted
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!
Bookmarks