[Development] Qt5 Regression: WorkerScript cannot import any library

Baldo Davide baldosoft at gmail.com
Fri Aug 31 13:49:35 CEST 2012


Hi, moving from QtQuick 1.1 to 2.0 i noticed that openDatabaseSync()
is no longer available in WorkerScript context and ".import
QtQuick.LocalStorage 2.0 as LS" doesn't work either, is there another
way to use database within a WorkerScript context?
Thanks in advance

Davide

ps: Documentation of LocalStorage is old: the right syntax now is
'LS.LocalStorage.openDatabaseSync()' and not 'LS.openDatabaseSync()'



More information about the Development mailing list