Unbreak the build and add support for Qt 5.12 too

Unlike qdatastream.h, we can be ready for future versions. Current plans
say we should do Qt 5.12 and then begin working on 6.0.

Change-Id: I38341f8155354cc4a776fffd14e13c2f1362b483
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
Thiago Macieira 2017-09-04 15:31:59 -03:00 committed by Laszlo Agocs
parent df9de3e454
commit 091fd6e524

View File

@ -84,6 +84,16 @@ make_versioned_symbol(SYM, QT_VERSION_MAJOR, 8, "@");
make_versioned_symbol(SYM, QT_VERSION_MAJOR, 9, "@"); make_versioned_symbol(SYM, QT_VERSION_MAJOR, 9, "@");
#endif #endif
#if QT_VERSION_MINOR > 10 #if QT_VERSION_MINOR > 10
make_versioned_symbol(SYM, QT_VERSION_MAJOR, 10, "@");
#endif
#if QT_VERSION_MINOR > 11
make_versioned_symbol(SYM, QT_VERSION_MAJOR, 11, "@");
#endif
#if QT_VERSION_MINOR > 12
make_versioned_symbol(SYM, QT_VERSION_MAJOR, 12, "@");
#endif
#if QT_VERSION_MINOR > 13
// We don't expect there will be a Qt 5.13
# error "Please update this file with more Qt versions." # error "Please update this file with more Qt versions."
#endif #endif