Qt 4.8: customclass.pro Example File (script/customclass/customclass.pro)

Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# customclass.pro Example File

script/customclass/customclass.pro

     QT = core script
     win32: CONFIG += console
     mac:CONFIG -= app_bundle

     SOURCES += main.cpp

     include(bytearrayclass.pri)

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/script/customclass
     sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro *.pri
     sources.path = $$[QT_INSTALL_EXAMPLES]/script/customclass
     INSTALLS += target sources

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

     symbian: warning(This example does not work on Symbian platform)