From 3675f2bd8d2b1fb006b176336e6139535cad5fb2 Mon Sep 17 00:00:00 2001
From: Jean Abou Samra <jean@abou-samra.fr>
Date: Tue, 17 Oct 2023 22:48:43 +0200
Subject: [PATCH] Specify C++17 to qmake

This fixes the build with recent Poppler.

Fixes #61
---
 pyproject.toml | 5 +++++
 1 file changed, 5 insertions(+)

--- pyproject.toml
+++ pyproject.toml
@@ -23,6 +23,11 @@ requires-dist = [
 ]
 requires-dist = "PyQt5"
 
+[tool.sip.builder]
+qmake-settings = [
+  "CONFIG += c++17",
+]
+
 [tool.sip.project]
 sip-files-dir = "."
 sdist-excludes = [
