Hi Alan, > Here are the sizes of those four libraries (as given by ls -lh). > > -rwxr-xr-x 1 software software 20M 2009-04-23 09:34 libQtCore.so.4.5.1 > -rwxr-xr-x 1 software software 95M 2009-04-23 09:34 libQtGui.so.4.5.1 > -rwxr-xr-x 1 software software 3.9M 2009-04-23 09:34 libQtSvg.so.4.5.1 > -rwxr-xr-x 1 software software 1.6M 2009-04-23 09:34 libQtXml.so.4.5.1 > > The 120MB total size for these four libraries is about one third the total > size of libraries in /home/software/qtsdk-2009.02/qt/lib/ (the library > directory of the downloaded and installed Qt SDK on my system), but still a > factor of ~four larger than your estimate. I double-checked with nm that > qt.so directly needs symbols defined in libQtGui.so.4.5.1 (the library that > weighs in at 95MB). The same is also true for libplplotqtd.so and > plplot_pyqt4.so. Of course, my estimate is based on the Linux situation > which uses X to support GUIs, and it is well known that Qt uses entirely > different system libraries (and presumbably a different Qt library) to > support their Windows GUIs. So that may explain the difference in our > estimates.
Hmmm. Here are the same 4 libs from my linux machine (I installed these; the version corresponding to my suse 10.2 operating system is far older): qt_sdk/lib> ls -lh -rwxr-xr-x 1 sjs users 2.7M 2009-04-22 13:19 libQtCore.so.4.5.1 -rwxr-xr-x 1 sjs users 12M 2009-04-22 13:19 libQtGui.so.4.5.1 -rwxr-xr-x 1 sjs users 409K 2009-04-22 13:19 libQtSvg.so.4.5.1 -rwxr-xr-x 1 sjs users 347K 2009-04-22 13:19 libQtXml.so.4.5.1 which totals 15 MB so I'm a little perplexed. (the only obvious thing I can think of is that I run a 32-bit system and perhaps you are working on a 64-bit one but I'd naively expect that to introduce at worst a factor of 2 and not nearly 10. The sdk downloads are 275 and 353 MB respoectively) Of more relevance here, though, are the size of the Windows .dll's. Here are the same 4 from my windows box (as shipped by us with QSAS). This is the output from the dir command, which reports the entire directory as 15 File(s) 21,146,566 bytes so for sure these are in bytes(!). 02/12/2008 11:07 2,662,912 QtCore4.dll 27/09/2008 11:00 10,424,832 QtGui4.dll 27/09/2008 11:15 411,136 QtSvg4.dll 27/09/2008 10:38 505,344 QtXml4.dll which is only 14 MB. We ship a couple more dll's, namely 27/09/2008 11:06 3,415,040 Qt3Support4.dll 27/09/2008 10:41 1,248,256 QtNetwork4.dll 27/09/2008 11:00 304,640 QtSql4.dll but these are probably needed for the rest of our qt application. I don't know which version of qt these are, but I think they are probably 4.5. Enjoy the rest of the weekend... Steve -- +-------------------------------------------------------------------+ Professor Steven J Schwartz Phone: +44-(0)20-7594-7660 Head, Space & Atmospheric Physics Fax: +44-(0)20-7594-7900 The Blackett Laboratory E-mail: s.schwa...@imperial.ac.uk Imperial College London Office: Huxley 711A London SW7 2AZ, U.K. Web: www.sp.ph.ic.ac.uk/~sjs +-------------------------------------------------------------------+ ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel