Qt 5.7 | Qt Widgets | Basic Layouts Example | basiclayouts.pro Example File

Qt 5.7.1 Reference Documentation

# basiclayouts.pro Example File

layouts/basiclayouts/basiclayouts.pro

      QT += widgets

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

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