Qt Reference Documentation

editabletreemodel.pro Example File

itemviews/editabletreemodel/editabletreemodel.pro
 FORMS       = mainwindow.ui
 HEADERS     = mainwindow.h \
               treeitem.h \
               treemodel.h
 RESOURCES   = editabletreemodel.qrc
 SOURCES     = mainwindow.cpp \
               treeitem.cpp \
               treemodel.cpp \
               main.cpp
 CONFIG  += qt

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/itemviews/editabletreemodel
 sources.files = $$FORMS $$HEADERS $$RESOURCES $$SOURCES *.pro *.txt
 sources.path = $$[QT_INSTALL_EXAMPLES]/itemviews/editabletreemodel
 INSTALLS += target sources

 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.