Details
-
Bug
-
Resolution: Won't Do
-
P2: Important
-
6.4.0
Description
Qmltc does not know about forward references and always tries to include all the private headers for all the types it finds.
This is a problem because a simple project using an 'Item' end up requiring linking against Qt::GuiPrivate (while without compiler it works fine just being linked to Qt::Quick, which is the expected outcome).
See attached project, reproduce by enabling the type compiler in the cmake.
Attachments
For Gerrit Dashboard: QTBUG-108872 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
450419,4 | WIP: qmtc: Add private libraries in cmake api | dev | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |