Icons Example | Qt Widgets 5.13.0

Qt 5.13 | Qt Widgets | Icons Example

Qt 5.13.0 Reference Documentation

# Icons Example

      QT += widgets
      requires(qtConfig(combobox))

      HEADERS       = iconpreviewarea.h \
                      iconsizespinbox.h \
                      imagedelegate.h \
                      mainwindow.h
      SOURCES       = iconpreviewarea.cpp \
                      iconsizespinbox.cpp \
                      imagedelegate.cpp \
                      main.cpp \
                      mainwindow.cpp

      DEFINES += SRCDIR=\\\"$$PWD/\\\"

      EXAMPLE_FILES = images/*

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