Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Compile eror GammaRay 2.11.50 for qt 5.14 on Windows10
Qt 6.11 is out! See what's new in the release blog

Compile eror GammaRay 2.11.50 for qt 5.14 on Windows10

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
3 Posts 2 Posters 781 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dapa
    wrote on last edited by dapa
    #1

    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:
    https://www.jottacloud.com/s/206410f052706884d3e96a064cb2c073534

    Any help or hints are appreciated.

    Best
    Daniel

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      I would guess you're including some Qt4 headers somewhere since QNetworkAccessManager::encrypted() exists since Qt5.1

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      D 1 Reply Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher

        I would guess you're including some Qt4 headers somewhere since QNetworkAccessManager::encrypted() exists since Qt5.1

        D Offline
        D Offline
        dapa
        wrote on last edited by
        #3

        @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.

        Best
        Daniel

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved