Qt 5.6 | Qt Widgets | Font Sampler Example | fontsampler.pro Example File

Qt 5.6.2 Reference Documentation

# fontsampler.pro Example File

painting/fontsampler/fontsampler.pro

      QT += widgets
      qtHaveModule(printsupport): QT += printsupport

      FORMS     = mainwindowbase.ui
      HEADERS   = mainwindow.h
      SOURCES   = main.cpp \
                  mainwindow.cpp

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