Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[qtbase] build qmake with -DQT_LARGEFILE_SUPPORT. Fixes JB#49446
Under Docker and Windows, ::stat() returns EOVERFLOW for all files
which are shared from host to the container. ::stat64() works.
QT_LARGEFILE_SUPPORT changes the QFile::exists() implementation to
use ::stat64().
  • Loading branch information
vigejolla committed Mar 27, 2020
1 parent 4e478cd commit b7c2224
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qmake/Makefile.unix
Expand Up @@ -107,7 +107,8 @@ CPPFLAGS = -g $(EXTRA_CPPFLAGS) \
-DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL \
-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS \
-DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM \
-DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -DQT_NO_STANDARDPATHS
-DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -DQT_NO_STANDARDPATHS \
-DQT_LARGEFILE_SUPPORT

CXXFLAGS = $(EXTRA_CXXFLAGS) $(CPPFLAGS)

Expand Down

0 comments on commit b7c2224

Please sign in to comment.