On Saturday 27 August 2016 23:51:03 Tom Kacvinsky wrote:
On Aug 27, 2016, at 16:59:09, Tom Kacvinsky
wrote: On Aug 27, 2016, at 16:11:15, Tom Kacvinsky
wrote: On Aug 27, 2016, at 15:01:06, Tom Kacvinsky
wrote: <snip/> 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 and shared libraries depend on both. Let me try building it this weekend to see if I can suss anything out.
Went to build it and I am having problems with OpenBoard-ThirdParty. The only download I could find is on GitHub, and there are non-existent instructions on how to build it. And even then, the Qt directory is not named qt, it is named trolltech (who at one point in time maintained Qt).
OK, was using the wrong branch of the OpenBaord-ThirdParty.
So, where I should I be getting the latest third party library kit for this project. I don't like how this kit builds several different libraries, all of which are available on a system, they should not have to be built from source.
In the OBS package https://build.opensuse.org/package/show/home:okurz:OpenBoard/OpenBoard I am using a patch I got from the open-sankore package to replace "OpenBoard- ThirdParty" with system dependencies. pluskalm provided an update which I will try first: https://build.opensuse.org/request/show/423461
I did see something that is amiss. Qt5 does not have a development package for Leap 42.1, AFAIK, but it does for Qt4. So qmake is coming from Qt4, not Qt5, which explains why there are some Qt4 libraries in the mix. Not sure how Qt5 libraries got in the mix. Perhaps you install QtWidgets to get around a build problem (one I noticed in my initial work), and that in turn has a dependency on the Qt5 libraries you have seen.
Am I missing anything in terms of Qt5? I see a slew of Qt5 related packages for installing runtime libraries, but saw nothing for qt5 development like I did for Qt4.
I found the OBS repo for Qt5 packages, but there was no over-arching one to install all of the Qt5 devel packages. What's the best zypper command to get them installed. I tried zypper in -t pattern qt5 and that did nothing.
Try "zypper search qt | grep devel" to find development packages necessary for building. "qmake-qt5" should be used to build qmake projects for Qt5. qmake- qt5 is part of package libqt5-qtbase-common-devel. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org