summaryrefslogtreecommitdiffstats
path: root/src/tools/uic/cpp/cppwriteincludes.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2018-11-08 12:26:46 -0800
committerThiago Macieira <thiago.macieira@intel.com>2018-12-11 19:02:59 +0000
commit12e843581adf156d30dd09579b53fa36a361c4c9 (patch)
tree7e69826a0394f6d5975decf9eb0e51295b9da1dc /src/tools/uic/cpp/cppwriteincludes.cpp
parent9ee29b826c20bf554563a7495ec2ab8ef636032a (diff)
QResource: quick refactor of registerSelf for files to support LFS
This commit adds sufficient support for large files in resources, but not completely because the rest Qt is not ready for it (and not tested). We've had the QT_MMAP macro in qplatformdefs.h for a while, so let's use it and use qsizetype where we can. This also the check that the file existed before opening it (you can only open it if it exists), plus a few nullptr updates. Change-Id: I42a48bd64ccc41aebf84fffd15653ffdabb0e66b Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteincludes.cpp')
0 files changed, 0 insertions, 0 deletions