pysideqmlmacros.h 466 B

123456789101112131415161718
  1. // Copyright (C) 2021 The Qt Company Ltd.
  2. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
  3. #ifndef PYSIDEQMLMACROS_H
  4. #define PYSIDEQMLMACROS_H
  5. #include <shibokenmacros.h>
  6. #define PYSIDEQML_EXPORT LIBSHIBOKEN_EXPORT
  7. #define PYSIDEQML_IMPORT LIBSHIBOKEN_IMPORT
  8. #ifdef BUILD_LIBPYSIDEQML
  9. # define PYSIDEQML_API PYSIDEQML_EXPORT
  10. #else
  11. # define PYSIDEQML_API PYSIDEQML_IMPORT
  12. #endif
  13. #endif // PYSIDEQMLMACROS_H