To be a good citizen, and to work with the latest TBB library, SMTK has enabled QT_NO_KEYWORDS builds. In practice, this means that SMTK plugins and apps should adopt this change as well. The required changes are simple:
- For source files that use QT, replace:
- In CMake code for each QT using lib/plugin/app, so the compiler will enforce:
target_compile_definitions(myTarget PRIVATE QT_NO_KEYWORDS)
- This can only be done if all used headers are compliant.