1 2 3 4 5 6 7 8 9 10 11
HEADERS = ../connection.h SOURCES = tablemodel.cpp QT += sql # install target.path = $$[QT_INSTALL_EXAMPLES]/sql/tablemodel sources.files = $$SOURCES *.h $$RESOURCES $$FORMS tablemodel.pro sources.path = $$[QT_INSTALL_EXAMPLES]/sql/tablemodel INSTALLS += target sources include($$QT_SOURCE_TREE/examples/examplebase.pri)