@ -19,10 +19,18 @@ if( NOT TQT_FOUND )
tde_message_fatal ( "Unable to find tqt!\n Try adding the directory in which the tqt.pc file is located\nto the PKG_CONFIG_PATH variable." )
endif ( )
mark_as_advanced (
T M O C _ E X E C U T A B L E
M O C _ E X E C U T A B L E
U I C _ E X E C U T A B L E
)
# t m o c _ e x e c u t a b l e
tde_execute_process (
C O M M A N D p k g - c o n f i g t q t - - v a r i a b l e = t m o c _ e x e c u t a b l e
O U T P U T _ V A R I A B L E T M O C _ E X E C U T A B L E O U T P U T _ S T R I P _ T R A I L I N G _ W H I T E S P A C E )
O U T P U T _ V A R I A B L E T M O C _ E X E C U T A B L E
C A C H E F I L E P A T H " T Q t t m o c e x e c u t a b l e p a t h "
O U T P U T _ S T R I P _ T R A I L I N G _ W H I T E S P A C E )
if ( NOT EXISTS ${ TMOC_EXECUTABLE } )
tde_message_fatal ( "tmoc is not found!\n tqt is correctly installed?" )
@ -34,7 +42,9 @@ tqt_message( " tmoc path: ${TMOC_EXECUTABLE}" )
# m o c _ e x e c u t a b l e
tde_execute_process (
C O M M A N D p k g - c o n f i g t q t - - v a r i a b l e = m o c _ e x e c u t a b l e
O U T P U T _ V A R I A B L E M O C _ E X E C U T A B L E O U T P U T _ S T R I P _ T R A I L I N G _ W H I T E S P A C E )
O U T P U T _ V A R I A B L E M O C _ E X E C U T A B L E
C A C H E F I L E P A T H " T Q t m o c e x e c u t a b l e p a t h "
O U T P U T _ S T R I P _ T R A I L I N G _ W H I T E S P A C E )
if ( NOT EXISTS ${ MOC_EXECUTABLE } )
tde_message_fatal ( "Path to moc is not set.\n tqt is correctly installed?" )
@ -46,7 +56,9 @@ tqt_message( " moc path: ${MOC_EXECUTABLE}" )
# u i c _ e x e c u t a b l e
tde_execute_process (
C O M M A N D p k g - c o n f i g t q t - - v a r i a b l e = u i c _ e x e c u t a b l e
O U T P U T _ V A R I A B L E U I C _ E X E C U T A B L E O U T P U T _ S T R I P _ T R A I L I N G _ W H I T E S P A C E )
O U T P U T _ V A R I A B L E U I C _ E X E C U T A B L E
C A C H E F I L E P A T H " T Q t u i c e x e c u t a b l e p a t h "
O U T P U T _ S T R I P _ T R A I L I N G _ W H I T E S P A C E )
if ( NOT EXISTS ${ UIC_EXECUTABLE } )
tde_message_fatal ( "uic not found!\n tqt is correctly installed?" )