Bo Peng wrote:
Two solutions:
1) detect a Q_OBJECT inside the header.
2) moc all qt4/*.h
1) is the default for qt4.py but our wonderful .C naming disables it
and I have to do it manually. If you can rename all files to .C (at
least for qt4), I can change to 1.
It would be better to do that a global scale. Georg, Lars said that he
wanted to wait a bit more but that was a long time ago... Could we do
the change please?
It is not just for scons but also for windows in general.
Attached patch
1. use QtGui4_debug.dll in debug mode
Sorry but it is a bit more complicated... In my system it is
QtCored4.dll and QtGuid4.dll so it is not just a suffix.
2. adjust for your file rename
Thanks but don't worry too much about that I will do the change myself
now that I know what to do.
3. preliminary pch support (for mathed only). pch=yes mathed.
Sorry, I can't test for that...
Thanks Bo,
Abdel.