Re: Scons problems with moc renamed file

2006-06-18 Thread Edwin Leuven
Abdelrazak Younes wrote: Ok, that is a good enough reason I guess. None of these branches touch the qt4 code so I'd like to do the change in qt4/. Any objection? there's some qt4 booktabs code

Re: Scons problems with moc renamed file

2006-06-18 Thread Abdelrazak Younes
Georg Baum wrote: Am Samstag, 17. Juni 2006 22:43 schrieb Abdelrazak Younes: 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? I don't see anything that has changed since this questio

Re: Scons problems with moc renamed file

2006-06-18 Thread Georg Baum
Am Samstag, 17. Juni 2006 22:43 schrieb Abdelrazak Younes: > 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? I don't see anything that has changed since this question came up befor

Re: Scons problems with moc renamed file

2006-06-17 Thread Bo Peng
But introduce another: all the include paths are trunked : D:\program\Qt\4.1\include\QtCor D:\program\Qt\4.1\include\QtGu The updated patch should fix this. Bo Index: development/scons/qt4.py === --- development/scons/qt4.py (rev

Re: Scons problems with moc renamed file

2006-06-17 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Bo Peng wrote: > 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. If you have QtCore4d.dll, then the patch should work. Otherwise, look for fron

Re: Scons problems with moc renamed file

2006-06-17 Thread Abdelrazak Younes
Bo Peng wrote: > 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. If you have QtCore4d.dll, then the patch should work. Otherwise, look for frontend_libs and change suffi

Re: Scons problems with moc renamed file

2006-06-17 Thread Bo Peng
> 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. If you have QtCore4d.dll, then the patch should work. Otherwise, look for frontend_libs and change suffix. > 2. adjust

Re: Scons problems with moc renamed file

2006-06-17 Thread Abdelrazak Younes
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

Re: Scons problems with moc renamed file

2006-06-17 Thread Bo Peng
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. Attached patch 1. use QtGui4_debug.dll in debug

Re: Scons problems with moc renamed file

2006-06-17 Thread Abdelrazak Younes
Bo Peng wrote: When I rename a file that is mocable scons does not automatically run moc on this renamed file. I always have to do that by hand. Do you think it is possible to automate that? Scons lists mocable files. You will have to rename it in SConstruct. Ah, I understand now. I thought

Re: Scons problems with moc renamed file

2006-06-17 Thread Bo Peng
When I rename a file that is mocable scons does not automatically run moc on this renamed file. I always have to do that by hand. Do you think it is possible to automate that? Scons lists mocable files. You will have to rename it in SConstruct. If there is a signature of which files should be m