mirror of https://github.com/qt/qtdoc.git
Adapt the logic to install and detect especially the plugins libs: * Do not just compile them into the app build folder, but keep the libs separate under the 'plugins' direcory * At installation time, follow the logic of *deployqt for Qt plugins, and store them in CMAKE_INSTALL_PREFIX/plugins (Linux, Windows) or Document Viewer.app/Contents/Plugins (macOS). Unfortunately, this all requires different look ups at runtime for all operating systems. For macOS and Windows, we furthermore need to check both for valid paths with an installed build, and an un-installed build. While at it, move the install logic to app/CMakeLists.txt, so that there is less repetition. An alternative approach would be to calculate the relative paths at configure time, and either pass on command line or in a created header file. Anyhow, the current approach is more compact. Pick-to: 6.10 Fixes: QTBUG-138476 Change-Id: I467d3bd4e14ef6b8b747bceb7177837e2edd3b8c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> |
||
---|---|---|
.. | ||
Q3DViewer | ||
imageviewer | ||
jsonviewer | ||
pdfviewer | ||
txtviewer | ||
CMakeLists.txt |