Skip to content

Commit

Permalink
Supress waring about deprecated QSignalMapper
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasWoodtli committed Dec 17, 2019
1 parent e49847b commit ed7c7f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/CalcQt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ project(CalcQt)

if(TARGET Qt::Core AND TARGET Qt::Gui AND TARGET Qt::Widgets AND TARGET Qt::Test)
add_library(libcalcqt STATIC src/CalculatorWidget.cpp src/CalculatorWidget.h)
target_compile_options(libcalcqt PRIVATE "-Wno-deprecated-declarations")
set_target_properties(libcalcqt PROPERTIES AUTOMOC ON)
target_include_directories(libcalcqt INTERFACE src)
target_link_libraries(libcalcqt
Expand Down

0 comments on commit ed7c7f2

Please sign in to comment.