登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

motioo 的博客

 
 
 

日志

 
 
 
 

如何安装qtiplot  

2010-08-07 14:58:31|  分类: linux 下的应用软 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
The QtiPlot Handbook
PrevAppendix A. InstallationNext

Compilation and Installation from sources

Requirements

If you want to build QtiPlot from sources, you need the following libraries:
Qt (>= 4.5.0)

QtiPlot only works with the 4.5.x versions of the Qt library.

Qwt

You must use the slightly modified version of the Qwt 5.2 library shipped with QtiPlot in the "3rdparty/qwt" folder.

QwtPlot3D

A modified version of the QwtPlot3D library is used to create the 3D plots. It is included in QtiPlot ("3rdparty/qwtplot3d" folder), so you don't need to install it separately.

muParser

The version of the muParser library used by QtiPlot is 1.32.

liborigin2

The last version of liborigin2 allows to read OriginLab 7.5 project files. It is included in QtiPlot ("3rdparty/liborigin" folder), so you don't need to download and install it.

BOOST C++ libraries

liborigin depends on the BOOST C++ libraries (>= 1.33.0), so you need to download and install them separately.

GSL

In order to build QtiPlot you also need the GSL library.

zlib

For the compression of project files QtiPlot also uses the zlib library.

libpng

For the export of 3D plots QtiPlot also uses the libpng library.

libxls

For the import/export of Excel .xls files QtiPlot also uses the ExcelFormat library.

QuaZIP

For the import of ODF spreadsheet .ods files QtiPlot uses the QuaZIP library.

Finally, if you want Python scripting support, you will also need to download and install: Python 2.x, SIP, and PyQt v4. All three of them are included in many Linux distributions.

Linux and Mac OS X

Download the qtiplot archive (.tar.bz2 or .zip file) and decompress it. Then open a terminal (console) window and go to the main folder of the decompressed archive (which should be named qtiplot-0.9.7.8). Create a build.conf file. You can use the provided example for this:

cp build.conf.example build.conf

You must make sure that QtiPlot is able to find the third party libraries it depends on. For this you have to edit the build.conf file. Once this is done, go back to the main directory qtiplot-0.9.7.8 and type:

qmake qtiplot.pro
make

to install QtiPlot, you must login as root and type:

make install

You can then logout from root and launch the application:

qtiplot

Windows

If you want to compile the application from sources you need to download and install the the MinGWcompiler, the only one supported by the Qt Open Source edition on Windows. Then you must proceed exactly as on Linux/Mac OS X systems, following the above indications.

PrevHomeNext
Installation from binary packagesUpFrequently asked questions
  评论这张
 
阅读(3633)| 评论(0)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018