SCI Seg3D Mailing List

Text archives Help

[Seg3D] Qt library dependency removed from Spline Tool

Chronological Thread 
  • From: Ramón Casero Cañas <>
  • To: "" <>
  • Subject: [Seg3D] Qt library dependency removed from Spline Tool
  • Date: Wed, 20 Jan 2010 22:27:14 +0000

Hi all,

I think I have finally been able to remove the dependency from library Qt that the Spline Tool had via the Qwt library.

At least the code compiles and runs in my machine (Ubuntu linux).


Because Qwt is LGPL, the relevant code cannot be just taken and put into Seg3D or Teem (unless the corresponding licences were changed to LGPL).

Thus, what I have done is a derivative work of Qwt called QwtLight. QwtLight is a stripped down version of Qwt that doesn't depend on Qt. It exists as an independent library in the src/Externals directory, so AFAIK it is OK to leave it with a LGPL licence, and link to it from Seg3D.

Because the Seg3D source code is provided with the library, I think we should be fine under point 6 of the LGPL


Actually, the code as it is now in the repository will fail to compile because it cannot link to LAPACK.

To fix this, it's necessary to patch two of the CMakeLists.txt in the vispack library.

I cannot do this myself, because I don't have permissions. (I have done it locally.)

I have reported the problem and suggested patches as bug 478

NB. I think that the problem is independent from the Spline Tool, and will happen if at some point Seg3D needs to link to LAPACK.

Any comments are welcome!


Dr. Ramón Casero Cañas

Computational Biology, Computing Laboratory
University of Oxford
Wolfson Building, Parks Rd
Oxford OX1 3QD

tlf     +44 (0) 1865 610807

Archive powered by MHonArc 2.6.16.

Top of page