[KDE/Mac] QStandardPaths possible solution

Marko Käning mk-lists at email.de
Thu Jan 8 19:23:23 UTC 2015


On 08 Jan 2015, at 19:49 , Jeremy Whiting <jpwhiting at kde.org> wrote:

> QT_INSTALL_PREFIX


In the port qt5-mac you find this configure option being set:

       -prefix         ${qt_dir}           

Later on you find this:

                reinplace \
                    "s|^set(_qt5_corelib_extra_includes \"\${_qt5Core_install_prefix}/share/qt5//mkspecs/macx-clang.*\")$|set(_qt5_corelib_extra_includes \"\${_qt5Core_install_prefix}/share/qt5//mkspecs/macx-clang-32\" \"\${_qt5Core_install_prefix}/share/qt5//mkspecs/macx-clang\")|" \
                    ${dir}${qt_frameworks_dir}/cmake/Qt5Core/Qt5CoreConfigExtrasMkspecDir.cmake

which seems to indicate that the variable ‘_qt5Core_install_prefix' is internally being used by CMake.

I figure this could be used to pass its contents via CMake into our current QSP patch! :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-mac/attachments/20150108/106c1f59/attachment-0001.html>


More information about the kde-mac mailing list