Control: tags -1 + patch On Sun, Feb 15, 2026 at 02:06:03PM +0700, Damir R. Islamov wrote: > The gnuplot might be built with Qt6. > Please migrate to Qt6.
Attached is a patch to build gnuplot with Qt6. It's quite simple, as no upstream changes are necessary. Thanks, Faidon
diff --git a/debian/changelog b/debian/changelog index 3bb2ad5..be5bc61 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +gnuplot (6.0.3+dfsg1-2) UNRELEASED; urgency=medium + + * Build gnuplot-qt qith Qt6. (Closes: #1128014) + - Explicitly pick the Qt version to avoid build failures when another + version of Qt is also present in the build env. (Closes: #1101945) + + -- Faidon Liambotis <[email protected]> Tue, 03 Mar 2026 10:22:46 +0200 + gnuplot (6.0.3+dfsg1-1) unstable; urgency=medium * Upload into unstable. diff --git a/debian/control b/debian/control index 4b86a32..972a49a 100644 --- a/debian/control +++ b/debian/control @@ -13,10 +13,11 @@ Build-Depends: autoconf, liblua5.1-0-dev, libpango1.0-dev, libpng-dev, - qtbase5-dev <!nox-only>, - qtbase5-dev-tools <!nox-only>, - qttools5-dev-tools <!nox-only>, - libqt5svg5-dev <!nox-only>, + qt6-5compat-dev <!nox-only>, + qt6-base-dev <!nox-only>, + qt6-base-dev-tools <!nox-only>, + qt6-svg-dev <!nox-only>, + qt6-tools-dev-tools <!nox-only>, libx11-dev <!nox-only>, libxt-dev <!nox-only>, pkg-config, diff --git a/debian/rules b/debian/rules index a77b507..0f8ce8d 100755 --- a/debian/rules +++ b/debian/rules @@ -8,9 +8,6 @@ export DEB_BUILD_MAINT_OPTIONS := hardening=+all # Tell compiler where should find lua headers export DEB_CFLAGS_MAINT_APPEND = -I/usr/include/lua5.1 -# Force the use of qt5 -export QT_SELECT=qt5 - # Qt insists on using -fPIC export DEB_CXXFLAGS_MAINT_APPEND = -fPIC @@ -48,7 +45,7 @@ ifeq (,$(filter $(DEB_BUILD_PROFILES),nox-only)) mkdir -p $(BUILDDIR_X11) cd $(BUILDDIR_X11); CONFIG_SHELL=/bin/sh ../../configure $(conf_opts) --with-qt=no mkdir -p $(BUILDDIR_QT) - cd $(BUILDDIR_QT); CONFIG_SHELL=/bin/sh ../../configure $(conf_opts) --enable-qt + cd $(BUILDDIR_QT); CONFIG_SHELL=/bin/sh ../../configure $(conf_opts) --enable-qt --with-qt=qt6 endif override_dh_auto_build-arch:

