diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-01-24 11:27:17 +0100 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2019-11-25 12:01:39 +0100 |
commit | f8d12697a3830d331589229aec6d83e6686f77fc (patch) | |
tree | e3ccedeaefddc2cf6241c16302bc875cf7b2e882 /examples/pdfwidgets/pdfviewer/pdfviewer.pro | |
parent | 34f81299d8655c637526dcd0dfe522b72c58f1a0 (diff) |
install the pdfviewer example; provide examples subdirs .pro files
Actually moving the files is unfortunately necessary because of a rule
about having the source directory structure match the intended installation
directory structure. It was intended to differentiate widget examples from
future QtQuick examples, but now that distiction is being unfortunately lost
in order to keep the directory structure as shallow as it can still be, after
having to comply with the first rule.
Change-Id: I831227d2be3c8f5cab55a98a531e16bcb3aa0303
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'examples/pdfwidgets/pdfviewer/pdfviewer.pro')
-rw-r--r-- | examples/pdfwidgets/pdfviewer/pdfviewer.pro | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/pdfwidgets/pdfviewer/pdfviewer.pro b/examples/pdfwidgets/pdfviewer/pdfviewer.pro new file mode 100644 index 000000000..10cacce6e --- /dev/null +++ b/examples/pdfwidgets/pdfviewer/pdfviewer.pro @@ -0,0 +1,21 @@ +QT += core gui widgets pdf +TARGET = pdfviewer +TEMPLATE = app + +SOURCES += main.cpp\ + mainwindow.cpp \ + sequentialpagewidget.cpp \ + pagerenderer.cpp + +HEADERS += mainwindow.h \ + sequentialpagewidget.h \ + pagerenderer.h + +FORMS += mainwindow.ui + +RESOURCES += \ + resources.qrc + +target.path = $$[QT_INSTALL_EXAMPLES]/pdf/pdfviewer +INSTALLS += target + |