Changes between Initial Version and Version 1 of Ticket #50955, comment 4


Ignore:
Timestamp:
Mar 30, 2016, 1:27:04 PM (8 years ago)
Author:
RJVB (René Bertin)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50955, comment 4

    initial v1  
    22
    33In addition: why does this port not use the qmake PortGroup (qmake5, for Qt5)?
     4
     5EDIT:
     6Adding QwtFramework to QWT_CONFIG doesn't change anything in what gets installed. That's the first time I'm seeing this kind of behaviour with a qmake-based project. It looks that I do get a correct build against Qt4 (with the frameworks in Qt's Frameworks directory), but only when I use the qmake PortGroup. Without that, qmake-qt4 complains about the --prefix argument; I'm not sure why that wouldn't happen with the official Qt4 port and PortGroup.
     7
     8In any case, I'd say that qwtconfig.pri should contain `QWT_INSTALL_PREFIX`, `QWT_INSTALL_HEADERS` etc. definitions that are set following the `qt_dir`, `qt_includes_dir` variables from the Qt PortGroup.
     9
     10EDIT2: With Qt5, in order for the frameworks to be installed, one has to use `QT_INSTALL_LIBS` (with my Qt5 build but also with the official 5.4 install I still have around):
     11
     12{{{
     13> /opt/local/libexec/qt5/qmake -query QT_INSTALL_FRAMEWORKS
     14**Unknown**
     15Exit 101
     16}}}
     17
     18Doing this will put the frameworks under ${prefix}/libexec/qt5/, as one would hope.
     19Of course this means different qwtconfig patchfiles are required for Qt4 and Qt5, or a else a reinplace of QT_INSTAL_FRAMEWORKS for Qt5.
     20
     21That does *not* change the issue with the incomplete id in the generated frameworks. I'll look into that, I think there's a module one can include (or config to add) to store an absolute rpath, so that post-destroot magic isn't required.