trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: December 2016

moc and dbus related question

From: deloptes <deloptes@...>
Date: Mon, 05 Dec 2016 20:47:22 +0100
Hi all,
what exactly is responsible for creating the tqmoc targets in automake
tools?
or where can I read more about it?

thanks

I have following case

make[4]: Entering
directory '/opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/obj-x86_64-linux-gnu/kdebluetooth/libkbluetooth'
rm -rf serviceselectionwidgetbase.h;
/usr/bin/uic-tqt -L /opt/trinity/lib/trinity/plugins/designer -nounload /opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth/serviceselectionwidgetbase.ui | /usr/bin/perl -pi -e "s,public
TQWizard,public KWizard,g; s,#include <ntqwizard.h>,#include <kwizard.h>,g;
s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include
<kwizard.h>,g" >> serviceselectionwidgetbase.h ;
-i used with no filenames on the command line, reading from STDIN.
/usr/bin/tmoc serviceselectionwidgetbase.h -o serviceselectionwidgetbase.moc
rm -f serviceselectionwidgetbase.cpp
echo '#include <kdialog.h>' > serviceselectionwidgetbase.cpp
echo '#include <tdelocale.h>' >> serviceselectionwidgetbase.cpp
/usr/bin/uic-tqt -L /opt/trinity/lib/trinity/plugins/designer -nounload -tr
tr2i18n -i
serviceselectionwidgetbase.h /opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth/serviceselectionwidgetbase.ui
> serviceselectionwidgetbase.cpp.temp ; ret=$?; \
/usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g"
serviceselectionwidgetbase.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\,
\"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9
[0-9]*)_data,img\$1_serviceselectionwidgetbase,g" | /usr/bin/perl -pe "s,:
TQWizard\(,: KWizard(,g; s,: QWizard\(,: KWizard(,g;" >>
serviceselectionwidgetbase.cpp ;\
rm -f serviceselectionwidgetbase.cpp.temp ;\
if test "$ret" = 0; then echo '#include "serviceselectionwidgetbase.moc"' >>
serviceselectionwidgetbase.cpp; else rm -f serviceselectionwidgetbase.cpp ;
exit $ret ; fi
/usr/bin/tmoc /opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth/inputmanager.h -o
inputmanager.moc
/usr/bin/tmoc /opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth/manager.h -o
manager.moc
/usr/bin/tmoc /opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth/serviceselectionwidget.h -o
serviceselectionwidget.moc
/usr/bin/tmoc /opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth/obexsession.h -o
obexsession.moc
/usr/bin/tmoc /opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth/passkeyagent.h -o
passkeyagent.moc
/usr/bin/tmoc /opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth/hcidefault.h -o
hcidefault.moc
/usr/bin/tmoc /opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth/obexmanager.h -o
obexmanager.moc
/usr/bin/tmoc /opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth/authagent.h -o
authagent.moc
/usr/bin/tmoc /opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth/adapter.h -o
adapter.moc
/usr/bin/tmoc /opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth/rfcommsocket.h -o
rfcommsocket.moc
/usr/bin/tmoc /opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth/inputdevice.h -o
inputdevice.moc
/usr/bin/tmoc /opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth/namerequest.h -o
namerequest.moc
/usr/bin/tmoc /opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth/servicediscovery.h -o
servicediscovery.moc
/usr/bin/tmoc /opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth/hcisocket.h -o
hcisocket.moc
creating libkbluetooth_la.all_cpp.cpp ...
/bin/bash ../../libtool  --tag=CXX   --mode=compile
g++ -DHAVE_CONFIG_H -I. -I/opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth -I../..  -I/opt/trinity/include -I/usr/share/tqt3/include -I. -include
tqt.h  -I/usr/include/dbus-1-tqt   -I.   -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 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -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  -c -o
libkbluetooth_la.all_cpp.lo libkbluetooth_la.all_cpp.cpp
libtool: compile: 
g++ -DHAVE_CONFIG_H -I. -I/opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth -I../.. -I/opt/trinity/include -I/usr/share/tqt3/include -I. -include
tqt.h -I/usr/include/dbus-1-tqt -I. -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 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -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 -c
libkbluetooth_la.all_cpp.cpp  -fPIC -DPIC -o .libs/libkbluetooth_la.all_cpp.o
In file included from libkbluetooth_la.all_cpp.cpp:4:0:
/opt/software_x64/KDE/bluetooth/kdebluetooth-1.0_beta8/./kdebluetooth/libkbluetooth/dbusinit.cpp:71:24:
fatal error: dbusinit.moc: No such file or directory
 #include "dbusinit.moc"
                        ^
compilation terminated.
Makefile:692: recipe for target 'libkbluetooth_la.all_cpp.lo' failed