Hi everybody, I am trying to use the latest release of cmake and QT4. In view of using file .ui (automatically generated by QTDesigner) I use QT_WRAP_UI according to the cmake documentation.
Unfortunately, there is a big difference in the use of uic between QT3 and QT4 and it seems that QT_WRAP_UI still uses the old version of uic (from QT3), where .cpp are compulsory generated at the compilation time. In fact, this is no longer used in QT4 : we have to only call uic to generate the .h file but no .cpp is needed. In conclusion, only the first call is suitable for QT4: uic -o file.h file.ui (on the contrary to QT3 where a second use of uic is needed to generate .cpp : uic -impl file.h -o file.cpp file.ui). My question is rather simple : how can I avoid the second call of uic to generate the .cpp file? Has anybody already faced to this problem? In advance, thanks a lot fo your help. Arnaud Devalkeneer. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
