Missing subdirectory on Mac OS X

  • I am using Mac OS Sierra with Qt 5.7.0.
    Qt is installed in /Users/me/Qt
    QDate header is located in "Qt/5.7.clang_64/lib/QtCore.framework/Versions/5/Headers"
    Hardcoded in QDate is the line "#include "qdatetime.h"
    Hardcoded in "qdatetime.h" is "#include <QtCore/qstring.h>"
    However clang reports many errors because qstring.h is not found. There are no subdirectories below "Headers".
    Should I be concerned about this???

  • Hi, the reason for no subdirectories below "Headers" is that it's not a directory, it's a symbolic link to the directory "Versions/Current/Headers" and inside that you'll find qstring.h.
    Maybe you copied all the Qt files from another place? Sometimes the symbolic links are not included when you copy, you could try reinstalling 5.7.0.

  • Thanks for the answer. I will adjust my toolchain.

Log in to reply