Qt 5.11 | Qt Widgets | Digital Clock Example | digitalclock.pro Example File

Qt 5.11.3 Reference Documentation

# digitalclock.pro Example File

widgets/digitalclock/digitalclock.pro

      QT += widgets

      HEADERS       = digitalclock.h
      SOURCES       = digitalclock.cpp \
                      main.cpp

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/digitalclock
      INSTALLS += target