Declare zoom as a method because it's never used as a slot. Declare updatePixmap as a method because it's used as a slot as pointer-to-member-function, so it doesn't need help from moc. Q_OBJECT is not needed anymore as the MandelbrotWidget class doesn't contain signals ans slots anymore. It's replaced by Q_DECLARE_TR_FUNCTIONS because we are using tr() function. Fixes: QTBUG-108861 Change-Id: I9a1d66711cdc9f0ca5a1bc6645f7e0ed3395645c Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> (cherry picked from commit 2a2275756b31ae870b5735aecb21a6e8f4c6bd55)
This folder contains examples for the use of the threading-related classes in Qt Core. For examples using the higher-level Qt Concurrent module, check out the "qtconcurrent" folder instead. Documentation for examples can be found via the Examples and Tutorials link in the main Qt documentation. The examples and their documentation can also be opened from the Examples tab of Qt Creator's Welcome mode.