diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2020-01-27 13:43:04 +0100 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2020-02-03 15:20:11 +0100 |
commit | c435f8efa2e30016c58f150a1ebe1ca560bfd2dc (patch) | |
tree | 57c9a898813b94d1dd0e70f921669b213bede477 /src/pdf/doc/snippets/qtpdf-build.cmake | |
parent | ccbd6fbdbe071f42e1c060ca579786758701f358 (diff) |
Doc: Add information about building the module with CMake
Task-number: QTBUG-81560
Change-Id: I9d75606634da4c604f34913908f97a91797d1813
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/pdf/doc/snippets/qtpdf-build.cmake')
-rw-r--r-- | src/pdf/doc/snippets/qtpdf-build.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pdf/doc/snippets/qtpdf-build.cmake b/src/pdf/doc/snippets/qtpdf-build.cmake new file mode 100644 index 000000000..d46b9c3ee --- /dev/null +++ b/src/pdf/doc/snippets/qtpdf-build.cmake @@ -0,0 +1,2 @@ +find_package(Qt5 COMPONENTS Pdf REQUIRED) +target_link_libraries(mytarget Qt5::Pdf) |