diff options
author | Tim Blechmann <[email protected]> | 2025-06-03 11:50:06 +0800 |
---|---|---|
committer | Tim Blechmann <[email protected]> | 2025-06-04 08:16:14 +0800 |
commit | 1dbe52965e034a24d13c71be7feea7447b1aa01a (patch) | |
tree | 25a5f650f9cf5d232ed8718dc08a870fc82d1f33 | |
parent | 183573bc3f444be3503f493371c1604a380290b2 (diff) |
PdfWidgets and QdfQuick should publicly depend on Qt::Pdf/Quick and only
privately on PdfPrivate / QuickPrivate
Amends 209778ed9a167c156b448689191d2a6a381a6880
Fixes: QTBUG-135974
Pick-to: 6.9 6.10
Change-Id: I9cdcc6d6fd6cd0a11691025580f2fd4a41325282
Reviewed-by: Alexandru Croitor <[email protected]>
-rw-r--r-- | src/pdfquick/CMakeLists.txt | 8 | ||||
-rw-r--r-- | src/pdfwidgets/CMakeLists.txt | 3 | ||||
-rw-r--r-- | tests/auto/pdfquick/multipageview/CMakeLists.txt | 1 |
3 files changed, 10 insertions, 2 deletions
diff --git a/src/pdfquick/CMakeLists.txt b/src/pdfquick/CMakeLists.txt index e52d26f44..5da3d53f9 100644 --- a/src/pdfquick/CMakeLists.txt +++ b/src/pdfquick/CMakeLists.txt @@ -34,11 +34,17 @@ qt_internal_add_qml_module(PdfQuick qtpdfquickglobal_p.h INCLUDE_DIRECTORIES ../3rdparty/chromium - PUBLIC_LIBRARIES + LIBRARIES + Qt::PdfPrivate Qt::QuickPrivate + PRIVATE_MODULE_INTERFACE Qt::PdfPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES Qt::Core Qt::Gui + Qt::Pdf Qt::Qml + Qt::Quick NO_GENERATE_CPP_EXPORTS ) diff --git a/src/pdfwidgets/CMakeLists.txt b/src/pdfwidgets/CMakeLists.txt index 992874354..c7a7780ea 100644 --- a/src/pdfwidgets/CMakeLists.txt +++ b/src/pdfwidgets/CMakeLists.txt @@ -9,11 +9,12 @@ qt_internal_add_module(PdfWidgets qpdfview.cpp qpdfview.h qpdfview_p.h qtpdfwidgetsglobal.h LIBRARIES + Qt::PdfPrivate Qt::WidgetsPrivate PUBLIC_LIBRARIES Qt::Core Qt::Gui + Qt::Pdf Qt::Widgets - Qt::PdfPrivate NO_GENERATE_CPP_EXPORTS ) diff --git a/tests/auto/pdfquick/multipageview/CMakeLists.txt b/tests/auto/pdfquick/multipageview/CMakeLists.txt index 50f7d7d8f..010cefdb0 100644 --- a/tests/auto/pdfquick/multipageview/CMakeLists.txt +++ b/tests/auto/pdfquick/multipageview/CMakeLists.txt @@ -11,6 +11,7 @@ qt_internal_add_test(tst_multipageview LIBRARIES Qt::Gui Qt::Quick + Qt::PdfPrivate Qt::PdfQuickPrivate TESTDATA ${test_data} ) |