Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Compile eror GammaRay 2.11.50 for qt 5.14 on Windows10
dapa last edited by dapa
I get this error when compiling GammaRay 2.11.50 With Qt 5.14 using MSVC 19.24.28314.0 in 64 bit :
D:\qt\GammaRay\core\metaproperty.h(130): error C2027: use of undefined type 'QDateTime'
I tried to add the line "#include <QDateTime>" to metaproperty.h and recompiled, but then I got these errors:
D:\qt\GammaRay\plugins\network\networkreplymodel.cpp(152): error C2039: 'encrypted': is not a member of 'QNetworkAccessManager'
D:\qt\GammaRay\plugins\network\networkreplymodel.cpp(153): error C2039: 'sslErrors': is not a member of 'QNetworkAccessManager'
The whole gammaray compilation log is shown here:
Any help or hints are appreciated.
I would guess you're including some Qt4 headers somewhere since QNetworkAccessManager::encrypted() exists since Qt5.1
dapa last edited by
@Christian-Ehrlicher Thanks for your reply. I have used a newly installed machine with only qt 5.14 compiled, and I did not change any source code so it is strange if I by error have somehow included any Qt4 headers.
I see that the build also fails at https://github.com/KDAB/GammaRay (ERROR: could not open HSTS store at 'C:\Users\appveyor/.wget-hsts') but I guess this is unrelated.