Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# addressbook.pro Example File

itemviews/addressbook/addressbook.pro

     SOURCES   = adddialog.cpp \
                 addresswidget.cpp \
                 main.cpp \
                 mainwindow.cpp \
                 newaddresstab.cpp \
                 tablemodel.cpp
     HEADERS   = adddialog.h \
                 addresswidget.h \
                 mainwindow.h \
                 newaddresstab.h \
                 tablemodel.h

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

     symbian {
         TARGET.UID3 = 0xA000A646
         include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
     }
     maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)