Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Request Api https Proble QSSlConfiguration
Forum Updated to NodeBB v4.3 + New Features

Request Api https Proble QSSlConfiguration

Scheduled Pinned Locked Moved General and Desktop
qsslqnetworkopenssl
8 Posts 2 Posters 3.3k Views 2 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.
  • X Offline
    X Offline
    Xeyos
    wrote on last edited by
    #1

    Hello,
    I am trying to implement the requests in https but I have problems with openssl.
    If I try to set a configuration:
    QSslconfiguration config;
    I have this error
    error: C2079: 'config' uses undefined class 'QSslConfiguration'

    In .pro file i have

    LIBS + = -LC: / OpenSSL-Win64 / lib -lubsec
    INCLUDEPATH + = C: / OpenSSL-Win64 / include \

    How can I do?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Might be a silly question, but did you add #include <QSslConfiguration> in your cpp file ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • X Offline
        X Offline
        Xeyos
        wrote on last edited by
        #3

        Yes is included.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Is it a custom build Qt ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • X Offline
            X Offline
            Xeyos
            wrote on last edited by
            #5

            I try with custom build 5.3.1 mvsc2010, and with a normal 5.3.1

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Did you enable SSL support in your custom build ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • X Offline
                X Offline
                Xeyos
                wrote on last edited by
                #7

                In custom build was not build to me, for this reason I have tried it with version no custom.
                I try in MAC OS system, the problem does not occur.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Just to be sure: it fails to build on Windows even if you use one of the official package ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  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