# Build issues relating to JKQTPlotter

**URL:** <https://discuss.avogadro.cc/t/build-issues-relating-to-jkqtplotter/7286>\
**Category:** Development\
**Created:** [January 27, 2026, 1:15pm UTC](https://discuss.avogadro.cc/t/build-issues-relating-to-jkqtplotter/7286 "2026-01-27T13:15:41Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![matterhorn103](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/matterhorn103/32/1751_2.png) [@matterhorn103](https://discuss.avogadro.cc/u/matterhorn103)\
**Post date:** [January 27, 2026, 1:15pm UTC](https://discuss.avogadro.cc/t/build-issues-relating-to-jkqtplotter/7286/1 "2026-01-27T13:15:41Z")

</div>

Sorry to trouble you with a request for help like this, but I don’t really have the time to figure it out myself and I suspect the solution might be immediately obvious to you…

I can’t build Avogadro from source right now. The observations:

- All the initial steps building the dependencies work fine, up to and including `openbabel`
- The failure occurs in the configure step for `avogadrolibs` with the following output:

```auto
[78%] Performing configure step for 'avogadrolibs'
loading initial cache file /home/matt/avo/build/avogadrolibs-prefix/tmp/avogadrolibs-cache-Debug.cmake
-- Determined Source Version : 1.102.1-418-g8fc655e8
-- Component omp of Spglib: NOT FOUND
-- Component fortran of Spglib: NOT FOUND
-- Found package: Spglib
CMake Error at avogadro/qtgui/CMakeLists.txt:32 (find_package):
  By not providing "FindJKQTPlotter6.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "JKQTPlotter6", but CMake did not find one.

  Could not find a package configuration file provided by "JKQTPlotter6" with
  any of the following names:

    JKQTPlotter6Config.cmake
    jkqtplotter6-config.cmake

  Add the installation prefix of "JKQTPlotter6" to CMAKE_PREFIX_PATH or set
  "JKQTPlotter6_DIR" to a directory containing one of the above files. If
  "JKQTPlotter6" provides a separate development package or SDK, be sure it
  has been installed.

-- Configuring incomplete, errors occurred!
gmake[2]: *** [CMakeFiles/avogadrolibs.dir/build.make:107: avogadrolibs-prefix/src/avogadrolibs-stamp/avogadrolibs-configure] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:135: CMakeFiles/avogadrolibs.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2

```

- `avogadrolibs` is pretty up-to-date (`8fc655e8`, from the 25th Jan)
- Likewise, I also pulled `avogadroapp` from upstream on the 25th, it’s at `ec3c8feb`
- `openchemistry` and therefore `openchemistry/cmake` is completely up-to-date with upstream
- `openchemistry/cmake` contains `External_JKQTPlotter.cmake`
- `openchemistry/thirdparty` contains `jkqtplotter`, which is populated with files
- `jkqtplotter` is currently at `5fd8951e` (24th June 2025) – this is the commit that the submodule points at in the current HEAD of the `openchemistry` superrepo. Is this fine? There’s no specific commit listed in `openchemistry/cmake/projects.cmake` that I can see

---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [January 27, 2026, 2:58pm UTC](https://discuss.avogadro.cc/t/build-issues-relating-to-jkqtplotter/7286/4 "2026-01-27T14:58:16Z")

</div>



---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [January 27, 2026, 3:02pm UTC](https://discuss.avogadro.cc/t/build-issues-relating-to-jkqtplotter/7286/5 "2026-01-27T15:02:27Z")

</div>

There wasn’t a specific release / tag for JKQTPlotter because I couldn’t get the 4.0 releases working and there wasn’t yet a tag for 5.0.

I see that thanks to our various package maintainers, there’s now [`d243218`](https://github.com/jkriege2/JKQtPlotter/commit/d243218119b1632987df26baea0d4bc6ccdee533) as [v5.0.0-beta1](https://github.com/jkriege2/JKQtPlotter/releases/tag/v5.0.0-beta1)

I’m not entirely sure of the cause .. I’ve run into this a few times and generally cleaning out the build directory and rebuilding has gotten everything to work.

It’s possibly somewhat related to [this](https://github.com/OpenChemistry/avogadrolibs/issues/2397) which I was just examining. Let me see if there’s an obvious issue, or if updating to v5.0.0-beta1 solves it?

---

<div class="post-metadata">

**Author:** ![matterhorn103](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/matterhorn103/32/1751_2.png) [@matterhorn103](https://discuss.avogadro.cc/u/matterhorn103)\
**Post date:** [January 27, 2026, 3:31pm UTC](https://discuss.avogadro.cc/t/build-issues-relating-to-jkqtplotter/7286/6 "2026-01-27T15:31:02Z")

</div>

I’ll give the 5.0 beta a try later and report back 🙂

---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [January 27, 2026, 3:34pm UTC](https://discuss.avogadro.cc/t/build-issues-relating-to-jkqtplotter/7286/7 "2026-01-27T15:34:51Z")

</div>

I’ll be pushing `openchemistry` to that tag, along with a few related pull requests. Hopefully that should help.

---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [January 27, 2026, 4:39pm UTC](https://discuss.avogadro.cc/t/build-issues-relating-to-jkqtplotter/7286/8 "2026-01-27T16:39:20Z")

</div>

Okay, try from the latest `HEAD` of `openchemistry` and `avogadrolibs` and `avogadroapp`

Hopefully those changes should solve your problem?

---

<div class="post-metadata">

**Author:** ![matterhorn103](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/matterhorn103/32/1751_2.png) [@matterhorn103](https://discuss.avogadro.cc/u/matterhorn103)\
**Post date:** [February 1, 2026, 4:29pm UTC](https://discuss.avogadro.cc/t/build-issues-relating-to-jkqtplotter/7286/9 "2026-02-01T16:29:34Z")

</div>

I tried updating to all those commits, including this one

> [@ghutchis](#):
>
> I see that thanks to our various package maintainers, there’s now [`d243218`](https://github.com/jkriege2/JKQtPlotter/commit/d243218119b1632987df26baea0d4bc6ccdee533) as [v5.0.0-beta1](https://github.com/jkriege2/JKQtPlotter/releases/tag/v5.0.0-beta1)

for JKQTPlotter, but sadly it still doesn’t seem to work. ☹

---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [February 1, 2026, 10:17pm UTC](https://discuss.avogadro.cc/t/build-issues-relating-to-jkqtplotter/7286/10 "2026-02-01T22:17:07Z")

</div>

I don’t know. With current HEAD, you can use `-DUSE_PLOTTER=OFF` if you’re having problems with that.

---

<div class="post-metadata">

**Author:** ![PPN-SD](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ppn-sd/32/3260_2.png) [@PPN-SD](https://discuss.avogadro.cc/u/PPN-SD)\
**Post date:** [February 13, 2026, 4:25am UTC](https://discuss.avogadro.cc/t/build-issues-relating-to-jkqtplotter/7286/11 "2026-02-13T04:25:51Z")

</div>

Could you check if you have installed the Qt5 version?  
See [check Qt${QT\_VERSION\_MAJOR} at first by PPN-SD · Pull Request #156 · jkriege2/JKQtPlotter · GitHub](https://github.com/jkriege2/JKQtPlotter/pull/156)

---

<div class="post-metadata">

**Author:** ![matterhorn103](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/matterhorn103/32/1751_2.png) [@matterhorn103](https://discuss.avogadro.cc/u/matterhorn103)\
**Post date:** [February 13, 2026, 3:55pm UTC](https://discuss.avogadro.cc/t/build-issues-relating-to-jkqtplotter/7286/12 "2026-02-13T15:55:11Z")

</div>

> [@ghutchis](#):
>
> you can use `-DUSE_PLOTTER=OFF` if you’re having problems with that.

This worked as a temporary solution, by the way, it compiled fine after that.

This worked, by the way.

> [@PPN-SD](#):
>
> Could you check if you have installed the Qt5 version?

Do you mean whether JKQtPlotter is building against Qt5? How would I check that?

---

<div class="post-metadata">

**Author:** ![PPN-SD](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ppn-sd/32/3260_2.png) [@PPN-SD](https://discuss.avogadro.cc/u/PPN-SD)\
**Post date:** [February 13, 2026, 6:13pm UTC](https://discuss.avogadro.cc/t/build-issues-relating-to-jkqtplotter/7286/13 "2026-02-13T18:13:49Z")

</div>

You’ll find JKQTPlotter5Config.cmake if that’s the case.
