From: vsr Date: Tue, 15 May 2007 13:52:06 +0000 (+0000) Subject: Porting to Qt4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e02954eed2b8e72ed9d5339b55f92dd325ef2efa;p=modules%2Fgui.git Porting to Qt4 --- diff --git a/src/STD/STD.h b/src/STD/STD.h index 404cf9adf..e974b5255 100755 --- a/src/STD/STD.h +++ b/src/STD/STD.h @@ -19,18 +19,14 @@ #ifndef STD_H #define STD_H -#if defined STD_EXPORTS #if defined WIN32 -#define STD_EXPORT __declspec( dllexport ) +# if defined STD_EXPORTS +# define STD_EXPORT __declspec( dllexport ) +# else +# define STD_EXPORT __declspec( dllimport ) +# endif #else -#define STD_EXPORT -#endif -#else -#if defined WIN32 -#define STD_EXPORT __declspec( dllimport ) -#else -#define STD_EXPORT -#endif +# define STD_EXPORT #endif #if defined SOLARIS diff --git a/src/STD/STD.pro b/src/STD/STD.pro index d8a1e8a48..31b4901f1 100644 --- a/src/STD/STD.pro +++ b/src/STD/STD.pro @@ -19,7 +19,7 @@ HEADERS += STD_CloseDlg.h HEADERS += STD_MDIDesktop.h HEADERS += STD_SDIDesktop.h HEADERS += STD_TabDesktop.h -#SOURCES += STD_LoadStudiesDlg.h +#HEADERS += STD_LoadStudiesDlg.h SOURCES = STD_Application.cxx SOURCES += STD_CloseDlg.cxx