qt -> tqt conversion:

QTDIR -> TQTDIR
QTDOC -> TQTDOC
INCDIR_QT -> INCDIR_TQT
LIBDIR_QT -> LIBDIR_TQT
QT_INC -> TQT_INC
QT_LIB -> TQT_LIB

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 6 years ago
parent 9255ac3df6
commit b1010ff473
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -4,7 +4,7 @@ Seems that on some systems linking fails due missing references. You may
solve it with
. /etc/profile.d/qt.sh
export TQTLIB=${QTDIR}/lib QTINC=${QTDIR}/include
export TQTLIB=${TQTDIR}/lib QTINC=${TQTDIR}/include
before running cmake.
On some systems cmake doesn't detect that it is a threaded qt-version. So you should

@ -25,7 +25,7 @@ To compile
qmake
make
cp sqldrivers/libqsqlite3.so $QTDIR/plugins/sqldrivers (probably as root)
cp sqldrivers/libqsqlite3.so $TQTDIR/plugins/sqldrivers (probably as root)
use it as any other Qt sql driver.

@ -6,7 +6,7 @@ MACRO(BUILD_TEST tname)
SET(${tname}-src ${${tname}-src} ${tname}.h)
ENDIF (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${tname}.h)
ADD_EXECUTABLE(${tname} ${${tname}-src})
TARGET_LINK_LIBRARIES(${tname} ${svnqt-name} ${QT_LIBRARIES})
TARGET_LINK_LIBRARIES(${tname} ${svnqt-name} ${TQT_LIBRARIES})
ADD_TEST(${tname} ${CMAKE_CURRENT_BINARY_DIR}/${tname})
ENDMACRO(BUILD_TEST)

@ -6,7 +6,7 @@ MACRO(BUILD_TEST tname)
SET(${tname}-src ${${tname}-src} ${tname}.h)
ENDIF (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${tname}.h)
ADD_EXECUTABLE(${tname} ${${tname}-src})
TARGET_LINK_LIBRARIES(${tname} ${svnqt-name} ${QT_LIBRARIES})
TARGET_LINK_LIBRARIES(${tname} ${svnqt-name} ${TQT_LIBRARIES})
ADD_TEST(${tname} ${CMAKE_CURRENT_BINARY_DIR}/${tname})
ENDMACRO(BUILD_TEST)

Loading…
Cancel
Save