Control: tags -1 + patch

On Tue, Jun 20, 2023 at 12:52:53PM +0300, Dmitry Shachnev wrote:
> [...]
> 
> googletest 1.13 was uploaded to unstable recently, and it dropped support
> for C++ versions less than C++14:
> 
> https://github.com/google/googletest/releases/tag/v1.13.0
> 
> But dtkcore sets CONFIG += c++11 in its .pro files.

Attaching a patch that fixes the build failure.

--
Dmitry Shachnev
Description: don't force old C++ version for tests
Author: Dmitry Shachnev <mity...@debian.org>
Forwarded: no
Last-Update: 2023-06-20

--- a/tests/ddesktopentry/ddesktopentry.pro
+++ b/tests/ddesktopentry/ddesktopentry.pro
@@ -3,7 +3,6 @@ QT -= gui
 
 TARGET = tst_ddesktopentrytest
 TEMPLATE = app
-CONFIG += c++11
 CONFIG -= app_bundle
 
 !isEmpty(DTK_STATIC_LIB){
--- a/tests/dthreadutils/dthreadutils.pro
+++ b/tests/dthreadutils/dthreadutils.pro
@@ -2,7 +2,6 @@ QT += testlib concurrent
 QT -= gui
 
 TEMPLATE = app
-CONFIG += c++11
 
 !isEmpty(DTK_STATIC_LIB){
     DEFINES += DTK_STATIC_LIB
--- a/tests/dutils/dutils.pro
+++ b/tests/dutils/dutils.pro
@@ -2,7 +2,6 @@ QT += testlib dbus
 QT -= gui
 
 TEMPLATE = app
-CONFIG += c++11
 
 !isEmpty(DTK_STATIC_LIB){
     DEFINES += DTK_STATIC_LIB
--- a/tests/dvtablehook/dvtablehook.pro
+++ b/tests/dvtablehook/dvtablehook.pro
@@ -2,7 +2,6 @@ QT += testlib
 QT -= gui
 
 TEMPLATE = app
-CONFIG += c++11
 
 # TODO: vtabhook release test failed
 QMAKE_CXXFLAGS_RELEASE -= -O2
--- a/tests/tests.pro
+++ b/tests/tests.pro
@@ -1,6 +1,6 @@
 TEMPLATE = app
 QT += core dbus xml testlib concurrent
-CONFIG += thread c++11 link_pkgconfig
+CONFIG += thread link_pkgconfig
 CONFIG -= app_bundle
 
 QMAKE_LFLAGS += -Wl,--export-dynamic

Attachment: signature.asc
Description: PGP signature

Reply via email to