Skip to content

Commit d4e3247

Browse files
committed
Supress waring about deprecated QSignalMapper
1 parent dd424c1 commit d4e3247

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/CalcQt/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ project(CalcQt)
22

33
if(TARGET Qt::Core AND TARGET Qt::Gui AND TARGET Qt::Widgets AND TARGET Qt::Test)
44
add_library(libcalcqt STATIC src/CalculatorWidget.cpp src/CalculatorWidget.h)
5+
target_compile_options(libcalcqt PRIVATE "-Wno-deprecated-declarations")
56
set_target_properties(libcalcqt PROPERTIES AUTOMOC ON)
67
target_include_directories(libcalcqt INTERFACE src)
78
target_link_libraries(libcalcqt

0 commit comments

Comments
 (0)