Qt 4.8: querymodel.pro Example File (sql/querymodel/querymodel.pro)

Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# querymodel.pro Example File

sql/querymodel/querymodel.pro

     HEADERS       = ../connection.h \
                     customsqlmodel.h \
                     editablesqlmodel.h
     SOURCES       = customsqlmodel.cpp \
                     editablesqlmodel.cpp \
                     main.cpp
     QT           += sql

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/sql/querymodel
     sources.files = $$SOURCES *.h $$RESOURCES $$FORMS querymodel.pro
     sources.path = $$[QT_INSTALL_EXAMPLES]/sql/querymodel
     INSTALLS += target sources

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