[KDE/Mac] QStandardPaths possible solution
René J.V. Bertin
rjvbertin at gmail.com
Sun Jan 11 13:54:54 UTC 2015
On Sunday January 11 2015 13:36:01 David Faure wrote:
Hi David,
> Plugins and other things are installed in version-specific dirs.
> qmake-qt5 -query returns this (on opensuse) :
>
> QT_SYSROOT:
> QT_INSTALL_PREFIX:/usr
> QT_INSTALL_ARCHDATA:/usr/lib64/qt5
> QT_INSTALL_DATA:/usr/share/qt5
> QT_INSTALL_DOCS:/usr/share/doc/packages/qt5
> QT_INSTALL_HEADERS:/usr/include/qt5
> QT_INSTALL_LIBS:/usr/lib64
> QT_INSTALL_LIBEXECS:/usr/lib64/qt5/libexec
> QT_INSTALL_BINS:/usr/lib64/qt5/bin
> QT_INSTALL_TESTS:/usr/tests
> QT_INSTALL_PLUGINS:/usr/lib64/qt5/plugins
> QT_INSTALL_IMPORTS:/usr/lib64/qt5/imports
> QT_INSTALL_QML:/usr/lib64/qt5/qml
> QT_INSTALL_TRANSLATIONS:/usr/share/qt5/translations
> QT_INSTALL_CONFIGURATION:/etc/xdg
> QT_INSTALL_EXAMPLES:/usr/lib64/qt5/examples
> QT_INSTALL_DEMOS:/usr/lib64/qt5/examples
> QT_HOST_PREFIX:/usr
> QT_HOST_DATA:/usr/lib64/qt5
> QT_HOST_BINS:/usr/lib64/qt5/bin
> QT_HOST_LIBS:/usr/lib64
> QMAKE_SPEC:linux-g++
> QMAKE_XSPEC:linux-g++
> QMAKE_VERSION:3.0
> QT_VERSION:5.3.2
At the moment, qmake -query returns this for me:
INCLUDEPATH:/opt/local/include
INCPATH:/opt/local/include
QMAKE_FRAMEWORKPATH:/usr/local/qt/5/lib
QMAKE_LIBDIR:/opt/local/lib
QT_SYSROOT:
QT_INSTALL_PREFIX:/opt/local/libexec/qt5
QT_INSTALL_ARCHDATA:/opt/local/libexec/qt5
QT_INSTALL_DATA:/opt/local/share/qt5
QT_INSTALL_DOCS:/opt/local/share/doc/qt5
QT_INSTALL_HEADERS:/opt/local/include/qt5
QT_INSTALL_LIBS:/opt/local/libexec/qt5/Library/Frameworks
QT_INSTALL_LIBEXECS:/opt/local/libexec/qt5/libexec
QT_INSTALL_BINS:/opt/local/libexec/qt5/bin
QT_INSTALL_TESTS:/opt/local/share/qt5/tests
QT_INSTALL_PLUGINS:/opt/local/share/qt5/plugins
QT_INSTALL_IMPORTS:/opt/local/share/qt5/imports
QT_INSTALL_QML:/opt/local/share/qt5/qml
QT_INSTALL_TRANSLATIONS:/opt/local/share/qt5/translations
QT_INSTALL_CONFIGURATION:/opt/local/etc/qt5
QT_INSTALL_EXAMPLES:/opt/local/share/qt5/examples
QT_INSTALL_DEMOS:/opt/local/share/qt5/examples
QT_HOST_PREFIX:/opt/local/libexec/qt5
QT_HOST_DATA:/opt/local/share/qt5
QT_HOST_BINS:/opt/local/libexec/qt5/bin
QT_HOST_LIBS:/opt/local/libexec/qt5/Library/Frameworks
QMAKE_SPEC:macx-clang
QMAKE_XSPEC:macx-clang
QMAKE_VERSION:3.0
QT_VERSION:5.3.2
The `QMAKE_FRAMEWORKPATH:/usr/local/qt/5/lib` line worries me: it's completely wrong though it does exist. I guess I'm going to have to re-run my port:qt5-mac install without QTDIR set.
R
More information about the kde-mac
mailing list