Qt 5.6 | Qt Widgets | Tool Tips Example | tooltips.pro Example File

Qt 5.6.2 Reference Documentation

# tooltips.pro Example File

widgets/tooltips/tooltips.pro

      QT += widgets

      HEADERS       = shapeitem.h \
                      sortingbox.h
      SOURCES       = main.cpp \
                      shapeitem.cpp \
                      sortingbox.cpp
      RESOURCES     = tooltips.qrc

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