2011-04-27 10:05:43 +00:00
|
|
|
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]/qtbase/widgets/icons
|
|
|
|
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS icons.pro images
|
|
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/icons
|
|
|
|
INSTALLS += target sources
|
|
|
|
|
|
|
|
|
|
|
|
wince*: {
|
|
|
|
imageFiles.files = images/*
|
|
|
|
wincewm*: {
|
|
|
|
imageFiles.path = "/My Documents/My Pictures"
|
|
|
|
} else {
|
|
|
|
imageFiles.path = images
|
|
|
|
}
|
|
|
|
DEPLOYMENT += imageFiles
|
|
|
|
}
|
2011-05-07 21:50:03 +00:00
|
|
|
QT += widgets
|
2011-04-27 17:16:41 +00:00
|
|
|
|
|
|
|
simulator: warning(This example might not fully work on Simulator platform)
|