<html>
<head>
<style type="text/css">
<!--
p { white-space: pre-wrap }
li { white-space: pre-wrap }
-->
</style>
</head>
<body style="line-height: normal; margin-right: 4px; font-size: 10pt; font-weight: 400; margin-left: 4px; font-family: Liberation Sans; font-style: normal; margin-bottom: 1px; margin-top: 4px; font-variant: normal" content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<p style="margin-bottom: 0; margin-top: 0">
<font size="2" face="Dialog">Zeljko</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font size="2" face="Dialog">I have downloaded the binaries from Den's page and tried both v2.4 and v2.1 and both crash with the same error. So I am hoping that a locally compiled version will fix the issue. I am running QT 4.7. I am looking for more detailed instructions on how to build the library.</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font size="2" face="Dialog">Johan</font><br><br>>>> On 12/01/2011 at 12:56, in message <201112011156.23880.zeljko@holobit.net>, zeljko <zeljko@holobit.net> wrote:<br> </p>
<table border="0" style="margin-top: 0; margin-right: 0; margin-left: 15px; font-size: 1em; margin-bottom: 0" bgcolor="#f3f3f3">
<tr>
<td>
<div style="padding-left: 7px; border-left: solid 1px #050505">
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
On Thursday 01 of December 2011 11:17:17 Johan Kotze wrote: </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> I am trying to run the Lazarus IDE in with the qt widget set as I am using </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> openSuSE 11.4 (64bit) with KDE. I successfully compiled Lazarus for QT, </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> but when I start it, it crashes with the following error: </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
<br>
</p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
Why do you want to compile your own bindings ? </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
I'm using binary one from Den's page (v.2.4) and it works perfect on fresh install of Fedora 16 64bit + Qt-4.8. </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
Also for bindings build you need qt sources afaik. </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
<br>
</p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
<br>
</p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
zeljko </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
<br>
</p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> TLazarusManager.Run starting /home/jkotze/.lazarus/bin/lazarus ... </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> TMainIDE.ParseCmdLineOptions: </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> PrimaryConfigPath="/home/jkotze/.lazarus" </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> SecondaryConfigPath="/etc/lazarus" </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> TMainIDE.DoOpenProjectFile Form2:TForm2 TDesigner </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> QPainter::end: Painter ended with 4 saved states </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> TApplication.HandleException Access violation </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> Stack trace: </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> $00007F189EB2F070 </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> QWidget::repaint: Recursive repaint detected </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> QPainter::end: Painter ended with 4 saved states </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> TApplication.HandleException: there was another exception during showing </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> the first exception Stack trace: </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> $00007F189EB2F070 </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> [TMainIDE.Destroy] A </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> [TMainIDE.Destroy] B -> inherited Destroy... TMainIDE </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> [TMainIDE.Destroy] END </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> Some research have shown that this is most likely due to the libQt4pas not </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> compiled with the -mstackrealign option. I am trying to compile libQt4pas, </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> but the instructions are a bit on the skimpy side and I don't know what to </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> do. </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> I have downloaded the source and ran qmake - query in the /src directory. </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> That produced the following: </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> QT_INSTALL_PREFIX:/usr </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> QT_INSTALL_DATA:/usr/share/qt4/ </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> QT_INSTALL_DOCS:/usr/share/doc/packages/libqt4 </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> QT_INSTALL_HEADERS:/usr/include </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> QT_INSTALL_LIBS:/usr/lib64 </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> QT_INSTALL_BINS:/usr/bin </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> QT_INSTALL_PLUGINS:/usr/lib64/qt4/plugins </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> QT_INSTALL_IMPORTS:/usr/lib64/qt4/plugins/imports </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> QT_INSTALL_TRANSLATIONS:/usr/share/qt4/translations </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> QT_INSTALL_CONFIGURATION:/etc/settings </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> QT_INSTALL_EXAMPLES:/usr/lib64/qt4/examples </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> QT_INSTALL_DEMOS:/usr/lib64/qt4/demos </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> QMAKE_MKSPECS:/usr/share/qt4//mkspecs </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> QMAKE_VERSION:2.01a </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> QT_VERSION:4.7.1 </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> If I then run just qmake it displays the help messages and make says there </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> is no target. Somewhere there is a piece of the puzzle missing. Any help </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> will be appreciated. </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> _______________________________________________ </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> Qt mailing list </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> Qt@lists.lazarus.freepascal.org </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
> http://lists.lazarus.freepascal.org/mailman/listinfo/qt </p>
<p style="text-indent: 0px; margin-top: 0; margin-right: 0px; margin-left: 0px; margin-bottom: 0">
<br>
</p>
</div>
</td>
</tr>
</table>
</body>
</html>