jkriege2 / JKQtPlotter

an extensive Qt5 & Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
http://jkriege2.github.io/JKQtPlotter/index.html
GNU Lesser General Public License v2.1
889 stars 190 forks source link

Meson does not find JKQTPlotter6 #132

Open bilaljo opened 2 months ago

bilaljo commented 2 months ago

Hello,

I installed the library successfully (tested the binaries and via a CMake sample application). However, Meson has trouble to find it:

jkqt = dependency('JKQTPlotter6', required: true)

it simply says that CMake couldn't find it. Did anybody have a similar issue with using Meson?

Thanks a lot.

jkriege2 commented 2 months ago

I do not officially support Meson (as I usually work with CMake and don't know meson well enough) ...

That said: The build seems to have gone through ... is there anything I can do to help?

On idea: The CMake target to link against JKQTPlotter 6 is actually called "JKQTPlotter6::JKQTPlotter6", i.e. with a anmespace designator ... maybe using that helps? See also https://jkriege2.github.io/JKQtPlotter/page_buildinstructions__c_m_a_k_e.html

Best, JAN