Opened 12 years ago

Closed 12 years ago

#36225 closed defect (fixed)

qt4-mac does not install private headers required by QmlDesigner plugin of qt4-creator-mac

Reported by: macports@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: qt4-mac

Description

When installing qt4-creator-mac, the QmlDesigner plugin is not built and the build log contains the following warning:

Project WARNING: QmlDesigner plugin has been disabled.
Project WARNING: The plugin depends on private headers from QtDeclarative module.
Project WARNING: To enable it, pass 'QT_PRIVATE_HEADERS=$QTDIR/include' to qmake, where $QTDIR is the source directory of qt.

The folks at Gentoo address this issue by allowing to install the required private headers along with Qt (see http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-libs/qt-core/qt-core-4.8.3-r1.ebuild?view=markup, lines 124ff.). For earlier versions of Qt, they made this behaviour dependent on a USE-flag (variant), but as of version 4.8, they always install those headers by default.

For adoption in MacPorts, the latter approach would probably be the more desirable one, since we have no real way to make one port depend on a specific variant of another port. I'm going to add a respective patch shortly.

Attachments (1)

qt4-mac-private-headers.patch (1.1 KB) - added by macports@… 12 years ago.
Portfile patch

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by macports@…

Portfile patch

comment:1 Changed 12 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:2 Changed 12 years ago by michaelld (Michael Dickens)

Interesting; let me play around with this a bit.

comment:3 Changed 12 years ago by mf2k (Frank Schima)

Cc: michaelld@… macports@… removed
Owner: changed from macports-tickets@… to michaelld@…

As the reporter, you don't need to Cc yourself.

comment:4 Changed 12 years ago by michaelld (Michael Dickens)

I confirm the issue and the fix. I'll include this patch in the next qt4-mac update, which will probably be tomorrow.

comment:5 Changed 12 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

Fixed in r97950.

Note: See TracTickets for help on using tickets.