Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
qtiplot [Le 03/06/2011, 18:44] – [Installation des dépendances] volfoni54 | qtiplot [Le 10/04/2020, 09:28] (Version actuelle) – [Voir aussi] le manuel pdf était en 404 --> manuel html 82.64.166.162 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | {{tag> grapheurs éducation logiciels_pour_le_lycée}} | ||
+ | ---- | ||
+ | |||
+ | ====== QtiPlot ====== | ||
+ | |||
+ | **QtiPlot** est un logiciel de traitement et de visualisation de données. | ||
+ | |||
+ | La volonté affichée est de fournir une alternative libre (licence [[http:// | ||
+ | |||
+ | {{http:// | ||
+ | |||
+ | ===== Prérequis ===== | ||
+ | * Disposer des [[: | ||
+ | * Disposer d'une connexion à Internet configurée et activée. | ||
+ | * Avoir activé l' | ||
+ | |||
+ | ===== Installation ===== | ||
+ | |||
+ | ==== Depuis les dépôts ==== | ||
+ | |||
+ | **QtiPlot** est disponible dans les dépôts [[: | ||
+ | |||
+ | À noter que la version de **QtiPlot** disponible dans les dépôts n'est généralement pas la dernière version disponible. | ||
+ | |||
+ | ==== Depuis le site officiel (payant) ==== | ||
+ | Il est possible de télécharger la dernière version de **QtiPlot** (sous la forme d'un paquet) depuis le [[http:// | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | Se référer au site officiel pour l' | ||
+ | |||
+ | ===== Installation à partir des sources ===== | ||
+ | ==== Préparation ==== | ||
+ | |||
+ | S' | ||
+ | |||
+ | ==== Installation des dépendances ==== | ||
+ | <note important> | ||
+ | * QtiPlot peut se compiler sans le support des scripts Python mais il lui faut absolument muParser ! | ||
+ | * Il se peut que vous ayez besoin d' | ||
+ | * Les traductions ne sont pas mises à jour. | ||
+ | </ | ||
+ | |||
+ | Commençons par [[: | ||
+ | |||
+ | Pour info : | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[python]] est optionnel, mais conseillé... | ||
+ | |||
+ | <note important> | ||
+ | D' | ||
+ | |||
+ | Si, par contre, vous n'avez pas besoin de python, alors n' | ||
+ | |||
+ | # SCRIPTING_LANGS += Python | ||
+ | </ | ||
+ | ==== Installation des parties tierces ==== | ||
+ | Créez un répertoire QtiPlot : | ||
+ | |||
+ | mkdir QtiPlot | ||
+ | cd QtiPlot | ||
+ | |||
+ | Ce répertoire est important. Nous décompresserons tous les autres logiciels dedans !!! | ||
+ | |||
+ | Nous allons maintenant compiler ces parties tierces : | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | === Compilation de tamu_anova === | ||
+ | |||
+ | < | ||
+ | tar xvzf tamu_anova-0.2.tar.gz | ||
+ | cd tamu_anova-0.2 | ||
+ | ./ | ||
+ | make</ | ||
+ | |||
+ | === Compilation de QTeXEngine === | ||
+ | |||
+ | < | ||
+ | cd .. | ||
+ | wget http:// | ||
+ | unzip QTeXEngine-0.3-opensource.zip | ||
+ | cd QTeXEngine | ||
+ | qmake | ||
+ | make | ||
+ | sudo cp ./ | ||
+ | sudo cp ./ | ||
+ | | ||
+ | === Compilation de AlGlib === | ||
+ | |||
+ | < | ||
+ | wget http:// | ||
+ | unzip alglib-2.6.0.cpp.zip | ||
+ | cd cpp | ||
+ | chmod +x build | ||
+ | ./build gcc</ | ||
+ | |||
+ | |||
+ | Vous devez avoir l' | ||
+ | |||
+ | QtiPlot | ||
+ | |-- tamu_anova-0.2 | ||
+ | |-- QTexEngine | ||
+ | |-- cpp | ||
+ | |||
+ | ==== Compilation de QtiPlot ==== | ||
+ | |||
+ | Téléchargez QtiPlot sur le site de [[http:// | ||
+ | Désormais, vous devez avoir une arborescence du genre : | ||
+ | |||
+ | QtiPlot | ||
+ | |-- tamu_anova-0.2 | ||
+ | |-- QTexEngine | ||
+ | |-- cpp | ||
+ | |-- qtiplot-0.9.8.6 | ||
+ | |||
+ | Si vous avez déjà compilé d' | ||
+ | |||
+ | === Modification du fichier qwtplot3d.pro === | ||
+ | |||
+ | [[: | ||
+ | |||
+ | < | ||
+ | | ||
+ | === Configuration du fichier build.conf === | ||
+ | Il faut ensuite [[: | ||
+ | < | ||
+ | isEmpty( QTI_ROOT ) { | ||
+ | message( "each file including this config needs to set QTI_ROOT to the dir containing this file!" ) | ||
+ | } | ||
+ | |||
+ | ########################################################## | ||
+ | ## | ||
+ | ########################################################## | ||
+ | |||
+ | SYS_INCLUDEPATH = -I/ | ||
+ | SYS_LIBS = -L/ | ||
+ | |||
+ | MUPARSER_INCLUDEPATH = / | ||
+ | MUPARSER_LIBS = -lmuparser | ||
+ | GSL_LIBS = -lgsl -lgslcblas | ||
+ | |||
+ | QWT_INCLUDEPATH = $$QTI_ROOT/ | ||
+ | QWT_LIBS = $$QTI_ROOT/ | ||
+ | |||
+ | QWT3D_INCLUDEPATH = $$QTI_ROOT/ | ||
+ | QWT3D_LIBS = $$QTI_ROOT/ | ||
+ | |||
+ | ZLIB_INCLUDEPATH = $$QTI_ROOT/ | ||
+ | |||
+ | QUAZIP_INCLUDEPATH = / | ||
+ | QUAZIP_LIBS = -lquazip | ||
+ | |||
+ | TEX_ENGINE_LIBS = ../ | ||
+ | TEX_ENGINE_INCLUDEPATH = ../ | ||
+ | |||
+ | TAMUANOVA_INCLUDEPATH = ../ | ||
+ | TAMUANOVA_LIBS = ../ | ||
+ | |||
+ | LIBPNG_LIBS = -lpng | ||
+ | |||
+ | ALGLIB_INCLUDEPATH = ../ | ||
+ | ALGLIB_LIBS = ../ | ||
+ | |||
+ | ########################################################## | ||
+ | ## python - only used if python is needed | ||
+ | ########################################################## | ||
+ | |||
+ | # the python interpreter to use | ||
+ | # (unix only, windows will use what ever is configured to execute .py files!) | ||
+ | PYTHON = python | ||
+ | |||
+ | ########################################################## | ||
+ | ## Qt tools - allows to use specific versions | ||
+ | ########################################################## | ||
+ | |||
+ | LUPDATE = lupdate | ||
+ | LRELEASE = lrelease | ||
+ | |||
+ | ############################################################ | ||
+ | ## Target specific configuration: | ||
+ | ############################################################ | ||
+ | |||
+ | contains( TARGET, qtiplot ) { | ||
+ | # building without muParser doesn' | ||
+ | SCRIPTING_LANGS += muParser | ||
+ | SCRIPTING_LANGS += Python | ||
+ | |||
+ | # a console displaying output of scripts; particularly useful on Windows | ||
+ | # where running QtiPlot from a terminal is inconvenient | ||
+ | # DEFINES | ||
+ | # DEFINES | ||
+ | |||
+ | # | ||
+ | |||
+ | # Uncomment the following line if you want to perform a custom installation using the *.path variables defined in ./ | ||
+ | # CONFIG | ||
+ | |||
+ | # Uncomment the following line if you want to build QtiPlot as a browser plugin (not working on Internet Explorer). | ||
+ | # | ||
+ | | ||
+ | CONFIG | ||
+ | # CONFIG | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | === Compilation === | ||
+ | Voilà, a priori, vous êtes parés pour la compilation de QtiPlot. Se mettre dans QTI_ROOT puis : | ||
+ | |||
+ | qmake qtiplot.pro | ||
+ | make | ||
+ | |||
+ | La compilation vous crée un fichier exécutable nommé **qtiplot** qui se trouve dans QTI_ROOT/ | ||
+ | sudo make install | ||
+ | Bon courage... | ||
+ | <note warning> | ||
+ | |||
+ | - Le plugin pour firefox | ||
+ | - La mise à jour des traductions | ||
+ | </ | ||
+ | === Problèmes connus === | ||
+ | * QtiPlot pose plein de soucis lorsque l'on n'a pas bien installé les parties tierces. Attention donc à être bien rigoureux. | ||
+ | * Un **make clean** provoque l' | ||
+ | | ||
+ | make[1]: entrant dans le répertoire « / | ||
+ | make[1]: *** Pas de règle pour fabriquer la cible « clean ». Arrêt. | ||
+ | make[1]: quittant le répertoire « / | ||
+ | make: *** [sub-manual-clean] Erreur 2 | ||
+ | |||
+ | Pour la contourner, [[: | ||
+ | * Au démarrage, QtiPlot vous propose d' | ||
+ | * Il se peut que vous ayez une erreur indiquant que le fichier // | ||
+ | ===== Utilisation ===== | ||
+ | Un excellent manuel se trouve [[http:// | ||
+ | |||
+ | ===== Désinstallation ===== | ||
+ | |||
+ | === Version installée via un paquet === | ||
+ | Pour supprimer cette application, | ||
+ | |||
+ | |||
+ | === Version installée depuis les sources === | ||
+ | |||
+ | Se placer dans le répertoire où vous avez décompressé QtiPlot (appelé QTI_ROOT plus haut) puis : | ||
+ | sudo make uninstall | ||
+ | |||
+ | |||
+ | ===== Voir aussi ===== | ||
+ | |||
+ | * **(en)** [[http:// | ||
+ | * **(en)** [[https:// | ||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | // |