「Qtの基礎 - ライブラリ」の版間の差分

ナビゲーションに移動 検索に移動
409行目: 409行目:
  #include <QtCore/qglobal.h>
  #include <QtCore/qglobal.h>
   
   
  #ifdef Q_OS_WIN  // Windows
  #if defined(Q_OS_WIN)   // Windows
     #if defined(PLUGIN_LIBRARY)
     #if defined(PLUGIN_LIBRARY)
       #define PLUGIN_EXPORT __declspec(dllexport)
       #define PLUGIN_EXPORT __declspec(dllexport)
415行目: 415行目:
       #define PLUGIN_EXPORT
       #define PLUGIN_EXPORT
     #endif
     #endif
  #elif Q_OS_LINUX  // Linux
  #elif defined(Q_OS_LINUX) // Linux
     #if defined(PLUGIN_LIBRARY)
     #if defined(PLUGIN_LIBRARY)
       #define PLUGIN_EXPORT Q_DECL_EXPORT
       #define PLUGIN_EXPORT Q_DECL_EXPORT

案内メニュー