Commit c435f8ef authored by Leena Miettinen's avatar Leena Miettinen
Browse files

Doc: Add information about building the module with CMake


Task-number: QTBUG-81560
Change-Id: I9d75606634da4c604f34913908f97a91797d1813
Reviewed-by: default avatarPaul Wicking <paul.wicking@qt.io>
Reviewed-by: default avatarLeander Beernaert <leander.beernaert@qt.io>
Reviewed-by: default avatarShawn Rutledge <shawn.rutledge@qt.io>
Showing with 10 additions and 2 deletions
...@@ -39,7 +39,8 @@ depends += qtcore \ ...@@ -39,7 +39,8 @@ depends += qtcore \
qtdoc \ qtdoc \
qmake \ qmake \
qtdesigner \ qtdesigner \
qtquick qtquick \
qtcmake
headerdirs += ../api \ headerdirs += ../api \
../quick ../quick
......
find_package(Qt5 COMPONENTS Pdf REQUIRED)
target_link_libraries(mytarget Qt5::Pdf)
...@@ -39,7 +39,12 @@ ...@@ -39,7 +39,12 @@
\l QPdfPageNavigation class handles the navigation through a \l QPdfPageNavigation class handles the navigation through a
PDF document. PDF document.
\section1 Getting Started \include module-use.qdocinc using qt module
\quotefile qtpdf-build.cmake
See also the \l{Build with CMake} overview.
\section2 Building with qmake
To include the definitions of the module's classes, use the To include the definitions of the module's classes, use the
following directive: following directive:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment