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
QtWS25 Last Chance

Request Api https Proble QSSlConfiguration

Scheduled Pinned Locked Moved General and Desktop
qsslqnetworkopenssl
8 Posts 2 Posters 3.2k Views
  • 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 19 Jun 2015, 09:43 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 19 Jun 2015, 22:48 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 20 Jun 2015, 07:04 last edited by
        #3

        Yes is included.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 20 Jun 2015, 21:59 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 21 Jun 2015, 09:55 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
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 21 Jun 2015, 21:34 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 22 Jun 2015, 05:50 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
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 22 Jun 2015, 20:57 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

                  5/8

                  21 Jun 2015, 09:55

                  • Login

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