aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/quick/items/qquickpainteditem.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/quick/items/qquickpainteditem.cpp b/src/quick/items/qquickpainteditem.cpp
index ab216dad9c..7f90c3512a 100644
--- a/src/quick/items/qquickpainteditem.cpp
+++ b/src/quick/items/qquickpainteditem.cpp
@@ -490,6 +490,9 @@ void QQuickPaintedItem::setRenderTarget(RenderTarget target)
As a consequence, paint() is not called from the main GUI thread but from the GL enabled
renderer thread. At the moment paint() is called, the GUI thread is blocked and this is
therefore thread-safe.
+
+ \warning Extreme caution must be used when creating QObjects, emitting signals, starting
+ timers and similar inside this function as these will have affinity to the rendering thread.
*/
/*!