From: Knut F. <Knu...@gm...> - 2010-11-01 17:27:22
|
[ Sorry for not replying properly; I managed to screw up my first subscription attempt and didn't receive the first three mails. ] > +targeta.path = $$INSTALLBASE/lib/liborigin2 [...] > +targeta.files = liborigin2.a As far as I can see, qmake can build either a static or a dynamic library, but not both at the same time. Adding just this installation target will install whatever liborigin2.a happens to be lieing around from the last time qmake;make was run with CONFIG+=staticlib enabled, which is not a good idea IMHO. Instead of trying to work around the various shortcomings of qmake, I'd suggest resurrecting CMakeLists.txt from commit f19437 (with a suitably updated VERSION). This is also a much smaller dependency than Qt (assuming someone wants to use liborigin in a non-Qt context), and LabPlot2 / future SciDAVis will most likely be using CMake anyway. Knut |