Package Details: qcustomplot-qt6 2.1.1-6

Git Clone URL: https://aur.archlinux.org/qcustomplot-qt6.git (read-only, click to copy)
Package Base: qcustomplot-qt6
Description: Qt C++ widget for plotting and data visualization (built with Qt6)
Upstream URL: https://www.qcustomplot.com/
Licenses: GPL-3.0-only
Submitter: salsergey
Maintainer: salsergey
Last Packager: salsergey
Votes: 4
Popularity: 0.44
First Submitted: 2024-02-20 08:10 (UTC)
Last Updated: 2026-01-22 06:17 (UTC)

Latest Comments

1 2 Next › Last »

salsergey commented on 2026-01-22 06:20 (UTC)

Thank you for the report! Should be fine now.

cyqsimon commented on 2026-01-22 06:09 (UTC)

2.1.1-5 seems to be installing its files to the wrong prefix:

❯ pacman -Qlp qcustomplot-qt6-2.1.1-5-x86_64.pkg.tar.zst
qcustomplot-qt6 /lib/
qcustomplot-qt6 /lib/cmake/
qcustomplot-qt6 /lib/cmake/QCustomPlotQt6/
qcustomplot-qt6 /lib/cmake/QCustomPlotQt6/QCustomPlotQt6Config.cmake
qcustomplot-qt6 /lib/cmake/QCustomPlotQt6/QCustomPlotQt6ConfigVersion.cmake
qcustomplot-qt6 /lib/cmake/QCustomPlotQt6/QCustomPlotQt6Targets-noconfig.cmake
qcustomplot-qt6 /lib/cmake/QCustomPlotQt6/QCustomPlotQt6Targets.cmake
qcustomplot-qt6 /lib/libqcustomplot-qt6.so
qcustomplot-qt6 /lib/libqcustomplot-qt6.so.2
qcustomplot-qt6 /lib/libqcustomplot-qt6.so.2.1.1
qcustomplot-qt6 /share/
qcustomplot-qt6 /share/doc/
qcustomplot-qt6 /share/doc/qcustomplot-qt6/
qcustomplot-qt6 /share/doc/qcustomplot-qt6/changelog.txt

Note the missing /usr.

VorpalWay commented on 2025-12-30 14:55 (UTC)

Thanks for the extremely quick fix, in the middle of the holidays no less!

salsergey commented on 2025-12-30 14:37 (UTC)

Thanks for the report. I've added CMake as build dependency.

VorpalWay commented on 2025-12-30 13:40 (UTC)

There is a missing makedepends on cmake in this package. If you build in a chroot it fails to build due to that.

salsergey commented on 2025-12-27 06:36 (UTC)

Added config files for cmake. find_package(QCustomPlotQt6) seems to work fine. The link target is called QCustomPlotQt6::qcustomplot-qt6.

salsergey commented on 2025-12-15 15:04 (UTC)

Yes, I asked AI as well. Also I have previously created some simple config files. Have to see what is the best way to do it.

jronald commented on 2025-12-15 14:26 (UTC) (edited on 2025-12-15 14:29 (UTC) by jronald)

It's easy to test, copy FindXXX.cmake there and call find_package.

AI answer:

1. CMake Module Path
Used for FindXXX.cmake scripts:

/usr/share/cmake/Modules/
/usr/local/share/cmake/Modules/
<CMAKE_INSTALL_PREFIX>/share/cmake/Modules/
(where <CMAKE_INSTALL_PREFIX> is often /usr/local)
These are searched when you use find_package(Foo) in MODULE mode (i.e., no config file found).

2. Package Configuration File Paths
Used for XXXConfig.cmake or xxx-config.cmake files (CONFIG mode):
CMake checks the following locations (among others):

<prefix>/lib/cmake/<PackageName>/
<prefix>/lib64/cmake/<PackageName>/
<prefix>/share/cmake/<PackageName>/
<prefix>/cmake/<PackageName>/
Where <prefix> includes:

/usr/
/usr/local/
/opt/<package>/
Paths listed in the CMAKE_PREFIX_PATH environment or CMake variable
Paths from PATH environment variable (heuristically)
User-specific locations like ~/.local/
Example: A library MyLib installed to /usr/local might place its config file at:

/usr/local/lib/cmake/MyLib/MyLibConfig.cmake

...

BTW, if use a cmake file to build the lib, the config file for finding the lib will be generated automatically and installed in a standard path. (just ask AI :))

salsergey commented on 2025-12-15 14:14 (UTC)

This FindQCustomPlotQt6.cmake file works, but I'm not sure where to install it. As far as I understand, CMake looks for such files in /usr/share/cmake/Modules. However, this directory seems to be used by cmake package only. For FindQCustomPlotQt6.cmake to be found in another directory one have to set CMAKE_MODULE_PATH variable.

Other possibility could be to create QCustomPlotQt6Config.cmake file (and maybe Target file) and put it into /usr/lib/cmake/QCustomPlotQt6. There cmake will find them automatically.

jronald commented on 2025-12-14 07:22 (UTC) (edited on 2025-12-14 07:29 (UTC) by jronald)

What about adding a "FindQCustomPlotQt6.cmake" file:

find_library(QCustomPlotQt6_LIBRARY NAMES qcustomplot-qt6)
set(QCustomPlotQt6_LIBRARIES "${QCustomPlotQt6_LIBRARY}")

find_path(QCustomPlotQt6_INCLUDE_DIR qcustomplot.h)
set(QCustomPlotQt6_INCLUDE_DIRS "${QCustomPlotQt6_INCLUDE_DIR}")

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(QCustomPlotQt6 DEFAULT_MSG QCustomPlotQt6_LIBRARIES QCustomPlotQt6_INCLUDE_DIRS)
mark_as_advanced(QCustomPlotQt6_INCLUDE_DIRS QCustomPlotQt6_LIBRARIES)

if (QCustomPlotQt6_FOUND AND NOT TARGET QCustomPlotQt6::QCustomPlotQt6)
  add_library(QCustomPlotQt6::QCustomPlotQt6 UNKNOWN IMPORTED)
  set_target_properties(QCustomPlotQt6::QCustomPlotQt6 PROPERTIES
                        INTERFACE_INCLUDE_DIRECTORIES ${QCustomPlotQt6_INCLUDE_DIRS}
                        IMPORTED_LOCATION ${QCustomPlotQt6_LIBRARIES})
endif()

install path: <install-prefix>/share/qcustomplot-qt6/cmake/FindQCustomPlotQt6.cmake

PS: "FindQCustomPlotQt6.cmake" has been tested, it works. Install path has not been tested.