Package Details: qtiplot-opj

Git Clone URL: (read-only)
Package Base: qtiplot-opj
Description: Data analysis and scientific plotting - free clone of Origin, with Origin import enabled
Upstream URL:
Keywords: analysis data Origin plotting
Licenses: GPL2
Conflicts: qtiplot
Provides: qtiplot
Submitter: None
Maintainer: saxonbeta
Last Packager: saxonbeta
Votes: 12
Popularity: 0.000093
First Submitted: 2011-12-21 23:15
Last Updated: 2016-05-16 14:06

Latest Comments

meph commented on 2017-07-17 17:23

I dont need python but I need the QTexengine that allows to export the graphs as *.tex and is implemented here. I also like to have the translation.

I was able to build the package myself. Thanks sirocco!

sirocco commented on 2017-07-17 13:56

"disable python scripting, it breaks with every new sip release"


meph commented on 2017-07-16 08:32

I am getting the same error as is has been reported for qtiplot-git too:

src/scripting/qti.sip: In function 'int setCellDataHelper(Table*, int, int, PyObject*)':
src/scripting/qti.sip:151:35: error: 'sipType_QDateTime' was not declared in this scope
if (sipCanConvertToType(item, sipType_QDateTime, 0)) {
src/scripting/qti.sip:151:35: note: suggested alternative: 'sipGetDateTime'
if (sipCanConvertToType(item, sipType_QDateTime, 0)) {
src/scripting/qti.sip:167:35: error: 'sipType_QTime' was not declared in this scope
if (sipCanConvertToType(item, sipType_QTime, 0)) {
src/scripting/qti.sip:167:35: note: suggested alternative: 'sipType_QSize'
if (sipCanConvertToType(item, sipType_QTime, 0)) {
src/scripting/qti.sip: At global scope:
src/scripting/qti.sip:233:12: warning: 'int cellDataHelper(Table*, int, int, PyObject**)' defined but not used [-Wunused-function]
static int cellDataHelper(Table* table, int row, int col, PyObject** item) {
src/scripting/qti.sip:119:12: warning: 'int setCellDataHelper(Table*, int, int, PyObject*)' defined but not used [-Wunused-function]
static int setCellDataHelper(Table* table, int row, int col, PyObject* item) {
make[1]: *** [Makefile:2432: ../tmp/qtiplot/sipqticmodule.o] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-hans/aur-qtiplot-opj/src/qtiplot-'
make: *** [Makefile:224: sub-qtiplot-qtiplot-pro-make_default-ordered] Error 2
==> ERROR: A failure occurred in build().
==> ERROR: Makepkg was unable to build qtiplot-opj.

vence commented on 2016-05-14 11:03

Doesn't build again...

g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_REENTRANT -Wall -W -DSCRIPTING_CONSOLE -DQTIPLOT_PRO -DSVN_REVISION="\"\"" -DQT_PLUGIN -DTRANSLATIONS_PATH=\"/usr/share/qtiplot/translations\" -DMANUAL_PATH=\"/usr/share/doc/qtiplot/manual\" -DSCRIPTING_MUPARSER -DSCRIPTING_PYTHON -DPYTHON_CONFIG_PATH=\"/usr/share/qtiplot\" -DGL2PS_HAVE_LIBPNG -DTEX_OUTPUT -DHAVE_TAMUANOVA -DNO_LOG_FILE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include/qt4/QtAssistantClient -I/usr/include/qt4/QtAssistant -I../3rdparty/qwt/src -I../3rdparty/qwtplot3d/include -I/usr/include/gsl -I/usr/include/QtAssistant/ -I/usr/include/python2.7 -Iicons -Isrc/analysis -Isrc/analysis/dialogs -Isrc/core -Isrc/excel -Isrc/lib/include -Isrc/lib/3rdparty/qtcolorpicker/src -Isrc/plot2D -Isrc/plot2D/dialogs -Isrc/plot3D -Isrc/matrix -Isrc/table -Isrc/scripting -I/usr/include/python2.7 -I../3rdparty/QTeXEngine/src -I/usr/include/tamu_anova -I/usr/include -Isrc/plugins/OriginPlugin -Isrc/plugins/OriginPlugin/liborigin1 -Isrc/plugins/OriginPlugin/liborigin2 -Isrc/plugins/OriginPlugin/ -I../3rdparty/boost -I/usr/X11R6/include -I/tmp/yaourt-tmp-vence/aur-qtiplot-opj/src/qtiplot- -o ../tmp/qtiplot/FitDialog.o src/analysis/dialogs/FitDialog.cpp


src/analysis/dialogs/FitDialog.cpp:1025:41: error: no matching function for call to ‘QTableWidgetItem::setFlags(bool)’

src/analysis/dialogs/FitDialog.cpp:1052:35: error: no matching function for call to ‘QTableWidgetItem::setFlags(bool)’

src/analysis/dialogs/FitDialog.cpp:1067:45: error: no matching function for call to ‘QTableWidgetItem::setFlags(bool)’

Salamandar commented on 2016-03-23 13:22

Well I basically updated QtiPlot with all the patches you have here, plus one for GSL2 compatibility.

Here is the updated PKGBUILD (i renamed it as qtiplot-git though) :

Salamandar commented on 2016-03-23 09:50

It doesn't build…

g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_REENTRANT -Wall -W -DSCRIPTING_CONSOLE -DQTIPLOT_PRO -DSVN_REVISION="\"\"" -DQT_PLUGIN -DTRANSLATIONS_PATH=\"/usr/share/qtiplot/translations\" -DMANUAL_PATH=\"/usr/share/doc/qtiplot/manual\" -DSCRIPTING_MUPARSER -DSCRIPTING_PYTHON -DPYTHON_CONFIG_PATH=\"/usr/share/qtiplot\" -DGL2PS_HAVE_LIBPNG -DTEX_OUTPUT -DHAVE_TAMUANOVA -DNO_LOG_FILE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include/qt4/QtAssistantClient -I/usr/include/qt4/QtAssistant -I../3rdparty/qwt/src -I../3rdparty/qwtplot3d/include -I/usr/include/gsl -I/usr/include/QtAssistant/ -I/usr/include/python2.7 -Iicons -Isrc/analysis -Isrc/analysis/dialogs -Isrc/core -Isrc/excel -Isrc/lib/include -Isrc/lib/3rdparty/qtcolorpicker/src -Isrc/plot2D -Isrc/plot2D/dialogs -Isrc/plot3D -Isrc/matrix -Isrc/table -Isrc/scripting -I/usr/include/python2.7 -I../3rdparty/QTeXEngine/src -I/usr/include/tamu_anova -I/usr/include -Isrc/plugins/OriginPlugin -Isrc/plugins/OriginPlugin/liborigin1 -Isrc/plugins/OriginPlugin/liborigin2 -Isrc/plugins/OriginPlugin/ -I../3rdparty/boost -I/usr/X11R6/include -I/home/salamandar/tmp/yaourt-tmp-salamandar/aur-qtiplot-opj/src/qtiplot- -o ../tmp/qtiplot/Fit.o src/analysis/Fit.cpp
src/analysis/Fit.cpp: Dans la fonction membre ‘gsl_multifit_fdfsolver* Fit::fitGSL(gsl_multifit_function_fdf, int&, int&)’:
src/analysis/Fit.cpp:131:29: erreur : ‘struct gsl_multifit_fdfsolver’ has no member named ‘J’
gsl_multifit_covar (s->J, 0.0, covar);
src/analysis/Fit.cpp:158:25: erreur : ‘struct gsl_multifit_fdfsolver’ has no member named ‘J’
gsl_multifit_covar (s->J, 0.0, covar);
Makefile:1742 : la recette pour la cible « ../tmp/qtiplot/Fit.o » a échouée

sirocco commented on 2016-03-09 17:10

patch for gsl 2.1 in ABS

chron commented on 2015-04-21 12:39

Maybe you could change the last line of the patch to.
+print " ".join([sipcfg.sip_bin, "-I", sipcfg.default_sip_dir + "/PyQt4", QtCore.PYQT_CONFIGURATION['sip_flags']])

You can also remove mesa from the dependencies, its not needed.

chron commented on 2015-04-20 21:00

Doesn't build right now.

The pyqt4 patch uses sipcfg.default_sip_dir which is /usr/share/sip on my system while it should be /usr/share/sip/PyQt4.

As a workaround I changed the last line in the patch to
+print " ".join([sipcfg.sip_bin, "-I /usr/share/sip/PyQt4", QtCore.PYQT_CONFIGURATION['sip_flags']])
but thats certain to break again soon enough.

saxonbeta commented on 2014-08-26 20:48

After searching a little bit, I have found that PyQt 4.10 (current version in arch repos is 4.11) and above does not include a pyqtconfig module. So it seems this package will not compile in the near future, unless someone writes a patch.
Flagging as out-of-date.

roginovicci commented on 2014-08-11 09:16

sipAPIqti.h is generated during compilation process by script in qtiplot sub directory. This is python2 script.
Trying to run python2 fails with
Traceback (most recent call last):
File "", line 30, in <module>
from PyQt4 import pyqtconfig
ImportError: cannot import name pyqtconfig

Try modify the script to:
import pyqtconfig
config = pyqtconfig.Configuration()
print " " . join([config.sip_bin, "-I", config.pyqt_sip_dir, config.pyqt_sip_flags])

if confirmed to work new simple patch should be added

AsA commented on 2014-07-15 18:37

build fails here at the very same moment, any solution?

sowieso commented on 2014-06-24 07:51

Build fails for me:
src/scripting/PythonScripting.cpp:61:23: fatal error: sipAPIqti.h: No such file or directory
#include "sipAPIqti.h"

I couldn't find this file anywhere.

vicp74 commented on 2014-06-05 16:30

sirocco, you're right. I tested it and it appears to be a race condition so I put that option.

sirocco commented on 2014-06-05 06:21


vicp74 commented on 2014-06-05 04:03

I reverted this package to the previous release. I don't know if it is a problem for the ones that has upgraded today. If so, please let me know.

I have the MAKEFLAGS="-j2" commented in /etc/makepkg.conf. Maybe you're right, is there a way to set (or unset) this flag in the PKGBUILD?

sirocco commented on 2014-06-05 03:50

And this first-run error occurs when MAKEFLAGS="-j2" uncommented in /etc/makepkg.conf

sirocco commented on 2014-06-05 03:02

I checked more. texlive-core is't necessary, my fault.
I see another problem now. For successfully build on clean conditions makepkg must be run twice in the same dir, with error on first run.

vicp74 commented on 2014-06-04 16:15

I can't confirm texlive-core is needed because I don't see any error while building. I added it to optdepends, hope it helps.

sirocco commented on 2014-06-04 11:39

texlive-core should be in optdepends (without texlive I've got the error like john_schaf. Probably it is necessary for non-en_US.utf8 locales.)

vicp74 commented on 2014-05-18 14:51

saxonbeta: I've updated the sources, thanks for the comment!

john_schaf: Can you try to build again using this new PKGBUILD?

saxonbeta commented on 2014-05-18 14:37

Hi, the sources are no longer available at, but still available at sourceforge, here are the links


john_schaf commented on 2014-05-04 18:38

build fails:

g++: erreur: ../libQTeXEngine.a: Aucun fichier ou dossier de ce type
Makefile:106: recipe for target 'example' failed

saxonbeta commented on 2014-04-24 14:14

It works great, thank you for the update!

vicp74 commented on 2014-04-24 13:21

I've added the line for the translations, thank you. Please try to build this new version.

saxonbeta commented on 2014-04-24 12:15

I was trying to get the translations for qtiplot and the the qtiplot-translations package in aur don't work any more.
But the translations are already included in the source, the only thing to do is make the qm files with the command lrelease.
I just add this line before the make-qt4 command:

lrelease-qt4 qtiplot/translations/*

and the translations are properly installed!!!!


vicp74 commented on 2013-09-17 01:56

I'm the new maintainer of this package. I've added the col_values patch, unzip as make-dep and replaced qmake with qmake-qt4.

Also, I've added some other patches because the package didn't build without them. Please test them and comment about improvements!

sirocco commented on 2013-07-26 15:17

Please add qtiplot- (see bug (and may be other last patches) from gentoo ebuild

qmake should be replaced by qmake-qt4

ka_kovalenko commented on 2012-10-06 06:48

Please add unzip as dependency - don't build without it (./PKGBUILD: line 49: unzip: command not found)

Anonymous comment on 2012-02-15 20:36

added python2-pyqt as dependency, thanks to WhiteShadow.

Anonymous comment on 2012-02-15 12:32

please add python2-pyqt as dependency - won't build without it.

Anonymous comment on 2012-02-12 15:48

new version with the libpng15.patch, and some small Qt4.8 patch from extra/qtiplot, although it was also compiling without it. Other patches from extra/qtiplot are either already included or changed in qtiplot (extra version is
This version still has some problems when importing opj: some older version can't be imported (programs just stops responding), and at elast one big file (origin 7.5) crashes at the end of importing. If anyone has any suggestions/patches, please let me know.

Anonymous comment on 2012-02-12 14:36

Thanks for the comments. I'll include the qwtplot3d-libpng15.patch for sure, and I'm testing if other patches fro extra/qtiplot are needed/necessary. Maybe qt4.8 patch will be better solution than adding '-lGLU'.
New version should be ready in a few hours.

sirocco commented on 2012-02-12 05:04

May be better to use patch qwtplot3d-libpng15.patch from extra/qtiplot
And other patches?

Anonymous comment on 2012-02-11 18:02

it stoppt compiling with error

error: ‘Z_DEFAULT_COMPRESSION’ undeclared

in file gl2ps.c

I changed the following in this file
// #if defined(GL2PS_HAVE_ZLIB)
#include <zlib.h>
// #endif

then it finished and works. I hope this helps.

Anonymous comment on 2011-12-22 11:48

it compiles now, with both sirocco's patch and '-lGLU' added.

Anonymous comment on 2011-12-22 11:31

With the patch from sirocco some errors are gone, but compile still fails, now with this error:

I'm trying now with adding
it looks like it might help

sirocco commented on 2011-12-22 09:59

To my regret, it did not help.

sirocco commented on 2011-12-22 09:22

patch for "gluErrorString not defined"

Anonymous comment on 2011-12-22 01:00

Some of latest updates (qt4.8 maybe?) broke the compilation of qwtplot3d (gluErrorString not defined).
Anybody knows how to fix this?