Error in compiling qtscript/src/scripttools
-
Hi,
I'm trying to cross-compile QT5.2 from git. The configuration is made by:@./configure -v -opengl es2 -device linux-arm-amlogic-8726M-g++ -device-option CROSS_COMPILE=arm-linux-gnueabi- -sysroot /root/rootfs_armel_jessie_lib_qt52/ -make libs -opensource -confirm-license -force-pkg-config -no-xcb@
The problem is that i got an errer when qtscript is compiled. In particular:
@arm-linux-gnueabi-g++ -c -pipe -pipe -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a9 --sysroot=/root/rootfs_armel_jessie_lib_qt52/ -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQ
T_NO_LIBUDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_NO_USING_NAMESPACE -DQT_BUILD_SCRIPTTOOLS_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_WIDGETS_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/root/qt52/qtbase/mkspecs/devices/linux-arm-amlogic-8726M-g++ -I. -I../../include -I../../include/QtScriptTools -I../../include/QtScriptTools/5.2.0 -I../../include/QtScriptTools/5.2.0/QtScriptTools -I/root/qt52/qtbase/include/QtCore/5.2.0 -I/root/qt52/qtbase/include/QtCore/5.2.0/QtCore -I/root/qt52/qtbase/include -I/root/qt52/qtbase/include/QtCore -I/root/qt52/qtbase/include/QtWidgets/5.2.0 -I/root/qt52/qtbase/include/QtWidgets/5.2.0/QtWidgets -I/root/qt52/qtbase/include/QtWidgets -I../../include/QtScript -I/root/qt52/qtbase/include/QtGui -I.moc -o .obj/qscriptdebuggercodefinderwidget.o debugging/qscriptdebuggercodefinderwidget.cpp /root/qt52/qtbase/include/QtWidgets/../../src/widgets/kernel/qwidget.h:101:7: error: prototype for 'QWidgetData::QWidgetData(QWidgetData&&)' does not match any in class 'QScriptDebuggerCodeFinderWidgetPrivate'
debugging/qscriptdebuggercodefinderwidget.cpp:55:7: error: candidates are: QScriptDebuggerCodeFinderWidgetPrivate::QScriptDebuggerCodeFinderWidgetPrivate(const QScriptDebuggerCodeFinderWidgetPrivate&)
debugging/qscriptdebuggercodefinderwidget.cpp:60:5: error: QScriptDebuggerCodeFinderWidgetPrivate::QScriptDebuggerCodeFinderWidgetPrivate()
make[2]: *** [.obj/qscriptdebuggercodefinderwidget.o] Error 1
make[2]: Leaving directory `/root/qt52/qtscript/src/scripttools'@This doesn't happen whet I try to compile QT5.3.
Any idea?Thanks,