diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-04 19:54:24 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-04 19:54:24 +0000 |
commit | d7633c195a464e4d344ada9eea61afd10110598a (patch) | |
tree | 1f2da0b135f3ed84955e340cae823f00c4ce7284 /src/svnqt/CMakeLists.txt | |
parent | 3fa7eb804f67b2789f128075cc2522f398640250 (diff) | |
download | tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.tar.gz tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.zip |
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
Diffstat (limited to 'src/svnqt/CMakeLists.txt')
-rw-r--r-- | src/svnqt/CMakeLists.txt | 34 |
1 files changed, 17 insertions, 17 deletions
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\")))") |