[QGIS Commit] r8951 - trunk/qgis/tests/src/gui

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Jul 29 16:25:48 EDT 2008


Author: jef
Date: 2008-07-29 16:25:48 -0400 (Tue, 29 Jul 2008)
New Revision: 8951

Modified:
   trunk/qgis/tests/src/gui/CMakeLists.txt
Log:
fix gui imports for test on windows

Modified: trunk/qgis/tests/src/gui/CMakeLists.txt
===================================================================
--- trunk/qgis/tests/src/gui/CMakeLists.txt	2008-07-29 20:06:08 UTC (rev 8950)
+++ trunk/qgis/tests/src/gui/CMakeLists.txt	2008-07-29 20:25:48 UTC (rev 8951)
@@ -29,12 +29,12 @@
     ADD_DEFINITIONS("-DCORE_EXPORT=__declspec(dllimport)")
     #ADD_DEFINITIONS("-DPLUGIN_EXPORT=__declspec(dllimport)")
     #next needed for qgis gui includes
-    ADD_DEFINITIONS("-DGUI_EXPORT=__declspec(dllexport)")
+    ADD_DEFINITIONS("-DGUI_EXPORT=__declspec(dllimport)")
   ELSE (MSVC)
     ADD_DEFINITIONS("-UCORE_EXPORT \"-DCORE_EXPORT=__declspec(dllimport)\"")
     #ADD_DEFINITIONS("\"-DPLUGIN_EXPORT=__declspec(dllimport)\"")
     #next needed for qgis gui includes
-    ADD_DEFINITIONS("-UGUI_EXPORT \"-DGUI_EXPORT=__declspec(dllexport)\"")
+    ADD_DEFINITIONS("-UGUI_EXPORT \"-DGUI_EXPORT=__declspec(dllimport)\"")
   ENDIF (MSVC)
 ENDIF (WIN32)
 



More information about the QGIS-commit mailing list