1 |
Hello, |
2 |
|
3 |
On Sun, 08 Oct 2017, tuxic@××××××.de wrote: |
4 |
>compilation of qtwidgets failed. |
5 |
>Is there a dependency currently missing in the ebuild? |
6 |
|
7 |
Nope. Broken code from upstream. The usual thinking: "nobody will |
8 |
compile stuff without dbus". But I do. And you seem to as well. I |
9 |
guess it's actually dev-qt/qtgui with "-dbus" useflag. |
10 |
|
11 |
>x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -fuse-ld=gold -Wl,--enable-new-dtags -shared -o libqgtk3.so .obj/main.o .obj/qgtk3dialoghelpers.o .obj/qgtk3menu.o .obj/qgtk3theme.o .obj/moc_qgtk3dialoghelpers.o .obj/moc_qgtk3menu.o -lQt5ThemeSupport -lQt5Gui -lQt5Core -lGL -lpthread -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lXext -lX11 -lm |
12 |
>.obj/qgtk3theme.o:qgtk3theme.cpp:vtable for QGtk3Theme: error: undefined reference to 'QGnomeTheme::createPlatformMenuBar() const' |
13 |
>.obj/qgtk3theme.o:qgtk3theme.cpp:vtable for QGtk3Theme: error: undefined reference to 'QGnomeTheme::createPlatformSystemTrayIcon() const' |
14 |
[..] |
15 |
|
16 |
There's some #ifdefs lacking around that stuff, as the code where |
17 |
e.g. 'QGnomeTheme::createPlatformMenuBar' is implemented, is inside |
18 |
#ifndef QT_NO_DBUS. |
19 |
|
20 |
Easy way out if you're not depend on gtk-themes in Qt: |
21 |
|
22 |
USE="-gtk" emerge dev-qt/qtwidgets |
23 |
|
24 |
(and/or put that useflag in /etc/portage/package.use) |
25 |
|
26 |
Actually, 5.6.2 had a 'gtkstyle' useflag and no "*gtk*" is in |
27 |
the 5.7.1.ebuild. |
28 |
|
29 |
Also, it'll probably work if you reemerge dev-qt/qtgui with "dbus" |
30 |
useflag. |
31 |
|
32 |
HTH, |
33 |
-dnh |
34 |
|
35 |
-- |
36 |
"Microsoft admitted its Vista operating system was a 'less good |
37 |
product' in what IT experts have described as the most ambitious |
38 |
understatement since the captain of the Titanic reported some |
39 |
slightly damp tablecloths." http://www.thedailymash.co.uk/ |