Skip to content

Commit

Permalink
fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mhogomchungu committed Oct 7, 2024
1 parent 9ffd98d commit f15b7b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/3rdParty/lxqt_wallet/frontend/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
5 changes: 3 additions & 2 deletions src/engines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f15b7b2

Please sign in to comment.