Trouble with pre-compiled headers on macOS

• Dec 31, 2017 - 12:51

Trying to compile on macOS using make instead of Xcode (I have Xcode's command line tools installed) but I'm getting this error:

In file included from all.h:44:
/Users//lib/Qt/5.10.0/clang_64/lib/QtGui.framework/QtGui:1:1: error: source file is not valid UTF-8
<98>
^
/Users//lib/Qt/5.10.0/clang_64/lib/QtGui.framework/QtGui:1:2: error: source file is not valid UTF-8
<98>
    ^

It seems that the compiler thinks QtGui is an ordinary .h text header when it's actually already compiled.

Any ideas how to proceed?

Attachment Size
compile-log-macos.txt.zip 74.76 KB

Comments

I missed this post. Tech Preview forum is a better place for development questions.

There is no support in the CMake files to compile with make. It should be possible but all cmake files assume that XCode is used right now. It also means that Qt Creator cannot be used.

Do you still have an unanswered question? Please log in first to post your question.