Qt Reference Documentation

desktopservices.pro Example File

demos/embedded/desktopservices/desktopservices.pro
 TEMPLATE = app
 TARGET =
 INCLUDEPATH += .

 HEADERS += desktopwidget.h contenttab.h linktab.h
 SOURCES += desktopwidget.cpp contenttab.cpp linktab.cpp main.cpp

 RESOURCES += desktopservices.qrc

 music.sources = data/*.mp3 data/*.wav
 image.sources = data/*.png

 target.path = $$[QT_INSTALL_DEMOS]/embedded/desktopservices
 sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro
 sources.path = $$[QT_INSTALL_DEMOS]/embedded/desktopservices

 symbian {
     TARGET.UID3 = 0xA000C611
     include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri)
     ICON = ./resources/heart.svg
     music.path = /data/sounds/
     image.path = /data/images/
     DEPLOYMENT += music image
 }

 wince*{
     music.path = "\\My Documents\\My Music"
     image.path = "\\My Documents\\My Pictures"
     DEPLOYMENT += music image
 }

 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.

[0]; s.parentNode.insertBefore(ga, s); })();