On Sep 11, 2016, at 02:34:38, Oliver Kurz
wrote: On Saturday 27 August 2016 19:01:06 you wrote:
On Aug 27, 2016, at 14:52, Oliver Kurz
wrote: On Saturday 27 August 2016 20:38:07 Oliver Kurz wrote:
On Friday 26 August 2016 15:17:29 Greg Freemyer wrote:
On Fri, Aug 26, 2016 at 3:11 PM, Oliver Kurz
wrote: […] I have succeeded in building packages for Leap 42.1 and Tumbleweed (i586). Problem is that the application fails on start on Leap 42.1 with a segfault.> Looks like the application is binding against both Qt4 and Qt5 libs which I can't think it's a good idea:
# ldd $(which /usr/lib64/OpenBoard/OpenBoard) | grep 'libQt.*\(Core\|Gui\)'
libQt5Gui.so.5 => /usr/lib64/libQt5Gui.so.5 (0x00007f51b2b54000) libQt5Core.so.5 => /usr/lib64/libQt5Core.so.5 (0x00007f51b1a33000) libQtCore.so.4 => /usr/lib64/libQtCore.so.4 (0x00007f51b06c2000) libQtGui.so.4 => /usr/lib64/libQtGui.so.4 (0x00007f51ae736000)
Ideas how I can prevent the binding against Qt4 libs in the .spec file or the .pro files?
I tend to think this is a transitive dependency, as in some libraries you're linking in depend on Qt5 and others depend on Qt4, so the final executables:shared libraries depend on both. Let me try building it this weekend to see if I can suss anything out.
In the meantime I submitted OpenBoard successfully to the Education project, see: https://build.opensuse.org/package/show/Education/OpenBoard
Problem should still be that it segfaults on start. Martin Pluskal
mentioned that https://build.opensuse.org/package/show/home:pluskalm:branches:Education/qts... could help to bring qtsingleapplication up to a current state and then fix OpenBoard. Who can provide the next step?
I had problems building because qtsingleapplication.h could not be found. So I went to down the RPM on build.opensuse.org and had dependency problems trying to install. I couldn't find the packages that I needed to install. Anyway, I see qtsingleapplication (found by looking at OBS) is built against Qt4 and I suspect that is the problem you are facing.