openssl: fix the build on Linux
qtbase/src/network/ssl/qtls_openssl.cpp:1527:34: error: ‘qScopeGuard’ was not declared in this scope qtbase/src/network/ssl/qtlsbackend_openssl.cpp:227:9: error: ‘QDirIterator’ was not declared in this scope; did you mean ‘QSetIterator’? qtbase/src/network/ssl/qtlsbackend_openssl.cpp: In function ‘QList<QSslCertificate> QTlsPrivate::systemCaCertificates()’: qtbase/src/network/ssl/qtlsbackend_openssl.cpp:387:10: error: aggregate ‘QDir currentDir’ has incomplete type and cannot be defined tbase/src/network/ssl/qtlsbackend_openssl.cpp:414:13: error: ‘QDirIterator’ was not declared in this scope; did you mean ‘QSetIterator’? qtbase/src/network/ssl/qtlsbackend_openssl.cpp:415:20: error: ‘it’ was not declared in this scope; did you mean ‘Qt’? qtbase/src/network/ssl/qtls_openssl.cpp:1527:34: error: ‘qScopeGuard’ was not declared in this scope qtbase/src/network/ssl/qtlsbackend_openssl.cpp:229:45: error: variable ‘QDirIterator iterator’ has initializer but incomplete type Change-Id: Ibcf4c7731b04f3f4be59d95130e088114f1536df Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
f058e494c2
commit
c20ad7f101
@ -51,6 +51,7 @@
|
||||
#endif
|
||||
|
||||
#include <QtCore/qscopedvaluerollback.h>
|
||||
#include <QtCore/qscopeguard.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
|
@ -54,8 +54,11 @@
|
||||
|
||||
#include <qssl.h>
|
||||
|
||||
#include <qmutex.h>
|
||||
#include <qdir.h>
|
||||
#include <qdiriterator.h>
|
||||
#include <qlist.h>
|
||||
#include <qmutex.h>
|
||||
#include <qscopeguard.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user