Commit Graph

2 Commits

Author SHA1 Message Date
Kai Köhne 8f3d743da9 documentviewer: Clean up use of printsupport macro
* Do not use the QT_ prefix, as that is reserved for Qt itself,
  not client code (which an example is).
* Do not define the define on a global level, but as a PUBLIC
  target definition for the abstractviewer library.

Pick-to: 6.10
Change-Id: I01a001b0c0706e9f951118472fe1a62ff68a2e4e
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2025-07-10 14:20:55 +02:00
Kai Köhne 46aa07165f documentviewer: Make q3dviewer path capitalized
This fixes a cmake warning that the output path does not match

     The Q3DViewerModule target is a QML module with target path Q3DViewer.  It
     uses an OUTPUT_DIRECTORY of
     $HOME/dev/qt/dev/src/qtdoc/examples/demos/documentviewer/build/Qt_6_10_0_build-Debug/plugins/q3dviewer,
     which should end in the same target path, but doesn't.  Tooling such as
     qmllint may not work correctly.

Pick-to: 6.9
Change-Id: I33e402a52e3ee5747da428b9a74121e35345f63d
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2025-05-19 11:34:04 +02:00