Qt 5.11 | Qt Network | Secure Socket Client Example | securesocketclient.pro Example File

Qt 5.11.3 Reference Documentation

# securesocketclient.pro Example File

securesocketclient/securesocketclient.pro

      requires(qtHaveModule(network))

      HEADERS   += certificateinfo.h \
                   sslclient.h
      SOURCES   += certificateinfo.cpp \
                   main.cpp \
                   sslclient.cpp
      RESOURCES += securesocketclient.qrc
      FORMS     += certificateinfo.ui \
                   sslclient.ui \
                   sslerrors.ui
      QT        += network widgets
      requires(qtConfig(listwidget))
      requires(qtConfig(combobox))

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/network/securesocketclient
      INSTALLS += target