all assertion are just information for developer that some assumption is not met in code so code should be verified and fixed.
That is why in release assertions are disabled.
IMHO you should investigate what is the problem.
See this source file: qwidget_wince.cpp
Qt Code:
  1. // Set the size of the Packet Queue to the correct size...
  2. int currSize = ptrWTQueueSizeGet(qt_tablet_context);
  3. if (!ptrWTQueueSizeSet(qt_tablet_context, QT_TABLET_NPACKETQSIZE)) {
  4. // Ideally one might want to use a smaller
  5. // multiple, but for now, since we managed to destroy
  6. // the existing Q with the previous call, set it back
  7. // to the other size, which should work. If not,
  8. // there will be trouble.
  9. if (!ptrWTQueueSizeSet(qt_tablet_context, currSize)) {
  10. Q_ASSERT_X(0, "Qt::Internal", "There is no packet queue for"
  11. " the tablet. The tablet will not work");
  12. }
  13. }
To copy to clipboard, switch view to plain text mode