Closed GoogleCodeExporter closed 8 years ago
The real error, after fixing the QTDIR environment variable.
g++ -c -pipe -O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb -frename-
DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -
I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtGui -
-I. -Irelease -I. -o release/qtscript_QXmlStreamAttributes.o
../../generated_cpp/com_trolltech_qt_core/qtscript_QXmlStreamAttributes.cpp
/usr/lib/qt4/include/QtScript/qscriptengine.h: In function 'T
qscriptvalue_cast(const
QScriptValue&, T*) [with T = QLatin1String]':
../../generated_cpp/com_trolltech_qt_core/qtscript_QXmlStreamAttributes.cpp:237:
instantiated from here
/usr/lib/qt4/include/QtScript/qscriptengine.h:341: error: no matching function
for
call to 'QLatin1String::QLatin1String()'
/usr/lib/qt4/include/QtCore/qstring.h:637: note: candidates are:
QLatin1String::QLatin1String(const char*)
/usr/lib/qt4/include/QtCore/qstring.h:635: note:
QLatin1String::QLatin1String(const QLatin1String&)
../../generated_cpp/com_trolltech_qt_core/qtscript_QXmlStreamAttributes.cpp:237:
instantiated from here
/usr/lib/qt4/include/QtScript/qscriptengine.h:349: error: no matching function
for
call to 'QLatin1String::QLatin1String()'
/usr/lib/qt4/include/QtCore/qstring.h:637: note: candidates are:
QLatin1String::QLatin1String(const char*)
/usr/lib/qt4/include/QtCore/qstring.h:635: note:
QLatin1String::QLatin1String(const QLatin1String&)
/usr/lib/qt4/include/QtCore/qmetatype.h: In function 'void*
qMetaTypeConstructHelper(const T*) [with T = QLatin1String]':
/usr/lib/qt4/include/QtCore/qmetatype.h:154: instantiated from 'int
qRegisterMetaType(const char*, T*) [with T = QLatin1String]'
../../generated_cpp/com_trolltech_qt_core/qtscript_QXmlStreamAttributes.cpp:105:
instantiated from here
/usr/lib/qt4/include/QtCore/qmetatype.h:128: error: no matching function for
call to
'QLatin1String::QLatin1String()'
/usr/lib/qt4/include/QtCore/qstring.h:637: note: candidates are:
QLatin1String::QLatin1String(const char*)
/usr/lib/qt4/include/QtCore/qstring.h:635: note:
QLatin1String::QLatin1String(const QLatin1String&)
/usr/lib/qt4/include/QtCore/qvariant.h: In function 'T qvariant_cast(const
QVariant&)
[with T = QLatin1String]':
/usr/lib/qt4/include/QtScript/qscriptengine.h:347: instantiated from 'T
qscriptvalue_cast(const QScriptValue&, T*) [with T = QLatin1String]'
../../generated_cpp/com_trolltech_qt_core/qtscript_QXmlStreamAttributes.cpp:237:
instantiated from here
/usr/lib/qt4/include/QtCore/qvariant.h:573: error: no matching function for
call to
'QLatin1String::QLatin1String()'
/usr/lib/qt4/include/QtCore/qstring.h:637: note: candidates are:
QLatin1String::QLatin1String(const char*)
/usr/lib/qt4/include/QtCore/qstring.h:635: note:
QLatin1String::QLatin1String(const QLatin1String&)
/usr/lib/qt4/include/QtCore/qvariant.h:577: error: no matching function for
call to
'QLatin1String::QLatin1String()'
/usr/lib/qt4/include/QtCore/qstring.h:637: note: candidates are:
QLatin1String::QLatin1String(const char*)
/usr/lib/qt4/include/QtCore/qstring.h:635: note:
QLatin1String::QLatin1String(const QLatin1String&)
make[2]: *** [release/qtscript_QXmlStreamAttributes.o] Error 1
make[2]: Leaving directory `/home/arklinux/svn-kde-
make[1]: *** [release] Error 2
make[1]: Leaving directory `/home/arklinux/svn-kde-
make: *** [sub-qtscript_core-make_default] Error 2
[arklinux@gamma-orionis qtbindings]$
Original comment by lei...@gmail.com
on 21 Aug 2008 at 8:44
I accidentally cut&paste-d the wrong error, this is the actual error:
g++ -c -pipe -O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb
-frename-registers -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I.
-I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtCore
-I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtGui
-I/usr/lib/qt4/include/QtScript -I/usr/lib/qt4/include/QtScript
-I/usr/lib/qt4/include -I. -Irelease -I. -o
release/qtscript_QXmlStreamAttributes.o
../../generated_cpp/com_trolltech_qt_core/qtscript_QXmlStreamAttributes.cpp
/usr/lib/qt4/include/QtScript/qscriptengine.h: In function 'T
qscriptvalue_cast(const QScriptValue&, T*) [with T = QLatin1String]':
../../generated_cpp/com_trolltech_qt_core/qtscript_QXmlStreamAttributes.cpp:237:
instantiated from here
/usr/lib/qt4/include/QtScript/qscriptengine.h:341: error: no matching function
for
call to 'QLatin1String::QLatin1String()'
/usr/lib/qt4/include/QtCore/qstring.h:637: note: candidates are:
QLatin1String::QLatin1String(const char*)
/usr/lib/qt4/include/QtCore/qstring.h:635: note:
QLatin1String::QLatin1String(const QLatin1String&)
../../generated_cpp/com_trolltech_qt_core/qtscript_QXmlStreamAttributes.cpp:237:
instantiated from here
/usr/lib/qt4/include/QtScript/qscriptengine.h:349: error: no matching function
for
call to 'QLatin1String::QLatin1String()'
/usr/lib/qt4/include/QtCore/qstring.h:637: note: candidates are:
QLatin1String::QLatin1String(const char*)
/usr/lib/qt4/include/QtCore/qstring.h:635: note:
QLatin1String::QLatin1String(const QLatin1String&)
/usr/lib/qt4/include/QtCore/qmetatype.h: In function 'void*
qMetaTypeConstructHelper(const T*) [with T = QLatin1String]':
/usr/lib/qt4/include/QtCore/qmetatype.h:154: instantiated from 'int
qRegisterMetaType(const char*, T*) [with T = QLatin1String]'
../../generated_cpp/com_trolltech_qt_core/qtscript_QXmlStreamAttributes.cpp:105:
instantiated from here
/usr/lib/qt4/include/QtCore/qmetatype.h:128: error: no matching function for
call
to 'QLatin1String::QLatin1String()'
/usr/lib/qt4/include/QtCore/qstring.h:637: note: candidates are:
QLatin1String::QLatin1String(const char*)
/usr/lib/qt4/include/QtCore/qstring.h:635: note:
QLatin1String::QLatin1String(const QLatin1String&)
/usr/lib/qt4/include/QtCore/qvariant.h: In function 'T qvariant_cast(const
QVariant&) [with T = QLatin1String]':
/usr/lib/qt4/include/QtScript/qscriptengine.h:347: instantiated from 'T
qscriptvalue_cast(const QScriptValue&, T*) [with T = QLatin1String]'
../../generated_cpp/com_trolltech_qt_core/qtscript_QXmlStreamAttributes.cpp:237:
instantiated from here
/usr/lib/qt4/include/QtCore/qvariant.h:573: error: no matching function for
call
to 'QLatin1String::QLatin1String()'
/usr/lib/qt4/include/QtCore/qstring.h:637: note: candidates are:
QLatin1String::QLatin1String(const char*)
/usr/lib/qt4/include/QtCore/qstring.h:635: note:
QLatin1String::QLatin1String(const QLatin1String&)
/usr/lib/qt4/include/QtCore/qvariant.h:577: error: no matching function for
call
to 'QLatin1String::QLatin1String()'
/usr/lib/qt4/include/QtCore/qstring.h:637: note: candidates are:
QLatin1String::QLatin1String(const char*)
/usr/lib/qt4/include/QtCore/qstring.h:635: note:
QLatin1String::QLatin1String(const QLatin1String&)
make[2]: *** [release/qtscript_QXmlStreamAttributes.o] Error 1
make[2]: Leaving directory
`/home/arklinux/svn-kde-temp/generator/qtbindings/qtscript_core'
make[1]: *** [release] Error 2
make[1]: Leaving directory
`/home/arklinux/svn-kde-temp/generator/qtbindings/qtscript_core'
make: *** [sub-qtscript_core-make_default] Error 2
Original comment by bero%ark...@gtempaccount.com
on 21 Aug 2008 at 8:46
Original comment by kentm...@gmail.com
on 11 Sep 2008 at 8:40
Its still there !
- confirmed issue - 27 Jun 09 svn rep and compiled against the qt4.5 comming
with
jaunty/ubuntu.
Original comment by murat.ue...@gmail.com
on 28 Jun 2009 at 12:34
Its still there !
- confirmed issue - 27 Jun 09 svn rep and compiled against the qt4.5 comming
with
jaunty/ubuntu.
Original comment by murat.ue...@gmail.com
on 28 Jun 2009 at 12:34
Original issue reported on code.google.com by
bero%ark...@gtempaccount.com
on 21 Aug 2008 at 8:23