From d7633c195a464e4d344ada9eea61afd10110598a Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 4 May 2011 19:54:24 +0000 Subject: Port kdesvn to TQt4 This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1230412 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/svnqt/CMakeLists.txt | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'src/svnqt/CMakeLists.txt') diff --git a/src/svnqt/CMakeLists.txt b/src/svnqt/CMakeLists.txt index bf50a6f..a6212fd 100644 --- a/src/svnqt/CMakeLists.txt +++ b/src/svnqt/CMakeLists.txt @@ -108,29 +108,29 @@ SET(INST_HEADERS FILE(GLOB svnhdr RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.hpp") SET(svnhdr ${svnhdr} ${CACHE_INST_HEADERS}) -IF(QT4_FOUND) - MESSAGE(STATUS "Qt: ${QT_LIBRARY_DIR}") - MESSAGE(STATUS "Qt: ${QT_QTCORE_LIBRARY}") - SET(TOUTF8 "toUtf8") - SET(FROMUTF8 "fromUtf8") - SET(QLIST "QList") - SET(TOASCII "toAscii") - SET(HOMEDIR "homePath") - SET(svnqt-name svnqt-qt4) - SET(QDATABASE "QSqlDatabase") - SET(QLONG "qlonglong") -ELSE(QT4_FOUND) - IF(QT_FOUND) +#IF(QT4_FOUND) +# MESSAGE(STATUS "Qt: ${QT_LIBRARY_DIR}") +# MESSAGE(STATUS "Qt: ${QT_QTCORE_LIBRARY}") +# SET(TOUTF8 "toUtf8") +# SET(FROMUTF8 "fromUtf8") +# SET(QLIST "QList") +# SET(TOASCII "toAscii") +# SET(HOMEDIR "homePath") +# SET(svnqt-name svnqt-qt4) +# SET(QDATABASE "QSqlDatabase") +# SET(QLONG "qlonglong") +#ELSE(QT4_FOUND) +# IF(QT_FOUND) SET(TOUTF8 "utf8") SET(FROMUTF8 "fromUtf8") - SET(QLIST "QValueList") + SET(QLIST "TQValueList") SET(TOASCII "latin1") SET(HOMEDIR "homeDirPath") - SET(QDATABASE "QSqlDatabase*") + SET(QDATABASE "TQSqlDatabase*") SET(QLONG "Q_LLONG") - ENDIF(QT_FOUND) +# ENDIF(QT_FOUND) SET(svnqt-name svnqt) -ENDIF(QT4_FOUND) +#ENDIF(QT4_FOUND) IF (HAVE_GCC_VISIBILITY) SET(_SVNQT_EXPORT "__attribute__ ((visibility(\"default\")))") -- cgit v1.2.1