OSDN Git Service

disable http feature if thread support is not enabled
authorIvailo Monev <xakepa10@laimg.moc>
Fri, 26 Jul 2019 22:44:56 +0000 (22:44 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Fri, 26 Jul 2019 22:44:56 +0000 (22:44 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/core/global/qconfig.h.cmake

index a974ae3..ecbdfe0 100644 (file)
 #endif
 
 // Hyper Text Transfer Protocol
-#if !defined(QT_NO_HTTP) && defined(QT_NO_HOSTINFO)
+#if !defined(QT_NO_HTTP) && (defined(QT_NO_HOSTINFO) || defined(QT_NO_THREAD))
 #define QT_NO_HTTP
 #endif