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 .. 14 Next › Last »

luspi commented on 2023-03-27 17:23 (UTC)

@user050126 Thanks, added it to the dependencies.

user050126 commented on 2023-03-26 08:05 (UTC) (edited on 2023-03-26 13:07 (UTC) by user050126)

When installed on a fresh EndeavourOS Cassini Nova, throws an error which prevents it from starting:

QQmlApplicationEngine failed to load component
qrc:/startup/PQStartupFreshInstall.qml:25:1: plugin cannot be loaded for module "QtQuick.Controls": Cannot protect module QtQuick.Controls 2 as it was never registered

It seems that qt5-quickcontrols2 is missing from the dependencies. :)

luspi commented on 2022-12-26 16:19 (UTC) (edited on 2022-12-26 16:19 (UTC) by luspi)

This issue appeared before, and it's a little puzzling. The only thing I was able to find is that it might be due to some portability issue from an older imagemagick version. What is the output of pacman -Qs magick on your system?

As a temporary workaround, you can switch from ImageMagick to GraphicsMagick by doing the following to changes in your PKGBUILD:

  • line 11: change imagemagick to graphicsmagick
  • line 28: change -DIMAGEMAGICK=ON -DGRAPHICSMAGICK=OFF to -DIMAGEMAGICK=OFF -DGRAPHICSMAGICK=ON

Agafron commented on 2022-12-24 18:31 (UTC)

@brunomiguel https://aur.archlinux.org/packages/photoqt?O=0#comment-880907

brunomiguel commented on 2022-12-22 22:25 (UTC)

I'm getting the same error as @Agafron, even with the second update for the PKGBUILD

Agafron commented on 2022-12-22 17:39 (UTC) (edited on 2022-12-22 18:41 (UTC) by Agafron)

[ 89%] Linking CXX executable photoqt
/usr/sbin/ld: CMakeFiles/photoqt.dir/cplusplus/imageprovider/loader/loadimage_magick.cpp.o: in function PQLoadImageMagick::load(QString, QSize, QSize&, bool)':</code> <br> <code>loadimage_magick.cpp:(.text+0x1b47): undefined reference toMagick::Image::rows() const'
/usr/sbin/ld: loadimage_magick.cpp:(.text+0x1b55): undefined reference to Magick::Image::columns() const'</code> <br> <code>/usr/sbin/ld: loadimage_magick.cpp:(.text+0x1c08): undefined reference toMagick::Geometry::Geometry(unsigned long, unsigned long, long, long)'
/usr/sbin/ld: loadimage_magick.cpp:(.text+0x315f): undefined reference to Magick::Geometry::Geometry(unsigned long, unsigned long, long, long)'</code> <br> <code>/usr/sbin/ld: CMakeFiles/photoqt.dir/cplusplus/imageprovider/loader/loadimage_magick.cpp.o: in functionPQLoadImageMagick::loadSize(QString)':
loadimage_magick.cpp:(.text+0x37df): undefined reference to Magick::Geometry::height() const'</code> <br> <code>/usr/sbin/ld: loadimage_magick.cpp:(.text+0x37f5): undefined reference toMagick::Geometry::width() const'
collect2: error: ld returned 1 exit status
make[2]: [CMakeFiles/photoqt.dir/build.make:1581: photoqt] Error 1
make[1]:
[CMakeFiles/Makefile2:113: CMakeFiles/photoqt.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().

system7 commented on 2022-12-22 09:52 (UTC)

It works, thank you for your work! Happy holidays!

luspi commented on 2022-12-22 09:19 (UTC)

@system7 and @Billli11

I updated the package with a patch fixing the build with the latest libraw. The same fix has been applied upstream for the next release.

system7 commented on 2022-12-21 15:46 (UTC)

Thank u!

Billli11 commented on 2022-12-20 23:06 (UTC) (edited on 2022-12-20 23:08 (UTC) by Billli11)

@system7

Seem like libraw 0.21.0-2 cause this.

You have to remove raw image support or downgrade libraw to 0.20.2-3 (0.21.0-1 not tested) to fix this until either libraw or photoqt fixed.

Add -DRAW=OFF to line 26 cmake command to disable raw support.

Here the patch

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,7 +23,7 @@ prepare() {
   # To build PhotoQt with less features, add -Dxxxx=OFF to
   # the next line (where xxxx is the respective CMake option).
   # to use GraphicsMagick instead of ImageMagick add: -DIMAGEMAGICK=OFF -DGRAPHICSMAGICK=ON
-  cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFREEIMAGE=OFF -DDEVIL=OFF -DPOPPLER=OFF -DIMAGEMAGICK=ON -DGRAPHICSMAGICK=OFF -DLIBVIPS=OFF -DVIDEO_MPV=OFF
+  cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFREEIMAGE=OFF -DDEVIL=OFF -DPOPPLER=OFF -DIMAGEMAGICK=ON -DGRAPHICSMAGICK=OFF -DLIBVIPS=OFF -DVIDEO_MPV=OFF -DRAW=OFF

 }