Le Sun, 11 Sep 2011 12:39:48 -0500, "Timothy Pearson" kb9vqf@pearsoncomputing.net a écrit :
-the knotifywidgetbase.ui contains TQ* classes -there are no q*.h or tq*.h additional includes Is the Qt3 uic really supposed to guess the right includes for TQ* classes ?
There is a call to tqt-replace in the UIC CMake module, which converts the TQ* classes to the Q* classes UIC is expecting.
I found the cause of the error ! In fact I was using "su" to become root, and this suppressed /opt/kde3/bin from the path, which prevented tqt-replace from executing. With "su -" the package builds well (my Qt3 packages contains a /etc/profile.d/qt.sh which add the right path) :) But I find it surprising that the failing of tqt-replace doesn't make the entire compilation immediately fail.
Glad you got the problem sorted out!
I am also somewhat surprised that the compilation proceeds without tqt-replace; I wonder if an explicit check should be added to the CMake UIC execution module.
Tim