From: <ai...@us...> - 2009-05-03 11:18:36
|
Revision: 9890 http://plplot.svn.sourceforge.net/plplot/?rev=9890&view=rev Author: airwin Date: 2009-05-03 11:18:22 +0000 (Sun, 03 May 2009) Log Message: ----------- Cannot build examples/c++/qt_example because of undefined symbols for -DENABLE_DYNDRIVERS=OFF case. Until this is sorted out post-release, disable all Qt devices for the -DENABLE_DYNDRIVERS=OFF case. Modified Paths: -------------- trunk/cmake/modules/qt.cmake Modified: trunk/cmake/modules/qt.cmake =================================================================== --- trunk/cmake/modules/qt.cmake 2009-05-03 11:14:52 UTC (rev 9889) +++ trunk/cmake/modules/qt.cmake 2009-05-03 11:18:22 UTC (rev 9890) @@ -40,7 +40,7 @@ find_package(Qt4) if(PLD_bmpqt OR PLD_jpgqt OR PLD_pngqt OR PLD_ppmqt OR PLD_tiffqt OR PLD_epsqt OR PLD_pdfqt OR PLD_qtwidget OR PLD_svgqt OR PLD_extqt) - if(QT4_FOUND) + if(ENABLE_DYNDRIVERS AND QT4_FOUND) if(PLD_svgqt AND ${QT_VERSION_MINOR} GREATER 2) set(QT_USE_QTSVG 1) endif(PLD_svgqt AND ${QT_VERSION_MINOR} GREATER 2) @@ -55,7 +55,7 @@ set(qt_RPATH ${QT_LIBRARY_DIR}) #message("qt_LIBRARY_DIR = ${qt_LIBRARY_DIR}") set(DRIVERS_LINK_FLAGS ${DRIVERS_LINK_FLAGS} ${qt_LINK_FLAGS}) - else(QT4_FOUND) + else(ENABLE_DYNDRIVERS AND QT4_FOUND) set(PLD_bmpqt OFF CACHE BOOL "Enable Qt Windows bmp device" FORCE) set(PLD_jpgqt OFF CACHE BOOL "Enable Qt jpg device" FORCE) set(PLD_pngqt OFF CACHE BOOL "Enable Qt png device" FORCE) @@ -66,7 +66,7 @@ set(PLD_qtwidget OFF CACHE BOOL "Enable Qt interactive device" FORCE) set(PLD_svgqt OFF CACHE BOOL "Enable Qt SVG device" FORCE) set(PLD_extqt OFF CACHE BOOL "Enable Qt ext device" FORCE) - endif(QT4_FOUND) + endif(ENABLE_DYNDRIVERS AND QT4_FOUND) endif(PLD_bmpqt OR PLD_jpgqt OR PLD_pngqt OR PLD_ppmqt OR PLD_tiffqt OR PLD_epsqt OR PLD_pdfqt OR PLD_qtwidget OR PLD_svgqt OR PLD_extqt) if(PLD_extqt) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |