t-artistik / qtscriptgenerator

Automatically exported from code.google.com/p/qtscriptgenerator
0 stars 0 forks source link

Doesn't work with Qt 4.5 snapshots #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try using the script generator with a Qt 4.5 snapshot

What is the expected output? What do you see instead?
Expected: It works
What I see instead:

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/qtscriptshell_QFutureIterator.o 
../../generated_cpp/com_trolltech_qt_core/qtscriptshell_QFutureIterator.cpp
../../generated_cpp/com_trolltech_qt_core/qtscriptshell_QFutureIterator.cpp: 
In 
constructor 'QtScriptShell_QFutureIterator::QtScriptShell_QFutureIterator()':
../../generated_cpp/com_trolltech_qt_core/qtscriptshell_QFutureIterator.cpp:10: 
error: no matching function for call 
to 'QFutureIterator<QScriptValue>::QFutureIterator()'
/usr/lib/qt4/include/QtCore/qfuture.h:193: note: candidates are: 
QFutureIterator<T>::QFutureIterator(const QFuture<T>&) [with T = 
QScriptValue]
/usr/lib/qt4/include/QtCore/qfuture.h:193: note:                 
QFutureIterator<QScriptValue>::QFutureIterator(const 
QFutureIterator<QScriptValue>&)
make[2]: *** [release/qtscriptshell_QFutureIterator.o] Error 1

What version of the product are you using? On what operating system?
Current svn of the script generator with yesterday's qt 4.5 snapshot

Original issue reported on code.google.com by bero%ark...@gtempaccount.com on 21 Aug 2008 at 8:23

GoogleCodeExporter commented 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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago

Original comment by kentm...@gmail.com on 11 Sep 2008 at 8:40

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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