Qt 5.7 | Qt QML | Extending QML - Methods Example | methods.pro Example File

Qt 5.7.1 Reference Documentation

# methods.pro Example File

referenceexamples/methods/methods.pro

      QT = core qml

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

      target.path = $$[QT_INSTALL_EXAMPLES]/qml/referenceexamples/methods
      INSTALLS += target