[Solved] error: missing -D__STDC_CONSTANT_MACROS / #define __STDC_CONSTANT_MACROS

QT compilation error: missing – D__STDC_CONSTANT_MACROS/#define __STDC_CONSTANT_MACROS

The screenshot is as follows:

Solution: declare in the .H file of this class:

#define __STDC_CONSTANT_MACROS

Similar Posts: