Hi all, In former Qt versions (and in the Carbon Qt 4.5) I do the following to see the source code in the XCode debugger.
- build a debug binary - change the dylib path to the QtGui of the binary using install_name_tool -change <pathTo>/QtGui <pathTo>/QtGui_debug myApp - start the binary and attach the Xcode debugger to it. Works fine. Now, with the Cocoa Qt after changing the dylib path I get a qFatal out of QWidgetPrivate::init() "QWidget: Cannot create a QWidget when no GUI is being used" You can reproduce this by changing the dylib path to QtGui_debug in the examples/opengl/hellogl application binary. I get this error even if I additionally change the pathes of QtOpenGl and QtCore to their debug versions. Of course, I build Qt with the -debug-and-release option (default on Macs) What I am doing wrong? Do I miss something? Kind regards Martin _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
