Browse Source

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 9 months ago
parent
commit
27f72f706c
Signed by: Michele Calgaro <michele.calgaro@yahoo.it> GPG Key ID: 2A75B7CA8ADED5CF
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      ConfigureChecks.cmake

+ 3
- 3
ConfigureChecks.cmake View File

@@ -197,8 +197,8 @@ find_package( TDE )
197 197
 
198 198
 # check for Qt with OpenGL support
199 199
 tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
200
-set( CMAKE_REQUIRED_INCLUDES ${QT_INCLUDE_DIRS} )
201
-set( CMAKE_REQUIRED_LIBRARIES -L${QT_LIBRARY_DIRS} ${QT_LIBRARIES} )
200
+set( CMAKE_REQUIRED_INCLUDES ${TQT_INCLUDE_DIRS} )
201
+set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIRS} ${TQT_LIBRARIES} )
202 202
 check_cxx_source_compiles("
203 203
   #include <qgl.h>
204 204
   int main(int, char**) { (void)new QGLWidget((QWidget*)0, \"qgl\"); return 0; } "
@@ -212,7 +212,7 @@ if( WITH_KONQSIDEBAR )
212 212
   set( CMAKE_REQUIRED_DEFINITIONS ${TQT_CFLAGS_OTHER} )
213 213
   set( CMAKE_REQUIRED_INCLUDES ${TDE_INCLUDE_DIR};${TQT_INCLUDE_DIRS};${CMAKE_INCLUDE_PATH} )
214 214
   set( CMAKE_REQUIRED_FLAGS "-include tqt.h" )
215
-  set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIRS} -L${QT_LIBRARY_DIRS} ${TQT_LIBRARIES} )
215
+  set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIRS} -L${TQT_LIBRARY_DIRS} ${TQT_LIBRARIES} )
216 216
   check_cxx_source_compiles("
217 217
     #include <konqsidebarplugin.h>
218 218
     int main(int, char**) { return 0; } "

Loading…
Cancel
Save