Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
4.8.0
-
None
Description
In src/network/access/qnetworkaccesshttpbackend.cpp, the code belows seems to be the only place where Q_NO_BEARERMANAGEMENT is used while every else, QT_NO_BEARERMANAGEMENT is used. I believe this is a typo error here and if QT_NO_BEARERMANAGEMENT is defined, the code below causes compilation error.
// Create the HTTP thread delegate
QHttpThreadDelegate *delegate = new QHttpThreadDelegate;
#ifndef Q_NO_BEARERMANAGEMENT
QVariant v(property("_q_networksession"));
if (v.isValid())
delegate->networkSession = qvariant_cast<QSharedPointer<QNetworkSession> >(v);
#endif
Attachments
Issue Links
- is replaced by
-
QTBUG-23239 Compilation error in kernel/qhostinfo_p.h without bearermanagement support
-
- Closed
-