Qt 4.8: dombookmarks.pro Example File (xml/dombookmarks/dombookmarks.pro)

Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# dombookmarks.pro Example File

xml/dombookmarks/dombookmarks.pro

     HEADERS       = mainwindow.h \
                     xbeltree.h
     SOURCES       = main.cpp \
                     mainwindow.cpp \
                     xbeltree.cpp
     QT           += xml

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/xml/dombookmarks
     sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS dombookmarks.pro *.xbel
     sources.path = $$[QT_INSTALL_EXAMPLES]/xml/dombookmarks
     INSTALLS += target sources

     symbian: {
         include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
         addFiles.files = frank.xbel jennifer.xbel
         addFiles.path = files
         DEPLOYMENT += addFiles
     }

     wince*: {
         addFiles.files = frank.xbel jennifer.xbel
         addFiles.path = "\\My Documents"
         DEPLOYMENT += addFiles
     }
     maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)