Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I ran into the same problem. sipconfig generates the Makefile. Therefore, tweaking cmake flags does not work. It seems, homebrew's current (bottled) version of sip (418.1) is not fully compatible with homebrew's current version of qt5 (5.7.1_1). I finally ended up editing the configuration in sipconfig.py. The changes I made to

/usr/local/Cellar/sip/4.18.1/lib/python2.7/site-packages/sipconfig.py

are: Inside _pkg_config

  'platform':           'macx-clang++',

and

  'qt_framework':       1,

Inside _default_macros

  'CXXFLAGS':                 '-pipe -std=c++11',

With these changes, the generated Makefiles worked.