diff --git a/src/3rdParty/lxqt_wallet/frontend/CMakeLists.txt b/src/3rdParty/lxqt_wallet/frontend/CMakeLists.txt index d73061cf..71ade92f 100644 --- a/src/3rdParty/lxqt_wallet/frontend/CMakeLists.txt +++ b/src/3rdParty/lxqt_wallet/frontend/CMakeLists.txt @@ -57,10 +57,10 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CMAKE_CXX_COMPILER_VERSION V set( CMAKE_CXX_STANDARD 14 ) else() set( CMAKE_CXX_STANDARD 14 ) - if(${CMAKE_VERSION} VERSION_LESS "3.1.0") - message("Warning your cmake version is too old(<3.1.0) and code my not compile") - add_definitions(-std=c++14) - endif() + if(${CMAKE_VERSION} VERSION_LESS "3.1.0") + message("Warning your cmake version is too old(<3.1.0) and code my not compile") + add_definitions(-std=c++14) + endif() endif() if(NOKDESUPPORT) @@ -116,7 +116,7 @@ if(BUILD_WITH_QT6) else() add_library(lxqt-wallet STATIC ${KWALLET_COMMON} ${COMMON_UI_FILES} ${COMMON_SRC_FILES} ${COMMON_MOC_FILES} ${MOC_KWALLET}) endif() - target_link_libraries(lxqt-wallet KF5::Wallet) + target_link_libraries(lxqt-wallet KF6::Wallet) else() set(MOC_KWALLET_DBUS lxqt_kwallet-dbus.h) set(KWALLET_DBUS lxqt_kwallet-dbus.cpp) diff --git a/src/engines.cpp b/src/engines.cpp index ea40a2ac..a393b0ef 100644 --- a/src/engines.cpp +++ b/src/engines.cpp @@ -1435,8 +1435,9 @@ static bool _source_more_recent( const QString& exeName,const QString& src,const return false ; } #else - Q_UNUSED( s ) - Q_UNUSED( d ) + Q_UNUSED( exeName ) + Q_UNUSED( src ) + Q_UNUSED( dst ) return false ; #endif