Qt 4.7: codeeditor.pro Example File (widgets/codeeditor/codeeditor.pro)

Qt Reference Documentation

# codeeditor.pro Example File

widgets/codeeditor/codeeditor.pro

     HEADERS     = codeeditor.h
     SOURCES     = main.cpp \
                   codeeditor.cpp
     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/widgets/codeeditor
     sources.files = $$SOURCES $$HEADERS *.pro
     sources.path = $$[QT_INSTALL_EXAMPLES]/widgets/codeeditor
     INSTALLS += target sources