Package Details: ktikz-git r344.6157e86-1

Git Clone URL: (read-only, click to copy)
Package Base: qtikz-git
Description: Small application helping you to create TikZ diagrams – Qt version
Upstream URL:
Licenses: GPL
Conflicts: ktikz
Provides: ktikz
Submitter: haawda
Maintainer: haawda
Last Packager: haawda
Votes: 12
Popularity: 0.000000
First Submitted: 2016-01-31 22:15 (UTC)
Last Updated: 2020-12-19 10:42 (UTC)

Latest Comments

PhotonX commented on 2018-05-31 09:14 (UTC)

That's even better, thanks!

haawda commented on 2018-05-28 16:04 (UTC)

Added qt5-tools as makedpendency.

PhotonX commented on 2018-05-28 13:05 (UTC) (edited on 2018-05-28 13:21 (UTC) by PhotonX)

Fails to build with:

make: lrelease: command not found

make: *** [Makefile:907: locale/qtikz_cs.qm] error 127

edit: Seems like the problem described by p90. I wanted to install lrelease-qt4 but it seems to be not available any more...

edit2: Could solve the problem by installing qt4 and linking

ln -s /usr/bin/lrelease-qt4 /usr/bin/lrelease

ln -s /usr/bin/qcollectiongenerator-qt4 /usr/bin/qcollectiongenerator

edit3: A clean fix:

  1. Include qt4 as makedepend.

  2. edit src/qtikz/qmake/qtikzdefaults.pri such that the correct commands are in the first three lines:




haawda commented on 2018-04-16 11:52 (UTC)

The patch is not needed anymore.

VincentPenelle commented on 2018-04-16 08:33 (UTC)


I've tried to clone and compile the project, and I get the following error:

==> Lancement de prepare()... patching file qtikzconfig.pri Hunk #1 FAILED at 46. 1 out of 1 hunk FAILED -- saving rejects to file qtikzconfig.pri.rej ==> ERREUR : Une erreur s’est produite dans prepare().

I don't understand what is happening. The content of the file qtikzconfig.pri.rej is the same as the config.diff found at the root.

p90 commented on 2018-04-05 11:09 (UTC)


this seems to have a dependency on lrelease-qt4. At least building the package fails if the command is not avaiable. I have a qt5 only system so lrelease-qt4 is obviously missing. It can be removed after the package was installed and the program will run fine with qt5

haawda commented on 2018-03-09 16:33 (UTC)

This is not ktikz, and meant to be so. If you need ktikz, and have a working PKGBUILD, why not upload it to the AUR?

leuko commented on 2018-03-09 14:46 (UTC)

I could compile the project by commenting out the patch, and changing qmake-qt4 to qmake in PKGBUILD.

I think ktikz now supports Qt5.

mluque commented on 2018-03-04 12:34 (UTC) (edited on 2018-03-04 12:35 (UTC) by mluque)

The PKGBUILD does not work for me. I obtain next errors:

common/utils/filedialog.cpp: In static member function ‘static Url FileDialog::getOpenUrl(QWidget*, const QString&, const Url&, const QString&)’:

common/utils/filedialog.cpp:109:41: error: ‘getOpenFileUrl’ is not a member of ‘QFileDialog’ const QUrl openFileName = QFileDialog::getOpenFileUrl(parent, caption, dir, getParsedFilter(filter));

common/utils/filedialog.cpp: In static member function ‘static Url FileDialog::getSaveUrl(QWidget*, const QString&, const Url&, const QString&)’:

common/utils/filedialog.cpp:152:43: error: ‘getSaveFileUrl’ is not a member of ‘QFileDialog’ const QUrl saveAsFileName = QFileDialog::getSaveFileUrl(parent, caption, dir, getParsedFilter(filter));

make: *** [Makefile:694: obj/filedialog.o] Error 1

==> ERROR: A failure occurred in build(). Aborting...

haawda commented on 2017-05-27 09:10 (UTC) (edited on 2017-05-27 09:11 (UTC) by haawda)

Thanks for the head-up. I now regenerated the patchfile to properly use the qt4 toolchain. Weiredly lrelease from qt5 will do the trick also, but this is the right way to do it.

leuko commented on 2017-05-26 14:25 (UTC)

During build I get the following error: make: lrelease: Command not found A quick fix is adding lrelease to the PATH and start building again: export PATH=$PATH:/usr/lib/qt4/bin # Now start building the package again

haawda commented on 2016-04-10 08:51 (UTC)

Thanks, fixed

michi7x7 commented on 2016-04-09 10:41 (UTC) (edited on 2016-04-09 11:08 (UTC) by michi7x7)

The makefile.diff needs updating, adding the "-F3" option to patch (PKGBUILD line 34) for fuzzy matching works too. Also the package installs everything to /usr/usr/..., changing the last line to make INSTALL_ROOT="$pkgdir" install fixes that

angyath commented on 2016-01-25 14:44 (UTC) (edited on 2016-01-25 15:02 (UTC) by angyath)

That PKGBUILD works for me, but needs a qt5-tools makedepend. Also, pkgbase needs to be pkgname.

haawda commented on 2015-10-15 02:30 (UTC)

Thanks for the hint. Does the following PKGBUILD work for you? For me it does not, and I do not see why. LANG=C # Maintainer: Stefan Husmann <> pkgbase=qtikz-git pkgver=r196.ab7bd73 pkgrel=1 pkgdesc="Small application helping you to create TikZ diagrams" arch=('i686' 'x86_64') url="" license=('GPL') depends=('poppler-qt5' 'shared-mime-info' 'desktop-file-utils') makedepends=('git' 'texlive-core') provides=('qtikz') conflicts=('qtikz') install=qtikz.install source=("git+") md5sums=('SKIP') _gitname=ktikz pkgver() { cd "$_gitname" printf "r%s.%s" $(git rev-list --count HEAD) $(git rev-parse --short HEAD) } build() { cd "$_gitname" [ -d buildqt ] || mkdir buildqt cd buildqt qmake ../ make } package() { cd "$_gitname"/buildqt make INSTALL_ROOT="$pkgdir/$pkgname" install }

scampi commented on 2015-10-13 21:39 (UTC)

I failed to install this package, because it is unable to connect to the repo "". The source seems to be at now.

haawda commented on 2013-04-08 21:58 (UTC)

Thanks, applied.

guotsuan commented on 2013-04-08 21:34 (UTC)

make[1]: Entering directory `/tmp/yaourt-tmp-dccf87/aur-qtikz-svn/src/qtikz/buildqt/app' lrelease-qt4 -silent ../../translations/cs/qtikz_cs.ts -qm locale/qtikz_cs.qm lrelease-qt4 -silent ../../translations/de/qtikz_de.ts -qm locale/qtikz_de.qm lrelease-qt4 -silent ../../translations/es/qtikz_es.ts -qm locale/qtikz_es.qm lrelease-qt4 -silent ../../translations/fr/qtikz_fr.ts -qm locale/qtikz_fr.qm qcollectiongenerator ../../doc/qtikz.qhcp -o ../../doc/qtikz.qhc make[1]: qcollectiongenerator: Command not found make[1]: *** [../../doc/qtikz.qhc] Error 127 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/tmp/yaourt-tmp-dccf87/aur-qtikz-svn/src/qtikz/buildqt/app' make: *** [sub-app-make_default] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build qtikz-svn. ==> Restart building qtikz-svn ? [y/N] =============================================================== Hi, I think, for qt4 compatibility, You may also need to changeQCOLLECTIONGENERATORCOMMAND = qcollectiongenerator-qt4 The qt4.patch will looks: ---------------------------------------------------------------------- --- orig/qtikzconfig.pri 2013-04-08 22:23:08.780509972 +0100 +++ new/qtikzconfig.pri 2013-04-08 22:24:54.250467478 +0100 @@ -40,11 +40,11 @@ CONFIG += release # qmake command: -#QMAKECOMMAND = qmake-qt4 +QMAKECOMMAND = qmake-qt4 # lrelease command: -#LRELEASECOMMAND = lrelease-qt4 +LRELEASECOMMAND = lrelease-qt4 # qcollectiongenerator command: -#QCOLLECTIONGENERATORCOMMAND = qcollectiongenerator +QCOLLECTIONGENERATORCOMMAND = qcollectiongenerator-qt4 # TikZ documentation default file path: TIKZ_DOCUMENTATION_DEFAULT = "/usr/share/doc/texmf/pgf/pgfmanual.pdf.gz" ------------------------------------------------------------------------- and in PKGBUILD I need to change cd $_svnmod-build to $_svnmod for successful building.

haawda commented on 2013-03-08 19:44 (UTC)

Added a qt4 compatibility patch.

haawda commented on 2011-03-08 19:34 (UTC)

The icon is there again. Thanks again, Glad.

haawda commented on 2011-03-05 16:26 (UTC)

There is an icon missing. This PKGBUILD reflects this dirtily.

haawda commented on 2010-11-04 20:08 (UTC)

conf.pri vanished, new PKGBUILD reflects this.

haawda commented on 2010-07-08 20:07 (UTC)

removed a touch line in PKGBUILD, see comments fotr ktikz-svn.

haawda commented on 2010-06-21 16:58 (UTC)

This is the non-kde-version, that means qt-only-version of ktikz. ktikz-svn now gives the kde version, and ktikz-kde-svn has been removed.