From: Arun Kumar Pariyar Date: Tue, 20 Jun 2023 18:24:53 +0000 (+0100) Subject: Fix FTBFS by removing explicit cxx11 in tests. X-Git-Tag: archive/raspbian/5.5.33-2+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ab5d390a9e790090a5d134e0ac5db921b8e02bd8;p=dtkcore.git Fix FTBFS by removing explicit cxx11 in tests. Bug-Debian: https://bugs.debian.org/1038703 Last-Update: 2023-06-20 Last-Update: 2023-06-20 Gbp-Pq: Name 001-fix-ftbfs-remove-explicit-cxx11.patch --- diff --git a/examples/dasync-example/dasync-example.pro b/examples/dasync-example/dasync-example.pro index 71ee637..4818d48 100644 --- a/examples/dasync-example/dasync-example.pro +++ b/examples/dasync-example/dasync-example.pro @@ -7,7 +7,6 @@ TARGET = thread_util INCLUDEPATH += . QT+= core widgets testlib -CONFIG += c++11 # The following define makes your compiler warn you if you use any # feature of Qt which has been marked as deprecated (the exact warnings # depend on your compiler). Please consult the documentation of the diff --git a/tests/ddesktopentry/ddesktopentry.pro b/tests/ddesktopentry/ddesktopentry.pro index 0b80ab1..196926d 100644 --- 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){ diff --git a/tests/dthreadutils/dthreadutils.pro b/tests/dthreadutils/dthreadutils.pro index 4bdc78e..70d1f72 100644 --- 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 diff --git a/tests/dutils/dutils.pro b/tests/dutils/dutils.pro index 8e56bec..836131c 100644 --- 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 diff --git a/tests/dvtablehook/dvtablehook.pro b/tests/dvtablehook/dvtablehook.pro index 0425266..dac503b 100644 --- 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 diff --git a/tests/tests.pro b/tests/tests.pro index a3caf63..42514e3 100644 --- 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 diff --git a/tools/qdbusxml2cpp/qdbusxml2cpp.pro b/tools/qdbusxml2cpp/qdbusxml2cpp.pro index e1e2b71..0e0adbb 100644 --- a/tools/qdbusxml2cpp/qdbusxml2cpp.pro +++ b/tools/qdbusxml2cpp/qdbusxml2cpp.pro @@ -2,7 +2,6 @@ TARGET = qdbusxml2cpp-fix TEMPLATE = app QT += core dbus-private dbus -CONFIG += c++11 SOURCES += qdbusxml2cpp.cpp diff --git a/tools/settings/settings.pro b/tools/settings/settings.pro index 21784c1..986ff29 100644 --- a/tools/settings/settings.pro +++ b/tools/settings/settings.pro @@ -1,7 +1,6 @@ QT += core xml QT -= gui -CONFIG += c++11 TARGET = dtk-settings CONFIG += console link_pkgconfig