moc-tqt is no longer required

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/4/head
Michele Calgaro 9 months ago
parent bdfef6a613
commit 51f0b3f7c2
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -61,10 +61,6 @@ tde_setup_largefiles( )
find_package( TQt ) find_package( TQt )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" ) set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( MOC_TQT_SCRIPT "${TQT_PREFIX}/bin/moc-tqt" )
if( NOT EXISTS ${MOC_TQT_SCRIPT} )
tde_message_fatal( "moc-tqt not found!\n Check tqt installation." )
endif( NOT EXISTS ${MOC_TQT_SCRIPT} )
message( STATUS "Checking for avahi-common library" ) message( STATUS "Checking for avahi-common library" )
find_library( AVAHI_COMMON NAMES avahi-common ) find_library( AVAHI_COMMON NAMES avahi-common )

@ -44,10 +44,9 @@ add_custom_command(
OUTPUT OUTPUT
qt-watch.moc3 qt-watch.moc3
COMMAND COMMAND
${MOC_TQT_SCRIPT}
${MOC_EXECUTABLE} ${MOC_EXECUTABLE}
${CMAKE_CURRENT_SOURCE_DIR}/qt-watch.cpp ${CMAKE_CURRENT_SOURCE_DIR}/qt-watch.cpp
qt-watch.moc3 -o qt-watch.moc3
) )
set_property( set_property(

Loading…
Cancel
Save