After installing
    qt-opensource-mac-x64-clang-5.4.2.dmg
(size:616,135,300 bytes) and setting
    export
PKG_CONFIG_PATH="/usr/local/Qt5.4.2/5.4/clang_64/lib/pkgconfig:${PKG_CONFIG_PATH}"
in .bash_profile, I am expecting that typing
    pkg-config --cflags Qt5Gui Qt5Widgets Qt5Core
    pkg-config --libs Qt5Gui Qt5Widgets Qt5Core
will produce appropriate settings (when compiling without qmake).

The output of the latter (--libs) makes sense:
    -F/usr/local/Qt5.4.2/5.4/clang_64/lib -framework QtWidgets
    -F/usr/local/Qt5.4.2/5.4/clang_64/lib -framework QtGui
    -F/usr/local/Qt5.4.2/5.4/clang_64/lib -framework QtCore

but the output of the former (--cflags):
    -I/usr/local/Qt5.4.2/5.4/clang_64/include/QtWidgets
    -I/usr/local/Qt5.4.2/5.4/clang_64/include
    -I/usr/local/Qt5.4.2/5.4/clang_64/include/QtGui
    -I/usr/local/Qt5.4.2/5.4/clang_64/include
    -I/usr/local/Qt5.4.2/5.4/clang_64/include/QtCore
    -I/usr/local/Qt5.4.2/5.4/clang_64/include
seems wrong because /usr/local/Qt5.4.2/5.4/clang_64/include has
the four folders:
    QtOpenGLExtensions QtPlatformHeaders QtPlatformSupport QtUiTools
but doesn't have QtWidgets, QtGui, or QtCore.

Where should I be looking to fix this problem? I'm on OS X 10.10.5
(Yosemite).

Sherif Ghali
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to