t-artistik / qtscriptgenerator

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

compile error #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. cd qtbindings  
2. qmake
3. make

this will result in:

g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DQT_SCRIPT_LIB -DQT_GUI_LIB 
-DQT_CORE_LIB -DQT_SHARED -I../../../../qt-copy/mkspecs/linux-g++ -I. 
-I../../../../qt-copy/include/QtCore -I../../../../qt-copy/include/QtCore 
-I../../../../qt-copy/include/QtGui -I../../../../qt-copy/include/QtGui 
-I../../../../qt-copy/include/QtScript -I../../../../qt-copy/include/QtScript 
-I../../../../qt-copy/include -I. -Idebug -I. -o 
debug/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()’
../../../../qt-copy/include/QtCore/../../src/corelib/concurrent/qfuture.h:187: 
note: candidates are: QFutureIterator<T>::QFutureIterator(const 
QFuture<T>&) [with T = QScriptValue]
../../../../qt-copy/include/QtCore/../../src/corelib/concurrent/qfuture.h:187: 
note:                 
QFutureIterator<QScriptValue>::QFutureIterator(const 
QFutureIterator<QScriptValue>&)
make[2]: *** [debug/qtscriptshell_QFutureIterator.o] Error 1
make[2]: Leaving directory 
`/home/tz/develop/kde/svn/dojo/qtscriptgenerator/qtbindings/qtscript_core'

What is the expected output? What do you see instead?

There should be no compile error

What version of the product are you using? On what operating system?

I use the latest git checkout togther wit qt 4.4.3. The problem also 
happens with the latest svn checkout.

Please provide any additional information below.

Original issue reported on code.google.com by g...@zagge.de on 18 Nov 2008 at 4:39

GoogleCodeExporter commented 8 years ago
There shouldn't even be a qtscriptshell_QFutureIterator.cpp generated.
Looks like the generator isn't finding the right Qt includes. Make sure the 
QTDIR
environment variable is set correctly before running the generator. If that 
doesn't
help, try explicitly passing the path using the --include-path option.

Original comment by kentm...@gmail.com on 23 Dec 2008 at 2:27