<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span class="tab">    </span><span>Arno tests Qyoto on Linux, I believe he has also tested with Qt 4.8. Anyway, you'd best recompile Qyoto with debugging symbols (CMake has a CMAKE_BUILD_TYPE variable that should be set to Debug) and then send the stack trace and your sample code each time you encounter an error, otherwise it's very hard to get help. Also, it'd be more clear to you as well and it may turn out it's not that hard to fix.</span></div><div><span class="tab">    I haven't seen yourprevious samples yet, I'm sorry about that. I'm way more busy with school than I'd like to be but the nightmare ends on Friday and I'll have time after that.<br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times
 new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Cvetoslav Ludmiloff <ludmiloff@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> kde-bindings@kde.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, February 14, 2012 10:35 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> [Kde-bindings] Qyoto bindings compiled, but not usable<br> </font> </div> <br>
<div id="yiv1428474089">Hi all,<div>I've build successfully assemblygen assemblies for qyoto under Linux, Qt4.8. </div><div>Compilation goes smoothly, but bindings are not usable on Linux at all. </div><div>The ever simple QWidget subclassing and showing give me an error like this:</div>
<div><br></div><div><pre style="background-color:rgb(255,255,255);">Stacktrace:

  at (wrapper managed-to-native) Qyoto.SmokeInvocation.CallSmokeMethod
(intptr,int,intptr,intptr,int) <IL 0x00028, 0xffffffff>
  at Qyoto.SmokeInvocation.Invoke (string,string,System.Type,bool,object[])
<IL 0x00134, 0x0026f>
  at Qyoto.QApplication.Exec () <IL 0x00020, 0x00047>
  at MainWindow.Main (string[]) [0x00013] in
/home/Data/Projects/testmono2/testmono2/MainWindow.cs:31
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object
(object,intptr,intptr,intptr) <IL 0x0005c, 0xffffffff>

Native stacktrace:

/usr/bin/mono() [0x80e1d4c]
/usr/bin/mono() [0x812104c]
/usr/bin/mono() [0x806107d]
[0xb778240c]
/usr/lib/libQtCore.so.4(_ZNK11QMetaObject4castEP7QObject+0x32) [0xb5d12a12]
/usr/lib/kde4/plugins/styles/qtcurve.so(+0xeb2a) [0xb3030b2a]
/usr/lib/kde4/plugins/styles/qtcurve.so(+0x22c45) [0xb3044c45]
/usr/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0xc57) [0xb4ad0157]
/usr/lib/libQtGui.so.4(_ZN11QRubberBand5eventEP6QEvent+0x23) [0xb4f41863]
/usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xc4) \
 [0xb4a75914]
/usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x22a)
[0xb4a7adea]
/usr/lib/libsmokeqtgui.so.3(_ZN12__smokeqtgui14x_QApplication6notifyEP7QObjectP6QEvent \
+0x88) [0xb560f598]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8e)
[0xb5d0bb7e]
/usr/lib/libQtGui.so.4(_ZNK7QWidget14ensurePolishedEv+0x66) [0xb4ac6be6]
/usr/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0xc37) [0xb4ad0137]
/usr/lib/libQtGui.so.4(_ZN11QRubberBand5eventEP6QEvent+0x23) [0xb4f41863]
/usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xc4) \
 [0xb4a75914]
/usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x22a)
[0xb4a7adea]
/usr/lib/libsmokeqtgui.so.3(_ZN12__smokeqtgui14x_QApplication6notifyEP7QObjectP6QEvent \
+0x88) [0xb560f598]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8e)
[0xb5d0bb7e]
/usr/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QT \
hreadData+0x3d8) [0xb5d0f7f8]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication16sendPostedEventsEP7QObjecti+0x2c)
[0xb5d0fb2c]
/usr/lib/libQtCore.so.4(+0x1ad284) [0xb5d3e284]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1df) [0xb59be01f]
/usr/lib/libglib-2.0.so.0(+0x43750) [0xb59be750]
/usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x6a) [0xb59be9ea]
/usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop \
17ProcessEventsFlagEE+0x67) [0xb5d3e677]
/usr/lib/libQtGui.so.4(+0x1ed22a) [0xb4b2922a]
/usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagE \
E+0x4d) [0xb5d0a70d]
/usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xf9)
[0xb5d0a9a9]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x9a) [0xb5d0fbda]
/usr/lib/libQtGui.so.4(_ZN12QApplication4execEv+0x24) [0xb4a73774]
/usr/lib/libsmokeqtgui.so.3(_ZN12__smokeqtgui18xcall_QApplicationEsPvPN5Smoke9StackIte \
mE+0x70c) [0xb55fcb8c]
/usr/lib/libqyoto-qtcore-native.so.2(_ZN5Qyoto10MethodCall10callMethodEv+0x1ed)
[0xb5fbd28d]
/usr/lib/libqyoto-qtcore-native.so.2(_ZN5Qyoto10MethodCall4nextEv+0x67)
[0xb5fbd5b7]
/usr/lib/libqyoto-qtcore-native.so.2(CallSmokeMethod+0x9b) [0xb5fc729b]
[0xb5ff9028]
[0xb5fefab0]
[0xb5ffe8b8]
[0xb6667d48]
[0xb6667e16]
/usr/bin/mono() [0x806535c]

Debug info from gdb:


=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================</pre></div><div> My question is: does anyone tested assemblygen.assemblies for qyoto</div><div>on linux and what Qt version.</div><div>If no one, why old bindings are obsolete? They seems to work well</div>
<div><br></div><div>Regards</div><div>Cvetoslav Ludmiloff</div><div><a rel="nofollow" target="_blank" href="http://archstable.blogspot.com/">http://archstable.blogspot.com/</a></div><div><br></div>
</div><br>_______________________________________________<br>Kde-bindings mailing list<br><a ymailto="mailto:Kde-bindings@kde.org" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/kde-bindings" target="_blank">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br><br><br> </div> </div>  </div></body></html>