Fix build without features.dlopen

Change-Id: I4ad24c241d3c32a5658bf71fa6133181793020d3
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
bb10
Tasuku Suzuki 2019-07-05 07:52:08 +09:00
parent 99749d3b05
commit c00487d588
2 changed files with 7 additions and 3 deletions

View File

@ -9,7 +9,11 @@ winrt {
}
qnx: DEFINES += _QNX_SOURCE
!win32:!winrt:!winphone: DEFINES += HAVE_USLEEP=1
qtConfig(dlopen): QMAKE_USE += libdl
qtConfig(dlopen) {
QMAKE_USE += libdl
} else {
DEFINES += SQLITE_OMIT_LOAD_EXTENSION
}
integrity: QMAKE_CFLAGS += -include qplatformdefs.h
INCLUDEPATH += $$PWD/sqlite
SOURCES += $$PWD/sqlite/sqlite3.c

View File

@ -1,7 +1,7 @@
{
"module": "gui",
"depends": [
"core",
"core-private",
"network"
],
"testDir": "../../config.tests",
@ -1375,7 +1375,7 @@
},
"egl": {
"label": "EGL",
"condition": "(features.opengl || features.openvg) && (features.angle || libs.egl)",
"condition": "(features.opengl || features.openvg) && (features.angle || libs.egl) && (features.dlopen || !config.unix)",
"output": [ "privateFeature", "feature" ]
},
"egl_x11": {