Problem
when moc processes src/quickfuture.h, it outputs a warning
quickfuture.h:0: Note: No relevant classes found. No output generated.
Steps
Use the library by including this repo as a subdirectory then
include(quickfuture/quickfuture.pri)
Reason
The Qt stuff in this file is guarded by #ifdef QUICK_FUTURE_BUILD_PLUGIN
Solution
Remove src/quickfuture.h from HEADERS list in src/src.pri. This change only affects using the library by
include(quickfuture/quickfuture.pri)
This does not affect building the project as a plugin, because src/quickfuture.h is still listed in HEADERS in the plugin's .pro file