wasm: enable sql/sqlite for non threaded builds
[ChangeLog][QtSql][Wasm] Enable sqlite for non threaded builds Pick-to: 6.4 Fixes: QTBUG-70505 Change-Id: I7cb6f52c81a6e8a60249f7bcaa8ee29f109f7b84 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
parent
d0505695dd
commit
217c47eac4
@ -939,7 +939,6 @@ qt_feature("printsupport" PRIVATE
|
||||
)
|
||||
qt_feature("sql" PRIVATE
|
||||
LABEL "Qt Sql"
|
||||
CONDITION QT_FEATURE_thread AND NOT WASM
|
||||
)
|
||||
qt_feature("testlib" PRIVATE
|
||||
LABEL "Qt Testlib"
|
||||
|
@ -95,3 +95,8 @@ qt_internal_extend_target(QSQLiteDriverPlugin CONDITION NOT QT_FEATURE_dlopen AN
|
||||
DEFINES
|
||||
SQLITE_OMIT_LOAD_EXTENSION
|
||||
)
|
||||
|
||||
qt_internal_extend_target(QSQLiteDriverPlugin CONDITION NOT QT_FEATURE_thread AND NOT QT_FEATURE_system_sqlite
|
||||
DEFINES
|
||||
SQLITE_THREADSAFE=0
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user