spreadsheet.pro Example File | Qt Widgets 5.12.10

- Qt 5.12
- Qt Widgets
- Spreadsheet
- spreadsheet.pro Example File
- Qt 5.12.10 Reference Documentation

# spreadsheet.pro Example File

itemviews/spreadsheet/spreadsheet.pro

     QT += widgets
     requires(qtConfig(treeview))
     qtHaveModule(printsupport): QT += printsupport
     #unix:qtHaveModule(dbus): QT += dbus widgets

     HEADERS += printview.h spreadsheet.h spreadsheetdelegate.h spreadsheetitem.h
     SOURCES += main.cpp \
                printview.cpp \
                spreadsheet.cpp \
                spreadsheetdelegate.cpp \
                spreadsheetitem.cpp
     RESOURCES += spreadsheet.qrc

     build_all:!build_pass {
         CONFIG -= build_all
         CONFIG += release
     }

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/spreadsheet
     INSTALLS += target