Re: [Development] Avoid overloading of 'error'

2015-10-29 Thread Matthew Woehlke
On 2015-10-29 14:56, Sergio Martins wrote: > On Wednesday, June 10, 2015 01:55:01 PM Matthew Woehlke wrote: >> relating to the overloaded signals/slots problem in general: >> >> template >> auto qOverload(R (T::*m)(Args...)) -> decltype(m) >> { return m; } >> >> connect(&process, qOverload(

Re: [Development] Avoid overloading of 'error'

2015-10-29 Thread Sergio Martins
On Wednesday, June 10, 2015 01:55:01 PM Matthew Woehlke wrote: > On 2015-06-10 10:20, Koehne Kai wrote: > > Hi, > > > > I'm currently converting a codebase from old-style connects to new-style > > ones. Thanks to Qt Creator's refactoring support this is actually quite > > easy ... it gets ugly tho

Re: [Development] could not find or load the Qt platform plugin "cocoa"

2015-10-29 Thread Gil Moses
Hi Eike, > libqcocoa.dylib does not find @rpath/QtGui.framework/Versions/5/QtGui > What is the RPATH of the executable that you try to run? (check with “otool > -l”, look for LC_RPATH entries) There are no LC_RPATH entries in the output of otool -l, for both my app and libqcocoa.dylib.

Re: [Development] could not find or load the Qt platform plugin "cocoa"

2015-10-29 Thread Ziller Eike
> On Oct 28, 2015, at 3:09 PM, Gil Moses wrote: > > Hi, > > I've built Mac universal binaries of v5.5.1 (built separately for i386 and > x86_64, then used lipo). > Built and ran my Qt app (Xcode 5, Mavericks), and got this error: > > . could not find or load the Qt platform plugin "cocoa". >