Summary: | =sys-libs/gwenhywfar-4.15.3 need qt5 support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jack <ostroffjh> |
Component: | Current packages | Assignee: | Hanno Böck <hanno> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | output of emerge --infor gwenhywfar |
Description
Jack
2016-05-18 20:05:56 UTC
There is still some additional problem with this, as I keep failing in qui/qt5 with In file included from qt5dialogbox.cpp:18:0: qt5dialogbox.hpp:16:19: fatal error: QDialog: No such file or directory #include <QDialog> It appears the ./configure is not finding the qt5-moc, and even if I give it --with-qt5-moc=/usr/lib64/qt5/bin/moc it doesn't find it, as just before the above error, I see o qt5dialogbox.moc qt5dialogbox.hpp make[3]: o: Command not found where I think the "o" is actually -o after $(qt5_moc). I don't know if I'm missing some prerequisite or I have some misconfiguration, but I'm about stuck, although I'll keep trying. This is definitely a qt version issue. With all failing runs, I see in the ./configure output a line "checking for Qt... no" (there are several lines checking for and finding qt4 stuff a few lines earlier. If I "export QT_SELECT=5" before manually doing ./configure, everything seems to work find, and it finds both the qt4 and qt5 stuff. However, this doesn't seem like the right way to go for me, so I'm still stumped as to how this should properly be addressed. please provide emerge --info output and the full build.logs emerge --info too large to include here - I'll attach it. Which build log do you want? The current portage ebuild, which installs successfully, but does not include QT5, or my modified version which does include QT5? It turns out I needed not only to add qt5 to the guis, but also --with-qt5-qmake="qmake --qt=5" --with-qt5-moc='moc --qt=5" to the configure line, although I do undersstand that's probably not the right way to do it. Created attachment 435264 [details]
output of emerge --infor gwenhywfar
I can confirm that this bug still exists today (05.04.2017) In file included from qt4dialogbox.cpp:219:0: qt4dialogbox.moc:15:2: error: #error "This file was generated using the moc from 5.6.2. It" #error "This file was generated using the moc from 5.6.2. It" Workaround is build this using: QT_SELECT=4 emerge -av1 gwenhywfar This should be fixed by gwenhywfar-4.15.3-r1 for some time already, can you confirm? I'm not currently using the features of KYmMoney which require it, so I don't currently have it installed at all. I'll try to test over the next week or so. Seems good to me. After emerging gwenhywfar-4.15.3-r1, both KMM 4.8 and master configure and compile without complaint. I assume RESOLVED/FIXED is the appropriate status - please correct if necessary. I don't see where to set the version in which it is fixed. |