diff options
author | Lorn Potter <lorn.potter@gmail.com> | 2018-10-09 10:14:43 +1000 |
---|---|---|
committer | Lorn Potter <lorn.potter@gmail.com> | 2019-11-14 12:10:29 +1000 |
commit | a3f62d7ead78fde31bc26dd35d4bf6789a7b9e2f (patch) | |
tree | 7711fe689b51457e163e07848a08795f67301fb9 /src/corelib/io/io.pri | |
parent | f2cf5f5417d4df68eb0677e375cb81e39286c05f (diff) | |
download | qtbase-a3f62d7ead78fde31bc26dd35d4bf6789a7b9e2f.tar.gz |
wasm: add platform qsettings
Since the backend is async, the settings will not be ready to read/write
instantly as on other platforms, but only be ready after the
filesystem has been synced to the sandbox. This takes at least 250 to
500 ms. The QSettings status() or isWritable() can be used to discern when the
settings are ready for use.
This also fixes a crash in threaded wasm
Task-number: QTBUG-70002
Fixes: QTBUG-63923
Fixes: QTBUG-79650
Change-Id: If24c6ada1b91b2a565ed6733da74972c3027f622
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/corelib/io/io.pri')
-rw-r--r-- | src/corelib/io/io.pri | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/io/io.pri b/src/corelib/io/io.pri index fe81689932..c4c6f41387 100644 --- a/src/corelib/io/io.pri +++ b/src/corelib/io/io.pri @@ -136,6 +136,7 @@ qtConfig(settings) { } else: darwin:!nacl { SOURCES += io/qsettings_mac.cpp } + wasm : SOURCES += io/qsettings_wasm.cpp } win32 { |