The patch is not needed anymore.
Hi,
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.
Hi,
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
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?
I could compile the project by commenting out the patch, and changing qmake-qt4 to qmake in PKGBUILD.
I think ktikz now supports Qt5.
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...
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.
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
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
The patch is not needed anymore.