Thank you, I solved the problem: it was simple indeed, after reading more carefully
the config.log. Only the header were not found, so I had to specify
"--with-qt-includes=/usr/include/qt3".
Sorry for wasting your time...
Guido