icons.pro Example File
widgets/icons/icons.pro
HEADERS = iconpreviewarea.h \
iconsizespinbox.h \
imagedelegate.h \
mainwindow.h
SOURCES = iconpreviewarea.cpp \
iconsizespinbox.cpp \
imagedelegate.cpp \
main.cpp \
mainwindow.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/icons
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS icons.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/widgets/icons
INSTALLS += target sources
symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
wince*: {
imageFiles.sources = images/*
wincewm*: {
imageFiles.path = "/My Documents/My Pictures"
} else {
imageFiles.path = images
}
DEPLOYMENT += imageFiles
}
[+] Documentation Feedback