Don't compile GetKey

It relies on functions that are too deprecated,
without -Wno-deprecated-declarations it doesn't even compile.
This commit is contained in:
Maciej Latocha
2016-03-31 17:36:11 +02:00
parent c837ef3c09
commit bae5545b11
2 changed files with 1 additions and 3 deletions

View File

@ -40,7 +40,7 @@ if(PLAIN_KEYS)
endif()
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -pedantic -Wno-deprecated-declarations -Wno-variadic-macros")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -pedantic -Wno-variadic-macros")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3")
endif()

View File

@ -11,7 +11,6 @@ set(qjoypad_SOURCES
buttonw.cpp
event.cpp
flash.cpp
getkey.cpp
icon.cpp
joypad.cpp
joypadw.cpp
@ -31,7 +30,6 @@ set(qjoypad_QOBJECT_HEADERS
button.h
buttonw.h
flash.h
getkey.h
icon.h
joypad.h
joypadw.h