#ifndef QTYAML_GLOBAL_H
#define QTYAML_GLOBAL_H

#include <QtCore/QtGlobal>

#if defined(QTYAML_LIBRARY)
#  define QTYAMLSHARED_EXPORT Q_DECL_EXPORT
#else
#  define QTYAMLSHARED_EXPORT Q_DECL_IMPORT
#endif

#endif // QTYAML_GLOBAL_H

#ifndef QTYAML_GLOBAL_H
#define QTYAML_GLOBAL_H

#include <QtCore/QtGlobal>

#ifdef YAML_DECLARE_STATIC
#  define QTYAMLSHARED_EXPORT
#else
#  ifdef QTYAML_LIBRARY
#    define QTYAMLSHARED_EXPORT Q_DECL_EXPORT
#  else
#    define QTYAMLSHARED_EXPORT Q_DECL_IMPORT
#  endif
#endif

#endif // QTYAML_GLOBAL_H

Add support for static lib
Add support for static lib
