On 2009-08-14 08:32+0200 Werner Smekal wrote:

> Hi Alan,
>> 
>> Hi Werner:
>> 
>> The problem is that the Qt4 version of QT_USE_FILE uses the CMake commands,
>> add_definitions and include_directories to set up the Qt4 build 
>> environment.
>> Those commands contaminate all PLplot component builds with qt flags if the
>> include(${QT_USE_FILE}) CMake command is executed implicitly for the
>> top-level directory (via cmake/modules/qt.cmake) since every subdirectory
>> inherits the results of the add_definitions and include_directories
>> commands.  The solution is to remove the include(${QT_USE_FILE}) command
>> from cmake/modules/qt.cmake and only use it in those subdirectories where 
>> it
>> is needed (revision 10247).  I have tested the result for ENABLE_qt OFF and
>> ON, and ENABLE_DYNDRIVERS OFF and ON, and it seems to work.
>> 
>> Please let me know if this fix solves the specific problem you found on
>> Mac OS X.
>
> The D bindings compile now without problems, but later on it stops during the 
> compilation of qt_example.cpp

> [...]Obviously the Qt compile flags are missing here.

Thanks for spotting this.  I forgot to propagate the change to the build of
qt_example.  It is now fixed (revision 10251).

More later on your re-run of cmake issue.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to