fontsampler.pro Example File | Qt Widgets 5.12.4

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

Qt 5.12.4 Reference Documentation

# fontsampler.pro Example File

painting/fontsampler/fontsampler.pro

      QT += widgets
      requires(qtConfig(combobox))
      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