From: <ai...@us...> - 2009-06-22 21:05:23
|
Revision: 10061 http://plplot.svn.sourceforge.net/plplot/?rev=10061&view=rev Author: airwin Date: 2009-06-22 21:04:47 +0000 (Mon, 22 Jun 2009) Log Message: ----------- Implement visibility of the plplotqt library. This takes care of most but not all visibility issues on Linux so, for the moment, the "ldd -r" test on the plplot_pyqt4 Python extension module shows some undefined symbols that are not exported properly from the plplotqt library. Modified Paths: -------------- trunk/drivers/qt.h trunk/include/pldll.h.in Modified: trunk/drivers/qt.h =================================================================== --- trunk/drivers/qt.h 2009-06-22 21:00:30 UTC (rev 10060) +++ trunk/drivers/qt.h 2009-06-22 21:04:47 UTC (rev 10061) @@ -140,7 +140,7 @@ }; // Basic class, offering the common interface to all Qt plplot devices -class QtPLDriver +class PLDLLIMPEXP_DRIVER QtPLDriver { public: // Constructor, taking the device size as arguments Modified: trunk/include/pldll.h.in =================================================================== --- trunk/include/pldll.h.in 2009-06-22 21:00:30 UTC (rev 10060) +++ trunk/include/pldll.h.in 2009-06-22 21:04:47 UTC (rev 10061) @@ -46,6 +46,8 @@ but dyanmic drivers disabled, the driver dll macros are the same as the plplot dll macros */ #ifdef ENABLE_DYNDRIVERS + /* Treat plplotqt library just like the qt device since the same source code + is used. */ #if defined(aqt_EXPORTS) || defined(cairo_EXPORTS) || defined(cgm_EXPORTS) || \ defined(dg300_EXPORTS) || defined(gd_EXPORTS) || defined(gcw_EXPORTS) || \ defined(hpgl_EXPORTS) || defined(impress_EXPORTS) || defined(linuxvga_EXPORTS) || \ @@ -55,7 +57,7 @@ defined(pstex_EXPORTS) || defined(psttf_EXPORTS) || defined(svg_EXPORTS) || \ defined(tek_EXPORTS) || defined(tk_EXPORTS) || defined(tkwin_EXPORTS) || \ defined(wingcc_EXPORTS) || defined(wxwidgets_EXPORTS) || defined(xfig_EXPORTS) || \ - defined(xwin_EXPORTS) || defined(qt_EXPORTS) + defined(xwin_EXPORTS) || defined(qt_EXPORTS) || defined(plplotqt${LIB_TAG}_EXPORTS) #define PLDLLIMPEXP_DRIVER PLDLLEXPORT #define PLDLLIMPEXP_DRIVER_DATA(type) PLDLLEXPORT type #else This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |