diff options
Diffstat (limited to 'qtinterface/CMakeLists.txt')
-rw-r--r-- | qtinterface/CMakeLists.txt | 56 |
1 files changed, 3 insertions, 53 deletions
diff --git a/qtinterface/CMakeLists.txt b/qtinterface/CMakeLists.txt index 0ed399d..480760b 100644 --- a/qtinterface/CMakeLists.txt +++ b/qtinterface/CMakeLists.txt @@ -11,11 +11,7 @@ # ################################################# -if ( NOT HAVE_REAL_TQT ) - set( IFACE "interface_qt3" ) -else ( NOT HAVE_REAL_TQT ) - set( IFACE "interface_tqt3" ) -endif ( NOT HAVE_REAL_TQT ) +set( IFACE "interface_tqt3" ) include_directories( ${CMAKE_CURRENT_BINARY_DIR} @@ -101,23 +97,12 @@ install( FILES ${IFACE}/tqlistiterator.h DESTINATION ${INCLUDE_INSTALL_DIR} ) -install( - DIRECTORY tqt4/Qt - DESTINATION ${INCLUDE_INSTALL_DIR} - PATTERN ".svn" EXCLUDE ) - - ##### tqt tools ################################# configure_file( ${IFACE}/tmoc.cmake tmoc @ONLY ) configure_file( uic-tqt.cmake uic-tqt @ONLY ) -if ( NOT HAVE_REAL_TQT ) - configure_file( tqt-replace.cmake tqt-replace @ONLY ) - configure_file( tqt-replace-stream.cmake tqt-replace-stream @ONLY ) -else () - configure_file( tqt-replace-tqt3.cmake tqt-replace @ONLY ) - configure_file( tqt-replace-stream-tqt3.cmake tqt-replace-stream @ONLY ) -endif () +configure_file( tqt-replace-tqt3.cmake tqt-replace @ONLY ) +configure_file( tqt-replace-stream-tqt3.cmake tqt-replace-stream @ONLY ) install( PROGRAMS moc-tqt ${CMAKE_CURRENT_BINARY_DIR}/uic-tqt @@ -214,38 +199,3 @@ tde_add_library( tqt SHARED LINK ${TQT_LIBRARIES} DESTINATION ${LIB_INSTALL_DIR} ) - -##### tqassistantclient (shared) ############################## - -if ( NOT HAVE_REAL_TQT ) - - find_library( QASSISTANTCLIENT_STATIC libqassistantclient.a ) - - if ( QASSISTANTCLIENT_STATIC ) - - add_library(qassistantclient STATIC IMPORTED) - set_property(TARGET qassistantclient PROPERTY - IMPORTED_LOCATION ${QASSISTANTCLIENT_STATIC}) - - tde_add_library( tqassistantclient SHARED - SOURCES - ${IFACE}/tqassistantclient.cpp - VERSION 4.2.0 - LINK ${TQT_LIBRARIES} - EMBED qassistantclient - DESTINATION ${LIB_INSTALL_DIR} - ) - - else ( QASSISTANTCLIENT_STATIC ) - - tde_add_library( tqassistantclient SHARED - SOURCES - ${IFACE}/tqassistantclient.cpp - VERSION 4.2.0 - LINK ${TQT_LIBRARIES} -lqassistantclient - DESTINATION ${LIB_INSTALL_DIR} - ) - - endif ( QASSISTANTCLIENT_STATIC ) - -endif ( NOT HAVE_REAL_TQT ) |