Qt 5.11 | Qt Widgets | Basic Drawing Example | basicdrawing.pro Example File

Qt 5.11.3 Reference Documentation

# basicdrawing.pro Example File

painting/basicdrawing/basicdrawing.pro

      QT += widgets
      requires(qtConfig(combobox))

      HEADERS       = renderarea.h \
                      window.h
      SOURCES       = main.cpp \
                      renderarea.cpp \
                      window.cpp
      RESOURCES     = basicdrawing.qrc

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