Commit 01e61abf authored by Karel Slaný's avatar Karel Slaný

Enabled compilation with Qt-5.10.0.

parent 0b0721ba
......@@ -454,14 +454,14 @@ int main(int argc, char *argv[])
engine.addImageProvider(IMAGE_PROVIDER_ID, GlobInstcs::imgProvPtr);
/*
* The function below does not work on Qt-5.9.4 and Qt-5.10.0 as
* The function below does not work on Android with Qt-5.9.4 as
* QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation)
* returns "/".
* returns "/". It works with Qt-5.10.0.
*
* See: https://bugreports.qt.io/browse/QTBUG-66005
*/
#if defined(Q_OS_ANDROID)
# if (QT_VERSION == QT_VERSION_CHECK(5, 9, 4)) || (QT_VERSION == QT_VERSION_CHECK(5, 10, 0))
# if (QT_VERSION == QT_VERSION_CHECK(5, 9, 4))
# error("The application is likely to crash; see QTBUG-66005.")
# endif
#endif /* Q_OS_ANDROID */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment