Qt 5.11 | Qt Core | MIME Type Browser Example | mimetypebrowser.pro Example File

Qt 5.11.3 Reference Documentation

# mimetypebrowser.pro Example File

mimetypes/mimetypebrowser/mimetypebrowser.pro

      TEMPLATE = app
      QT += widgets
      requires(qtConfig(treeview))
      CONFIG -= app_bundle
      CONFIG += c++11

      SOURCES += \
          main.cpp \
          mimetypemodel.cpp \
          mainwindow.cpp

      HEADERS += \
          mimetypemodel.h \
          mainwindow.h

      target.path = $$[QT_INSTALL_EXAMPLES]/corelib/mimetypes/mimetypebrowser
      INSTALLS += target