t-artistik / qtscriptgenerator

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

QThreadPool has not been declared in qtscript_QtConcurrent.cpp #41

Open GoogleCodeExporter opened 8 years ago

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

Result is:

In file included from
../../generated_cpp/com_trolltech_qt_core/qtscript_QtConcurrent.cpp:10:   

/usr/include/QtCore/qtconcurrentreducekernel.h: In member function ‘bool
QtConcurrent::ReduceKernel<ReduceFunctor, ReduceResultType,
T>::shouldThrottle()’:                                                    

/usr/include/QtCore/qtconcurrentreducekernel.h:214: erreur: ‘QThreadPool’
has not been declared                                                     

/usr/include/QtCore/qtconcurrentreducekernel.h: In member function ‘bool
QtConcurrent::ReduceKernel<ReduceFunctor, ReduceResultType,
T>::shouldStartThread()’:                                                 

/usr/include/QtCore/qtconcurrentreducekernel.h:220: erreur: ‘QThreadPool’
has not been declared                                                     

make[2]: *** [release/qtscript_QtConcurrent.o] Erreur 1  

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

No compile error

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

Latest Git checkout, with Qt 4.5 on Archlinux.

Please provide any additional information below.

A simple workaround is to include QThreadPool in qtscript_QtConcurrent, but
since it's a generated file, i'm not sure it's the best way.

Original issue reported on code.google.com by zecmerqu...@gmail.com on 24 Mar 2009 at 8:28

GoogleCodeExporter commented 8 years ago
According to Thiago this is due to some qt-copy patch that may or may not have 
been 
fixed.

Original comment by ian.mon...@gmail.com on 31 Mar 2009 at 6:42