Projects
Eulaceura:Mainline:GA
ukui-control-center
_service:obs_scm:0002-change-c++11-to-c++17.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0002-change-c++11-to-c++17.patch of Package ukui-control-center
From ebbfebe4a9111ee055e49d94daa297b92b2d2916 Mon Sep 17 00:00:00 2001 From: huayadong <huayadong@kylinos.cn> Date: Fri, 17 May 2024 11:39:53 +0800 Subject: [PATCH] change c++11 to c++17 --- changeOtherUserPwd/changeOtherUserPwd.pro | 2 +- changeUserPwd/changeUserPwd.pro | 2 +- checkUserPwdWithPAM/checkUserPwd/checkUserPwd.pro | 2 +- .../childCheckPwdWithPAM/childCheckPwdWithPAM.pro | 2 +- group-manager-server/group-manager-server.pro | 2 +- libukcc/libukcc.pro | 2 +- plugins/commoninfo/boot/boot.pro | 2 +- plugins/currency/boot/boot.pro | 2 +- plugins/devices/shortcut/shortcut.pro | 2 +- plugins/network/vpn/vpn.pro | 2 +- plugins/personalized/theme/theme.pro | 2 +- plugins/system/display/display.pro | 2 +- plugins/system/display_hw/display_hw.pro | 2 +- plugins/system/notice/notice.pro | 2 +- plugins/system/power/power.pro | 2 +- registeredQDbus/registeredQDbus.pro | 2 +- registeredSession/registeredSession.pro | 2 +- tastenbrett/tastenbrett.pro | 2 +- tests/area/area.pro | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/changeOtherUserPwd/changeOtherUserPwd.pro b/changeOtherUserPwd/changeOtherUserPwd.pro index f0e3f54..6282529 100644 --- a/changeOtherUserPwd/changeOtherUserPwd.pro +++ b/changeOtherUserPwd/changeOtherUserPwd.pro @@ -3,7 +3,7 @@ QT -= gui TARGET = changeotheruserpwd TEMPLATE = app -CONFIG += c++11 +CONFIG += c++17 CONFIG -= app_bundle # The following define makes your compiler emit warnings if you use diff --git a/changeUserPwd/changeUserPwd.pro b/changeUserPwd/changeUserPwd.pro index 7d80db4..4d5cf6e 100644 --- a/changeUserPwd/changeUserPwd.pro +++ b/changeUserPwd/changeUserPwd.pro @@ -3,7 +3,7 @@ QT -= gui TARGET = changeuserpwd TEMPLATE = app -CONFIG += c++11 +CONFIG += c++17 CONFIG -= app_bundle # The following define makes your compiler emit warnings if you use diff --git a/checkUserPwdWithPAM/checkUserPwd/checkUserPwd.pro b/checkUserPwdWithPAM/checkUserPwd/checkUserPwd.pro index 8037587..8a47940 100644 --- a/checkUserPwdWithPAM/checkUserPwd/checkUserPwd.pro +++ b/checkUserPwdWithPAM/checkUserPwd/checkUserPwd.pro @@ -5,7 +5,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = checkUserPwd TEMPLATE = app -CONFIG += c++11 +CONFIG += c++17 # The following define makes your compiler emit warnings if you use # any Qt feature that has been marked deprecated (the exact warnings diff --git a/checkUserPwdWithPAM/childCheckPwdWithPAM/childCheckPwdWithPAM.pro b/checkUserPwdWithPAM/childCheckPwdWithPAM/childCheckPwdWithPAM.pro index c2f5532..f3444ef 100644 --- a/checkUserPwdWithPAM/childCheckPwdWithPAM/childCheckPwdWithPAM.pro +++ b/checkUserPwdWithPAM/childCheckPwdWithPAM/childCheckPwdWithPAM.pro @@ -6,7 +6,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = childCheckpwdwithPAM TEMPLATE = app -CONFIG += c++11 +CONFIG += c++17 # The following define makes your compiler emit warnings if you use # any Qt feature that has been marked deprecated (the exact warnings diff --git a/group-manager-server/group-manager-server.pro b/group-manager-server/group-manager-server.pro index db294d1..602fb13 100644 --- a/group-manager-server/group-manager-server.pro +++ b/group-manager-server/group-manager-server.pro @@ -19,7 +19,7 @@ DBUS_ADAPTORS += org.ukui.groupmanager.xml DBUS_INTERFACES += org.ukui.groupmanager.xml -CONFIG += console c++11 link_pkgconfig +CONFIG += console c++17 link_pkgconfig PKGCONFIG += gio-2.0 \ gio-unix-2.0 \ diff --git a/libukcc/libukcc.pro b/libukcc/libukcc.pro index 5beaf7d..acee3b1 100644 --- a/libukcc/libukcc.pro +++ b/libukcc/libukcc.pro @@ -5,7 +5,7 @@ TEMPLATE = lib DEFINES += LIBUKCC_LIBRARY CONFIG += link_pkgconfig \ - c++11 + c++17 PKGCONFIG += gio-2.0 \ gio-unix-2.0 \ diff --git a/plugins/commoninfo/boot/boot.pro b/plugins/commoninfo/boot/boot.pro index 8f835e6..d62d2d1 100644 --- a/plugins/commoninfo/boot/boot.pro +++ b/plugins/commoninfo/boot/boot.pro @@ -6,7 +6,7 @@ QT += core gui dbus greaterThan(QT_MAJOR_VERSION, 4): QT += widgets -CONFIG += c++11 +CONFIG += c++17 # The following define makes your compiler emit warnings if you use # any Qt feature that has been marked deprecated (the exact warnings diff --git a/plugins/currency/boot/boot.pro b/plugins/currency/boot/boot.pro index 3dab3b2..8bbed17 100644 --- a/plugins/currency/boot/boot.pro +++ b/plugins/currency/boot/boot.pro @@ -4,7 +4,7 @@ QT += core gui dbus greaterThan(QT_MAJOR_VERSION, 4): QT += widgets -CONFIG += c++11 +CONFIG += c++17 # The following define makes your compiler emit warnings if you use # any Qt feature that has been marked deprecated (the exact warnings diff --git a/plugins/devices/shortcut/shortcut.pro b/plugins/devices/shortcut/shortcut.pro index ce5c719..820afdb 100644 --- a/plugins/devices/shortcut/shortcut.pro +++ b/plugins/devices/shortcut/shortcut.pro @@ -24,7 +24,7 @@ INCLUDEPATH += \ LIBS += -L$$[QT_INSTALL_LIBS] -lgsettings-qt -ldconf -CONFIG += link_pkgconfig c++11 +CONFIG += link_pkgconfig c++17 PKGCONFIG += gio-2.0 \ gio-unix-2.0 \ diff --git a/plugins/network/vpn/vpn.pro b/plugins/network/vpn/vpn.pro index 54a754b..18833e9 100644 --- a/plugins/network/vpn/vpn.pro +++ b/plugins/network/vpn/vpn.pro @@ -10,7 +10,7 @@ QT += widgets dbus TEMPLATE = lib CONFIG += plugin \ - += c++11 \ + += c++17 \ link_pkgconfig PKGCONFIG += gsettings-qt diff --git a/plugins/personalized/theme/theme.pro b/plugins/personalized/theme/theme.pro index 7bc7af4..8e3fcd3 100644 --- a/plugins/personalized/theme/theme.pro +++ b/plugins/personalized/theme/theme.pro @@ -15,7 +15,7 @@ QT += widgets KConfigCore KI18n x11extras concurrent dbus TEMPLATE = lib CONFIG += plugin \ link_pkgconfig \ - c++11 + c++17 TARGET = $$qtLibraryTarget(theme) DESTDIR = ../.. target.path = $${PLUGIN_INSTALL_DIRS} diff --git a/plugins/system/display/display.pro b/plugins/system/display/display.pro index 7b02f0d..68c3128 100644 --- a/plugins/system/display/display.pro +++ b/plugins/system/display/display.pro @@ -13,7 +13,7 @@ include($$PROJECT_ROOTDIR/libukcc/interface.pri) QT += widgets core gui quickwidgets quick xml KScreen dbus concurrent TEMPLATE = lib -CONFIG += c++11 link_pkgconfig plugin +CONFIG += c++17 link_pkgconfig plugin TARGET = $$qtLibraryTarget(display) DESTDIR = ../.. diff --git a/plugins/system/display_hw/display_hw.pro b/plugins/system/display_hw/display_hw.pro index b1f341d..4169d38 100644 --- a/plugins/system/display_hw/display_hw.pro +++ b/plugins/system/display_hw/display_hw.pro @@ -11,7 +11,7 @@ include($$PROJECT_ROOTDIR/libukcc/widgets/ComboBox/combobox.pri) QT += widgets core gui quickwidgets quick xml KScreen dbus concurrent KConfigCore TEMPLATE = lib -CONFIG += c++11 link_pkgconfig plugin +CONFIG += c++17 link_pkgconfig plugin TARGET = $$qtLibraryTarget(display_hw) DESTDIR = ../.. diff --git a/plugins/system/notice/notice.pro b/plugins/system/notice/notice.pro index e64bb4a..72e6f50 100644 --- a/plugins/system/notice/notice.pro +++ b/plugins/system/notice/notice.pro @@ -30,7 +30,7 @@ INCLUDEPATH += \ LIBS += -L$$[QT_INSTALL_LIBS] -lgsettings-qt -ldconf -CONFIG += c++11 \ +CONFIG += c++17 \ link_pkgconfig \ PKGCONFIG += gsettings-qt \ diff --git a/plugins/system/power/power.pro b/plugins/system/power/power.pro index a6a7e86..cee85b4 100644 --- a/plugins/system/power/power.pro +++ b/plugins/system/power/power.pro @@ -15,7 +15,7 @@ LIBS += -L$$[QT_INSTALL_LIBS] -lgsettings-qt -lupower-glib CONFIG += \ link_pkgconfig \ - c++11 + c++17 PKGCONFIG += gsettings-qt \ gio-2.0 \ diff --git a/registeredQDbus/registeredQDbus.pro b/registeredQDbus/registeredQDbus.pro index 7e294cf..3f10105 100644 --- a/registeredQDbus/registeredQDbus.pro +++ b/registeredQDbus/registeredQDbus.pro @@ -5,7 +5,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = launchSysDbus TEMPLATE = app -CONFIG += console c++11 link_pkgconfig +CONFIG += console c++17 link_pkgconfig CONFIG -= app_bundle PKGCONFIG += gio-2.0 \ diff --git a/registeredSession/registeredSession.pro b/registeredSession/registeredSession.pro index db3fb01..2909b63 100644 --- a/registeredSession/registeredSession.pro +++ b/registeredSession/registeredSession.pro @@ -5,7 +5,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets concurrent sql xml TARGET = ukui-control-center-session TEMPLATE = app -CONFIG += c++11 console link_pkgconfig +CONFIG += c++17 console link_pkgconfig CONFIG -= app_bundle PKGCONFIG += gio-2.0 \ kysdk-sysinfo \ diff --git a/tastenbrett/tastenbrett.pro b/tastenbrett/tastenbrett.pro index bc6a4c7..c1caa47 100644 --- a/tastenbrett/tastenbrett.pro +++ b/tastenbrett/tastenbrett.pro @@ -5,7 +5,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets x11extras quickwidgets quick LIBS += -L$$[QT_INSTALL_LIBS] -lgsettings-qt -lX11 -lxkbcommon -lxkbfile -CONFIG += c++11 +CONFIG += c++17 # The following define makes your compiler emit warnings if you use diff --git a/tests/area/area.pro b/tests/area/area.pro index 5e83e76..286def6 100644 --- a/tests/area/area.pro +++ b/tests/area/area.pro @@ -1,7 +1,7 @@ QT += gui testlib dbus CONFIG += qt warn_on depend_includepath testcase -CONFIG += c++11 console link_pkgconfig +CONFIG += c++17 console link_pkgconfig PKGCONFIG += gsettings-qt TEMPLATE = app -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2