[Interest] 5.8.0: "Could not find feature posix_fallocate" in sqlite.pri on Windows
mail at herrdiel.de
mail at herrdiel.de
Fri Feb 3 19:37:18 CET 2017
Hi,
with 5.7.1 my app compiles fine, but with the Qt 5.8.0 kit, I recieve
an error, compilation stops with:
%
C:/Qt/5.8/mingw53_32/bin/qmake.exe -o Makefile
../../entitymanager/src/src.pro -spec win32-g++ CONFIG+=debug
CONFIG+=qml_debug
Project ERROR: Could not find feature posix_fallocate.
Makefile:218: recipe for target 'Makefile' failed
%
I've tracked its origin down to a change in
[...]5.8\Src\qtbase\src\3rdparty\sqlite\sqlite3.pri (line 4):
in 5.7.1 this line was:
%contains(QT_CONFIG, posix_fallocate):DEFINES += HAVE_POSIX_FALLOCATE=1%
in 5.8.0 it is:
%qtConfig(posix_fallocate): DEFINES += HAVE_POSIX_FALLOCATE=1%
Neither of both lines work with my code on 5.8.0 (error message above),
but if I comment the line out entirely, the code compiles.
Is this a bug in 5.8.0 or might it be a problem on my system?
My system is: Win10, Qt 5.8.0 MinGW32bit. The app compiles well under
Linux.
For completeness, I should add, that in "General Messages" i recieve
"C++ Indexer: Skipping file
"C:/Qt/5.7/Src/qtbase/src/3rdparty/sqlite/sqlite3.c" because it is too
big."
on both kits (of course path "C:/Qt/5.8/..." on 5.8.0), but that sounds
completely reasonable to me.
Thanks for your time!
Sebastian
--
http://www.classintouch.de - Tablet-Software für Lehrer
More information about the Interest
mailing list