Error when building 5.12.0 on Centos 6.10
Unsolved
Installation and Deployment
-
I'm trying to build QT 5.12.0 on CentOS 6.10 and am running into a problem building qtwebengine.
src/qtwebengine/src/3rdparty/chromium/ui/events/ozone/evdev/touch_event_converter_evdev.cc: In member function ‘void ui::TouchEventConverterEvdev::ProcessSyn(const input_event&)’: ../../../../../src/qtwebengine/src/3rdparty/chromium/ui/events/ozone/evdev/touch_event_converter_evdev.cc:462:10: error: ‘SYN_DROPPED’ was not declared in this scope case SYN_DROPPED: ^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option ‘-Wno-class-memaccess’ cc1plus: warning: unrecognized command line option ‘-Wno-packed-not-aligned’ cc1plus: warning: unrecognized command line option ‘-Wno-dangling-else’
I've tried using DevTools6 and DevTools7 but no difference.
Here is my configure command
../src/configure -release -developer-build -no-warnings-are-errors -nomake examples -nomake tests -opensource -confirm-license -qt-libjpeg -qt-libpng -qt-zlib -no-dbus -qt-xcb -qt-xkbcommon -skip qtgamepad -no-kms -no-use-gold-linker -openssl-linked -no-webengine-pulseaudio -no-evdev -I/sti/src/lib/openssl/openssl/include -prefix ~/Qt/5.12.0/gcc_64
Note that I have specified -no-evdev but it doesn't seem to matter.
Any ideas would be appreciated. Thanks in advance!