From: Alan W. I. <ir...@be...> - 2009-08-03 20:50:44
|
On 2009-08-02 23:21-0700 Alan W. Irwin wrote: > [...]I just realized > a similar fix (create moc_files.h which #includes the moc-generated source) > is required for the static drivers case, but instead of going through this > in a 3rd location in our build system, I am going to run moc and create > moc_files.h in just the include subdirectory of our build system. I then > will refer to that result via a target dependency in the 3 places (building > libplplotqt, qt.so, or libplplot) where it might be needed depending on > cmake options. DONE (revision 10205). I have tested the result (using the gcc and g++, -fvisibility=hidden options on my Linux platform) with ENABLE_qt=OFF or ON and with ENABLE_DYNDRIVERS=OFF or ON. In all cases the core build had no obvious errors, and libplplot, qt.so, and (where they exist) libplplotqt.so and plplot_pyqt4.so passed the "ldd -r" test both in the build tree and install tree. In all cases, the install-tree examples build (using the CMake-based system) completed without obvious errors, and testing of -dev qtwidget, qt_example, and pyqt4_example.py showed no issues. In sum, I am finally happy with our build system for everything related to qt, but please test all aspects of qt for yourselves as well (especially on Windows and Mac OS X where little testing of qt has been reported yet.) 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 __________________________ |