screenshot.pro Example File | Qt Widgets 5.12.9

- Qt 5.12
- Qt Widgets
- Screenshot Example
- screenshot.pro Example File
- Qt 5.12.9 Reference Documentation

# screenshot.pro Example File

desktop/screenshot/screenshot.pro

     QT += widgets
     requires(qtConfig(filedialog))

     HEADERS             = screenshot.h
     SOURCES             = main.cpp \
                           screenshot.cpp

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/widgets/desktop/screenshot
     INSTALLS += target