Package Details: photoqt 4.8.1-1

Git Clone URL: https://aur.archlinux.org/photoqt.git (read-only, click to copy)
Package Base: photoqt
Description: Fast and highly configurable image viewer with a simple and nice interface.
Upstream URL: http://photoqt.org/
Licenses: GPL2
Conflicts: photoqt-bin, photoqt-bin-debug
Provides: photoqt-debug
Submitter: archtux
Maintainer: luspi
Last Packager: luspi
Votes: 106
Popularity: 0.021161
First Submitted: 2013-08-11 21:50 (UTC)
Last Updated: 2025-02-13 13:48 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 14 Next › Last »

luspi commented on 2021-02-02 04:56 (UTC)

Hm, it shouldn't make much difference wheter it's being built with GraphicsMagick and ImageMagick, but somehow it doesn't want to cooperate on your system. Unfortunately I can't seem to reproduce that, the current PKGBUILD works just fine on my machine.

Did you try removing the old build directory (for yay that should be ~/.cache/yay/photoqt/)?

lebaux commented on 2021-02-01 21:02 (UTC) (edited on 2021-02-01 21:05 (UTC) by lebaux)

Confirmed, switching over to GraphicsMagick works. Maybe this should be default build?

In the meantime, if you are using yay and want to edit PKGBUILD quickly, use:

yay --editmenu -S photoqt
a
n
a

And follow the instructions on line 13 and 25.

ctouze commented on 2021-02-01 00:46 (UTC)

works with changing from building with ImageMagick to GraphicsMagick

luspi commented on 2021-01-31 16:36 (UTC) (edited on 2021-01-31 16:37 (UTC) by luspi)

Hm, it's compiling just fine here.

Some things that come to mind:

  • Make sure to clean the build directory from any possible previous build. There has been a change of defaults from GraphicsMagick to ImageMagick.

  • Make sure your system is up to date.

  • If it still doesn't build, try changing from building with ImageMagick to GraphicsMagick (lines 13 and 25 in the PKGBUILD tell you how).

Let me know if the error persists.

ctouze commented on 2021-01-31 10:56 (UTC)

+1 same issue

lebaux commented on 2021-01-31 07:17 (UTC) (edited on 2021-01-31 07:17 (UTC) by lebaux)

BUILD fails

[ 82%] Building CXX object CMakeFiles/photoqt.dir/photoqt_autogen/T24IUX3VL4/qrc_img.cpp.o
[ 84%] Building CXX object CMakeFiles/photoqt.dir/photoqt_autogen/ZWKA2O7I7G/qrc_misc.cpp.o
[ 86%] Linking CXX executable photoqt
/usr/bin/ld: CMakeFiles/photoqt.dir/cplusplus/scripts/handlingmanipulation.cpp.o: in function `PQLoadImageMagick::load(QString, QSize, QSize*, bool)':
handlingmanipulation.cpp:(.text._ZN17PQLoadImageMagick4loadE7QString5QSizePS1_b[_ZN17PQLoadImageMagick4loadE7QString5QSizePS1_b]+0x73c): undefined reference to `Magick::Image::rows() const'
/usr/bin/ld: handlingmanipulation.cpp:(.text._ZN17PQLoadImageMagick4loadE7QString5QSizePS1_b[_ZN17PQLoadImageMagick4loadE7QString5QSizePS1_b]+0x74a): undefined reference to `Magick::Image::columns() const'
/usr/bin/ld: handlingmanipulation.cpp:(.text._ZN17PQLoadImageMagick4loadE7QString5QSizePS1_b[_ZN17PQLoadImageMagick4loadE7QString5QSizePS1_b]+0x7f8): undefined reference to `Magick::Geometry::Geometry(unsigned long, unsigned long, long, long)'
/usr/bin/ld: handlingmanipulation.cpp:(.text._ZN17PQLoadImageMagick4loadE7QString5QSizePS1_b[_ZN17PQLoadImageMagick4loadE7QString5QSizePS1_b]+0x105f): undefined reference to `Magick::Geometry::Geometry(unsigned long, unsigned long, long, long)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/photoqt.dir/build.make:793: photoqt] Error 1
make[1]: *** [CMakeFiles/Makefile2:126: CMakeFiles/photoqt.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: photoqt

pallegro commented on 2020-04-14 14:38 (UTC)

FYI, I don't use photoqt for PDFs anyway so I've disabled poppler with this cmake option: -DPOPPLER=OFF

DianaNites commented on 2020-01-11 15:14 (UTC)

poppler, again. :(

DianaNites commented on 2019-11-18 07:37 (UTC)

Poppler updated again, so this requires a bump so it'll rebuild again.

luspi commented on 2019-05-22 17:37 (UTC)

@pallegro Thanks for the updated PKGBUILD!

@Tomek80Bytom I just updated the PKGBUILD, it should build again now. PhotoQt links against various libraries and if one of them updates then the library files sometimes change names (e.g., the new version number gets added). Unfortunately there is nothing I can do, PhotoQt (like other apps) needs to be rebuilt (actually, re-linked would be enough) to find these libraries again...