1 |
Hello all, |
2 |
I'm new to this list and not sure if this is the right address for my |
3 |
question, but hope go get some hints... |
4 |
here is a short description: |
5 |
my kde-program compiles/installs fine if I do this via the usual steps |
6 |
'configure - make - make install', but fails when I try to install it |
7 |
with a simple ebuild. |
8 |
the problem seems to be a different behaviour of moc (the qt meta-object |
9 |
compiler) when processing qt-designer .ui files. |
10 |
I think the relevant part of the ui file is this: |
11 |
|
12 |
<includehints> |
13 |
<includehint>kurlrequester.h</includehint> |
14 |
<includehint>klineedit.h</includehint> |
15 |
<includehint>kpushbutton.h</includehint> |
16 |
</includehints> |
17 |
|
18 |
because when running moc from 'make', it inserts |
19 |
|
20 |
#include <kurlrequester.h> |
21 |
|
22 |
into the resulting .h file, |
23 |
whereas in case of the ebuild, moc omits that line. |
24 |
as a consequence, the following steps fail as follows: |
25 |
|
26 |
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include |
27 |
-I/usr/X11R6/include -DPIC -fPIC -DQT_THREAD_SUPPORT -D_REENTRANT |
28 |
-DNDEBUG -O2 -march=athlon -O2 -pipe -fno-exceptions -fno-check-new -c -o |
29 |
siteDlg.o `test -f 'siteDlg.cc' || echo './'`siteDlg.cc |
30 |
siteDataDlg.cc: In constructor `siteDataDlg::siteDataDlg(QWidget*, const |
31 |
char*, |
32 |
bool, unsigned int)': |
33 |
siteDataDlg.cc:119: invalid use of undefined type `struct KURLRequester' |
34 |
siteDataDlg.h:24: forward declaration of `struct KURLRequester' |
35 |
siteDataDlg.cc:121: no matching function for call to `QGridLayout:: |
36 |
addMultiCellWidget(KURLRequester*&, int, int, int, int)' |
37 |
|
38 |
if anybody has a clue where to look now, I would greatly appreciate. |
39 |
werner |
40 |
|
41 |
|
42 |
|
43 |
-- |
44 |
gentoo-dev@g.o mailing list |