diff options
author | Pasi Petäjäjärvi <pasi.petajajarvi@theqtcompany.com> | 2016-01-28 10:53:17 +0200 |
---|---|---|
committer | Pasi Petäjäjärvi <pasi.petajajarvi@theqtcompany.com> | 2016-01-29 08:48:44 +0000 |
commit | 10768631f581d38f0ef9b1903629f2d8a7632cca (patch) | |
tree | 1204f527f01490b3d78013ca975577f20f6cac4b /doc | |
parent | ae3a57759d98e1b42b3af1d4830e53ecf590d2a7 (diff) |
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.qdoc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/src/platforms/vxworks.qdoc b/doc/src/platforms/vxworks.qdoc index e85f0463e..848c0a79d 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 |