|
|
|
@ -72,20 +72,6 @@ endif( )
|
|
|
|
|
qt_message( " QT_BINARY_DIR : ${QT_BINARY_DIR}" )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# find uic (only for Qt3)
|
|
|
|
|
if( DEFINED UIC_EXECUTABLE )
|
|
|
|
|
if( IS_DIRECTORY "${UIC_EXECUTABLE}" OR NOT EXISTS "${UIC_EXECUTABLE}" )
|
|
|
|
|
tde_message_fatal( "uic was NOT found.\n Please make sure TQt is correctly installed (1)." )
|
|
|
|
|
endif( )
|
|
|
|
|
else( )
|
|
|
|
|
find_program( UIC_EXECUTABLE NAMES tquic uic-qt3 uic HINTS "${QT_BINARY_DIR}" )
|
|
|
|
|
if( NOT UIC_EXECUTABLE )
|
|
|
|
|
tde_message_fatal( "uic was NOT found.\n Please make sure TQt is correctly installed (2)." )
|
|
|
|
|
endif( )
|
|
|
|
|
endif( )
|
|
|
|
|
qt_message( " UIC_EXECUTABLE: ${UIC_EXECUTABLE}" )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# check if TQt3 is usable
|
|
|
|
|
tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
|
|
|
|
|
|
|
|
|
|