Phil, On 28 Jun 2013, at 17:39, Phil Thompson wrote: > On Fri, 28 Jun 2013 10:20:24 -0500, William Kyngesburye > <wokl...@kyngchaos.com> wrote: >> Though I see now what you mean by those lines in configure.py - whatever >> you give for --spec will be overridden by that 'darwin' if block. And > if >> it isn't macx-xcode it defaults to whatever Qt5 was compiled with, > probably >> clang++. > > This patch should actually work.
Thanks... it's *still* giving the same response, except when I accidentally knocked something else in configure.py and generated a syntax error (so at least I am editing and running the same file - phew!) - I wonder if something else is pointing to clang++? When I changed > if qt_config.QMAKE_SPEC == 'macx-xcode': > # This will exist (and we can't check anyway). > self.qmake_spec = 'macx-clang' to > if qt_config.QMAKE_SPEC == 'macx-xcode': > # This will exist (and we can't check anyway). > self.qmake_spec = 'macx-llvm' it didn't work either I'm now trying to follow through what configuration.py is doing... it seems my default Qt is still 4.7.4, but I should be pointing PyQt 5 at Qt 5. running 'qmake -query' using the Qt 5 qmake shows that 'QMAKE_SPEC:macx-clang' and 'QMAKE_XSPEC:macx_clang'. Then there is this (in configuration.py) > # The default qmake spec. > if self.py_platform == 'win32': > if self.py_version >= 0x030300: > self.qmake_spec = 'win32-msvc2010' > elif self.py_version >= 0x020600: > self.qmake_spec = 'win32-msvc2008' > elif self.py_version >= 0x020400: > self.qmake_spec = 'win32-msvc.net' > else: > self.qmake_spec = 'win32-msvc' > else: > # Use the Qt default. (We may update it for MacOS/X later.) > self.qmake_spec = '' so that's where self.qmake_spec is coming from (until it gets set to 'macx-clang' later on), and I'm setting opts.qmakespec through the command line, which is overwriting self.qmake_spec - so that *should* work, but somehow doesn't ... Maybe I should just go with Qt 4.8 and PyQt 4.8 for the moment - I've got to the end of my ability to figure this out again... -- Anzir Boodoo, PhD student The Institute for Transport Studies, The University of Leeds, LEEDS LS2 9JT QUEEN'S ANNIVERSARY PRIZE WINNERS - 'sustained transport excellence' - www.its.leeds.ac.uk/queensprize _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt