Qt Reference Documentation

methods.pro Example File

declarative/cppextensions/referenceexamples/methods/methods.pro
 TEMPLATE = app
 TARGET = methods
 DEPENDPATH += .
 INCLUDEPATH += .
 QT += declarative

 # Input
 SOURCES += main.cpp \
            person.cpp \
            birthdayparty.cpp
 HEADERS += person.h \
            birthdayparty.h
 RESOURCES += methods.qrc

 target.path = $$[QT_INSTALL_EXAMPLES]/declarative/extending/methods
 sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS methods.pro
 sources.path = $$[QT_INSTALL_EXAMPLES]/declarative/extending/methods
 INSTALLS += target sources
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.