Oh! Your final include path (Building with CXXFLAGS: ...) includes -I/usr/local/opt/qt/include, which is going to use Homebrew's Qt5 install. I wonder how that got on there? It isn't in your CFLAGS/CXXFLAGS, since you're setting those manually. Maybe our Qt scons code is setting that erroneously, but QTDIR is properly detected as /usr/local/Cellar/qt@4/4.8. 7_3. On Mon, Apr 9, 2018 at 2:32 PM, RJ Skerry-Ryan