x11-libs/qwtplot3d is compiled against qt3 by default and qt4 cannot be selected instead. This may cause a crash or linking error in applications that expect it to be compiled against qt4. qtiplot 0.9 is one of such apps. It's not in portage yet (sci-visualization/qtiplot-0.8.5 is the highest version available), but something might have to be done about it in the future. Reproducible: Always
*** Bug 194316 has been marked as a duplicate of this bug. ***
Same thing here, qtiplot from the science overlay doesnt compile when qwtplot3d is normally compiled against qt3. I have changed the ebuild by just changing qt_min_version 3.3 to 4.3 in lines 20 and 23 and removing the "${QTDIR}/bin/" in line 61, I am absolutely sure that the ebuild now is really really bad code, because it gives some "not found" messages, but it works here. So please, someone with more ebuilding skills than me, insert a qt-version-useflag.
I successfully compiled qwtplot3d against qt4 here are the changes I made to the ebuild (diff output): 5c5 < inherit multilib qt3 --- > inherit multilib qt4 20c20 < DEPEND="$(qt_min_version 3.3) --- > DEPEND="$(qt4_min_version 4) 23c23 < RDEPEND="$(qt_min_version 3.3)" --- > RDEPEND="$(qt4_min_version 4)" 39,40c39 < addwrite ${QTDIR}/etc/settings < ${QTDIR}/bin/qmake qwtplot3d.pro || die "qmake failed." --- > eqmake4 "qwtplot3d.pro" || die "qmake failed." ============================ I then compiled successfully qtiplot and it run, but I didn't stress it. I guess we could a qt3 and a qt4 version of the ebuild like there is for qwt-5 (qwt for qt4 and qwt-qt3 for qt3 obviously).
Hi, qwtplot3d is now splitted since version 0.2.7: by default it is built with qt4, and x11-libs/qwtplot3d-qt3 is the older qt3 version. (naming scheme was to follow qwt). This allows both qtiplot-0.9.x and labplot-1.5.x to build. Thanks everyone