Hi, The initial errors were somehow because of running cmake with "-j <#cores>" (thanks Joseph). But I'm still getting the following error regarding the use of QSKIP. I've noticed in qtbase/src/testlib/qtestcase.h that QSKIP would accept two args with Q_COMPILER_VARIADIC_MACROS was set. But all points in qcompilerdetection.h that would set Q_COMPILER_VARIADIC_MACROS are commented out.
Any idea ? Thanks, -------------------------- g++ -c -m64 -pipe -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DWITH_TESTS -DIDE_LIBRARY_BASENAME=\"lib\" -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_CONCURRENT_LIB -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR=\"/root/devel/qt-creator/src/plugins/fakevim\" -I../../../../qt5/qtbase/mkspecs/linux-g++-64 -I. -I../../../src -I../../libs -I/root/devel/qt-creator/tools -I../../plugins -I../../../../qt5/qtbase/include -I../../../../qt5/qtbase/include/QtWidgets -I../../../../qt5/qtbase/include/QtConcurrent -I../../../../qt5/qtbase/include/QtTest -I../../../../qt5/qtbase/include/QtGui -I../../../../qt5/qtbase/include/QtCore -I.moc/debug-shared -I.uic -o .obj/debug-shared/fakevimplugin.o fakevimplugin.cpp g++ -c -m64 -pipe -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DWITH_TESTS -DIDE_LIBRARY_BASENAME=\"lib\" -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_CONCURRENT_LIB -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR=\"/root/devel/qt-creator/src/plugins/fakevim\" -I../../../../qt5/qtbase/mkspecs/linux-g++-64 -I. -I../../../src -I../../libs -I/root/devel/qt-creator/tools -I../../plugins -I../../../../qt5/qtbase/include -I../../../../qt5/qtbase/include/QtWidgets -I../../../../qt5/qtbase/include/QtConcurrent -I../../../../qt5/qtbase/include/QtTest -I../../../../qt5/qtbase/include/QtGui -I../../../../qt5/qtbase/include/QtCore -I.moc/debug-shared -I.uic -o .obj/debug-shared/fakevim_test.o fakevim_test.cpp fakevim_test.cpp:404:5: error: macro "QSKIP" passed 2 arguments, but takes just 1 fakevim_test.cpp:430:5: error: macro "QSKIP" passed 2 arguments, but takes just 1 fakevim_test.cpp:466:5: error: macro "QSKIP" passed 2 arguments, but takes just 1 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 fakevim_test.cpp: In member function ‘void FakeVim::Internal::FakeVimPlugin::test_vim_indent()’: fakevim_test.cpp:466:5: error: ‘QSKIP’ was not declared in this scope make[3]: *** [.obj/debug-shared/fakevim_test.o] Error 1 make[3]: Leaving directory `/root/devel/qt-creator/src/plugins/fakevim' make[2]: *** [sub-fakevim-make_first] Error 2 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 -------------------------- On Sun, Sep 2, 2012 at 10:04 PM, Sandro Andrade <[email protected]> wrote: > 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 _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
