trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

tdeadmin build failure - 'TQListViewItem' has not been declared ?

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 24 Mar 2012 01:46:24 -0500
Tim, Darrell,

  Here is a tdeadmin build failure involving error: 'TQListViewItem' has not
been declared. I'll need help fixing the 'T'BlahBlah issue as that's not a
strong point :(  The full error was:

/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..
 -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h
-I/opt/trinity/include/tde -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts
-Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -fpermissive -fpermissive -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
-fno-common -I/usr/include/tqt -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -UQT_NO_COMPAT -MT
knetworkconfdlg.lo -MD -MP -MF .deps/knetworkconfdlg.Tpo -c -o
knetworkconfdlg.lo knetworkconfdlg.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/trinity/include
-I/opt/tqt3/include -I. -include tqt.h -I/opt/trinity/include/tde
-DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W
-Wpointer-arith -fno-builtin -g3 -fno-inline -march=x86-64 -mtune=generic -O2
-pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
-fpermissive -fpermissive -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-I/usr/include/tqt -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -UQT_NO_COMPAT -MT knetworkconfdlg.lo -MD -MP
-MF .deps/knetworkconfdlg.Tpo -c knetworkconfdlg.cpp  -fPIC -DPIC -o
.libs/knetworkconfdlg.o
In file included from knetworkconfdlg.cpp:11:0:
knetworkconfdlg.h:142:40: error: 'TQListViewItem' has not been declared
In file included from knetworkconfdlg.cpp:31:0:
./knetworkconfdlg.ui.h:153:6: error: prototype for 'void
KNetworkConfDlg::updateProfileNameSlot(TQListViewItem*)' does not match any in
class 'KNetworkConfDlg'
knetworkconfdlg.h:142:18: error: candidates are: virtual void
KNetworkConfDlg::updateProfileNameSlot(int*)
./knetworkconfdlg.ui.h:147:6: error:                 virtual void
KNetworkConfDlg::updateProfileNameSlot()
In file included from knetworkconfdlg.cpp:688:0:
knetworkconfdlg.moc: In member function 'virtual bool
KNetworkConfDlg::tqt_invoke(int, TQUObject*)':
knetworkconfdlg.moc:171:80: error: no matching function for call to
'KNetworkConfDlg::updateProfileNameSlot(TQListViewItem*)'
knetworkconfdlg.moc:171:80: note: candidates are:
./knetworkconfdlg.ui.h:147:6: note: virtual void
KNetworkConfDlg::updateProfileNameSlot()
./knetworkconfdlg.ui.h:147:6: note:   candidate expects 0 arguments, 1 provided
knetworkconfdlg.h:142:18: note: virtual void
KNetworkConfDlg::updateProfileNameSlot(int*)
knetworkconfdlg.h:142:18: note:   no known conversion for argument 1 from
'TQListViewItem*' to 'int*'
make[3]: *** [knetworkconfdlg.lo] Error 1
make[3]: Leaving directory `/build/src/tdeadmin/knetworkconf/knetworkconf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/src/tdeadmin/knetworkconf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/tdeadmin'
make: *** [all] Error 2


-- 
David C. Rankin, J.D.,P.E.