I saw the Qt source code like this:
class Q_CORE_EXPORT QBasicAtomicInt { public: ... };
Which Q_CORE_EXPORT macro defines lik
Q_CORE_EXPORT
__declspec(dllimport) is a storage-class specifier that tells the compiler that a function or object or data type is defined in an external DLL.
__declspec(dllimport)
The function or object or data type is exported from a DLL with a corresponding __declspec(dllexport).
__declspec(dllexport)