[Qt-creator] Error when building qt-creator with Qt5

Sandro Andrade sandroandrade at kde.org
Mon Sep 3 03:04:51 CEST 2012


Hi there,

I'm trying to build qt-creator master against qt5 beta, but I got some
weird errors when make leaves directories. The first one occurs in
projectexplorer
plugin:

mv -f libProjectExplorer.so ../../../lib/qtcreator/plugins/Nokia/
{ test -z "../../../lib/qtcreator/plugins/Nokia/" || cd
"../../../lib/qtcreator/plugins/Nokia/"; } && test $(gdb --version |
sed -e 's,[^0-9]\+\([0-9]\)\.\([0-9]\).*,\1\2,;q')
 -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save
gdb-index ." -ex quit 'libProjectExplorer.so' && test -f
libProjectExplorer.so.gdb-index && objcopy --add-s
ection '.gdb_index=libProjectExplorer.so.gdb-index'
--set-section-flags '.gdb_index=readonly' 'libProjectExplorer.so'
'libProjectExplorer.so' && rm -f libProjectExplorer.so.gd
b-index || true
make[3]: Leaving directory `/root/devel/qt-creator/src/plugins/projectexplorer'
make[2]: Leaving directory `/root/devel/qt-creator/src/plugins'
make[1]: *** [sub-plugins-make_first-ordered] Error 2
make[1]: Leaving directory `/root/devel/qt-creator/src'
make: *** [sub-src-make_first-ordered] Error 2

There is no previous error related to that one.

If I run make again, the previous error doesn't appear anymore but the
same error appears in a different plugin. I can execute
make many times, making some progress but the error appears in many
directories: cpptools, cppeditor, git, debugger,
qt4projectmanager, madde, valgrind, until I get a:

fakevim_test.cpp: In member function ‘void
FakeVim::Internal::FakeVimPlugin::test_vim_repeat()’:
fakevim_test.cpp:404:5: error: ‘QSKIP’ was not declared in this scope
fakevim_test.cpp: In member function ‘void
FakeVim::Internal::FakeVimPlugin::test_vim_search()’:
fakevim_test.cpp:430:5: error: ‘QSKIP’ was not declared in this scope

and I can't progress anymore. Qt5's qtbase/src/testlib is already built.

Any hint ?

Thanks,
--
Sandro



More information about the Qt-creator mailing list