summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPasi Petäjäjärvi <pasi.petajajarvi@theqtcompany.com>2016-01-28 10:53:17 +0200
committerPasi Petäjäjärvi <pasi.petajajarvi@theqtcompany.com>2016-01-29 08:48:44 +0000
commit10768631f581d38f0ef9b1903629f2d8a7632cca (patch)
tree1204f527f01490b3d78013ca975577f20f6cac4b /doc
parentae3a57759d98e1b42b3af1d4830e53ecf590d2a7 (diff)
downloadqtdoc-10768631f581d38f0ef9b1903629f2d8a7632cca.tar.gz
VxWorks: Update documentation
* Add chapter for env variable QT_FORCE_SELECT_NOTIMEOUT Change-Id: Id71397e1f28d883fc4aa82a67caa296f60c3c258 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/platforms/vxworks.qdoc10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/src/platforms/vxworks.qdoc b/doc/src/platforms/vxworks.qdoc
index e85f0463..848c0a79 100644
--- a/doc/src/platforms/vxworks.qdoc
+++ b/doc/src/platforms/vxworks.qdoc
@@ -467,6 +467,16 @@
\c QML_LOADERTHREAD_STACK_SIZE, it is possible to increase the stack
size available for the QML loader thread.
+ \section1 Preventing Timeouts in QEventDispatcher
+
+ Default system clock rate (SYS_CLK_RATE) for VxWorks 7 is 1/60s or ~16,67ms.
+ In some cases this may cause a drop in the application frame rate;
+ in QEventDispatcher, the select function is blocking for the entire system
+ clock interval because a timeout is used. By defining an environment variable
+ \c QT_FORCE_SELECT_NOTIMEOUT=1, the select function returns immediately
+ if no new events are available and the resolution of the system clock is higher
+ than 10ms, which is true with default value.
+
\section1 Running Qt Applications
Following example shows how to start an application when Qt 5 is built using