pysidemacros.h 436 B

123456789101112131415161718
  1. // Copyright (C) 2020 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 PYSIDEMACROS_H
  4. #define PYSIDEMACROS_H
  5. #include <shibokenmacros.h>
  6. #define PYSIDE_EXPORT LIBSHIBOKEN_EXPORT
  7. #define PYSIDE_IMPORT LIBSHIBOKEN_IMPORT
  8. #ifdef BUILD_LIBPYSIDE
  9. # define PYSIDE_API PYSIDE_EXPORT
  10. #else
  11. # define PYSIDE_API PYSIDE_IMPORT
  12. #endif
  13. #endif // PYSIDEMACROS_H