redditclient.pro Example File | Qt Network Authorization 5.9

Qt Documentation (Technology Preview) | Qt Network Authorization | Reddit Example | redditclient.pro Example File

Qt 5.9.2 Reference Documentation

# redditclient.pro Example File

redditclient/redditclient.pro

      QT += widgets network networkauth

      TARGET = redditclient

      # Input
      SOURCES += main.cpp \
          redditmodel.cpp \
          redditwrapper.cpp

      HEADERS += \
          redditmodel.h \
          redditwrapper.h

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/oauth/redditclient
      INSTALLS += target