Home · All Classes · All Functions · Overviews

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
 }


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.6.0