Qt 4.8: icons.pro Example File (widgets/icons/icons.pro)

Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# 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.files = images/*
         wincewm*: {
             imageFiles.path = "/My Documents/My Pictures"
         } else {
             imageFiles.path    = images
         }
         DEPLOYMENT += imageFiles
     }
     maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)

     symbian: warning(This example might not fully work on Symbian platform)
     maemo5: warning(This example might not fully work on Maemo platform)
     simulator: warning(This example might not fully work on Simulator platform)