[Qgis-developer] 1 Mac section was skipped in r15383

Tom Elwertowski telwertowski at comcast.net
Tue Mar 8 11:29:33 EST 2011


The following workaround may shed some light on the source of the problem:

Comment out the first line of retranslateUI in ui_ggisapp.h 
(MainWindow->setWindowTitle)

This suggests to me that something needed by setWindowTitle for this 
object may not be initialized yet.

Tom


William Kyngesburye wrote:
> On Mar 8, 2011, at 1:43 AM, Martin Dobias wrote:
>
>> On Tue, Mar 8, 2011 at 4:55 AM, William Kyngesburye
>> <woklist at kyngchaos.com>  wrote:
>>> Lines 806-826, still some old shortcuts->... stuff here.  It won't compile.
>>
>> Hi William,
>>
>> r15387 should fix that.
>>
>> Martin
>
> It compiles now.  But something is wrong, I think with that whole ui file change - crash for me on OS X:
>
> 0   QtGui                         0x000000010144c4a7 QAction::setText(QString const&) + 23
> 1   org.qgis.qgis                 0x0000000100032a4e QgisApp::changeEvent(QEvent*) + 118
> 2   QtGui                         0x00000001014a8c8d QWidget::event(QEvent*) + 1341
> 3   QtGui                         0x000000010183ab3b QMainWindow::event(QEvent*) + 219
> 4   QtGui                         0x000000010145150d QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189
> 5   QtGui                         0x000000010145753d QApplication::notify(QObject*, QEvent*) + 349
> 6   libqgis_core.1.7.0.dylib      0x0000000100767d62 QgsApplication::notify(QObject*, QEvent*) + 28
> 7   QtCore                        0x000000010110469c QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
> 8   QtGui                         0x000000010149c82d QWidget::setWindowTitle(QString const&) + 237
> 9   org.qgis.qgis                 0x000000010003e657 Ui_MainWindow::retranslateUi(QMainWindow*) + 67
> 10  org.qgis.qgis                 0x000000010004d947 Ui_MainWindow::setupUi(QMainWindow*) + 40091
> 11  org.qgis.qgis                 0x000000010002974e QgisApp::QgisApp(QSplashScreen*, bool, QWidget*, QFlags<Qt::WindowType>) + 518
> 12  org.qgis.qgis                 0x0000000100011f53 main + 6753
> 13  org.qgis.qgis                 0x000000010000fdac start + 52
>
>
> -----
> William Kyngesburye<kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> "Oh, look, I seem to have fallen down a deep, dark hole.  Now what does that remind me of?  Ah, yes - life."
>
> - Marvin
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



More information about the Qgis-developer mailing list