Dne st 4. ledna 2017 deloptes napsal(a):
Hi Michele,
can you advise what I am missing here?
thanks
[ 40%] Building CXX object
kate/app/CMakeFiles/kateinterfaces-shared.dir/kateapp.cpp.o
cd /opt/software_x64/KDE/TDE/tdebase/obj-x86_64-linux-gnu/kate/app
&& /usr/bin/g++ -DHAVE_CONFIG_H -Dkateinterfaces_shared_EXPORTS
-DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g
-Wall -D_FORTIFY_SOURCE=2 -fvisibility=hidden
-fvisibility-inlines-hidden -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT
-D_REENTRANT -include tqt.h -I/usr/include/tqt3 -I/usr/include/tqt
-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h
-fPIC -I/opt/software_x64/KDE/TDE/tdebase/obj-x86_64-linux-gnu/kate/app
-I/opt/software_x64/KDE/TDE/tdebase/obj-x86_64-linux-gnu
-I/opt/trinity/include -I/usr/include/tqt3 -I/usr/include/tqt
-include tqt.h -o
CMakeFiles/kateinterfaces-shared.dir/kateapp.cpp.o -c
/opt/software_x64/KDE/TDE/tdebase/kate/app/kateapp.cpp In file included
from /opt/software_x64/KDE/TDE/tdebase/kate/app/kateapp.cpp:27:0:
/opt/software_x64/KDE/TDE/tdebase/kate/app/katesession.h: In member
function ‘const TQString& KateSessionManager::getActiveSessionName()’:
/opt/software_x64/KDE/TDE/tdebase/kate/app/katesession.h:260:77: error:
no match for ‘operator[]’ (operand types are ‘TQPtrList<KateSession>’
and ‘int’)
const TQString& getActiveSessionName() /*FIXME const*/ { return
m_sessions[m_activeSessionId]->getSessionName(); }
^
/opt/software_x64/KDE/TDE/tdebase/kate/app/katesession.h: In member
function ‘KateSession* KateSessionManager::getActiveSession()’:
/opt/software_x64/KDE/TDE/tdebase/kate/app/katesession.h:271:54: error:
no match for ‘operator[]’ (operand types are ‘TQPtrList<KateSession>’
and ‘int’)
KateSession* getActiveSession() { return
m_sessions[m_activeSessionId]; } ^
/opt/software_x64/KDE/TDE/tdebase/kate/app/katesession.h: In member
function ‘void KateSessionManager::reloadActiveSession()’:
/opt/software_x64/KDE/TDE/tdebase/kate/app/katesession.h:328:42: error:
no match for ‘operator[]’ (operand types are ‘TQPtrList<KateSession>’
and ‘int’)
void reloadActiveSession() {
m_sessions[m_activeSessionId]->load(true); } ^
kate/app/CMakeFiles/kateinterfaces-shared.dir/build.make:198: recipe
for target
'kate/app/CMakeFiles/kateinterfaces-shared.dir/kateapp.cpp.o' failed
make[3]: ***
[kate/app/CMakeFiles/kateinterfaces-shared.dir/kateapp.cpp.o] Error 1
make[3]: Leaving
directory '/opt/software_x64/KDE/TDE/tdebase/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:16063: recipe for
target 'kate/app/CMakeFiles/kateinterfaces-shared.dir/all' failed
make[2]: *** [kate/app/CMakeFiles/kateinterfaces-shared.dir/all] Error
2 make[2]: Leaving
directory '/opt/software_x64/KDE/TDE/tdebase/obj-x86_64-linux-gnu'
Makefile:120: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving
directory '/opt/software_x64/KDE/TDE/tdebase/obj-x86_64-linux-gnu'
/usr/share/cdbs/1/class/makefile.mk:47: recipe for
target 'debian/stamp-makefile-build' failed
make: *** [debian/stamp-makefile-build] Error 2
Michele's patch for new sessions in Kate seems to require TQt R14.1.x -
see
http://mirror.git.trinitydesktop.org/cgit/tqt3/commit/?id=6b220f98
--
Slávek