Changeset 117:f3ffc9444e74 in qutecom coip

Show
Ignore:
Timestamp:
08/22/08 17:45:28 (3 months ago)
Author:
laurent@…
Message:

-add qt4 in \libs\3rdparty\CMakeLists.txt
-add qtwebkit sub projet

Location:
libs/3rdparty
Files:
1 added
3 modified

Legend:

Unmodified
Added
Removed
  • libs/3rdparty/CMakeLists.txt

    r91 r117  
    4141#       boost-python 
    4242 
    43         #qt4 
     43        qt4 
    4444 
    4545        qtcore 
     
    5555#       qttest 
    5656        qtxml 
    57  
     57        qtwebkit 
    5858        openssl 
    5959        libxml 
  • libs/3rdparty/qt4/CMakeLists.txt

    r114 r117  
    2424                ${QT_QTXML_LIBRARY_DEBUG} 
    2525                ${QT_QTSVG_LIBRARY_DEBUG} 
     26                ${QT_QTWEBKIT_LIBRARY_DEBUG} 
    2627        ) 
    2728        if (UNIX) 
     
    6869                ${QT_QTXML_LIBRARY_RELEASE} 
    6970                ${QT_QTSVG_LIBRARY_RELEASE} 
     71                ${QT_QTWEBKIT_LIBRARY_RELEASE} 
    7072                ${QT_QTMAIN_LIBRARY_RELEASE} # For WinMain under Windows 
    7173                QtUiTools 
  • libs/3rdparty/qtgui/CMakeLists.txt

    r1 r117  
    2525        ) 
    2626endif (CMAKE_BUILD_TYPE MATCHES Debug) 
    27  
    28 if (MSVC) 
    29         string(REGEX REPLACE "\\\\" "/" QTDIR $ENV{QTDIR}) 
    30         string(REGEX REPLACE "\\\\" "/" QT_PLUGINS_DIR ${QT_PLUGINS_DIR}) 
    31  
    32         if (CMAKE_BUILD_TYPE MATCHES Debug) 
    33                 ow_copy_file(${QTDIR}/bin/QtGuid4.dll ${BUILD_DIR}) 
    34                 #${BUILD_DIR}/imageformats/qmngd1.dll first then it creates imageformats directory 
    35                 ow_copy_file(${QT_PLUGINS_DIR}/imageformats/qmngd1.dll ${BUILD_DIR}/imageformats/qmngd1.dll) 
    36                 ow_copy_file(${QT_PLUGINS_DIR}/imageformats/qjpegd1.dll ${BUILD_DIR}/imageformats) 
    37                 ow_copy_file(${CMAKE_CURRENT_SOURCE_DIR}/binary-lib/msvc/imageformats/qgifd1.dll ${BUILD_DIR}/imageformats) 
    38         else (CMAKE_BUILD_TYPE MATCHES Debug) 
    39                 ow_copy_file(${QTDIR}/bin/QtGui4.dll ${BUILD_DIR}) 
    40                 #${BUILD_DIR}/imageformats/qmng1.dll first then it creates imageformats directory 
    41                 ow_copy_file(${QT_PLUGINS_DIR}/imageformats/qmng1.dll ${BUILD_DIR}/imageformats/qmng1.dll) 
    42                 ow_copy_file(${QT_PLUGINS_DIR}/imageformats/qjpeg1.dll ${BUILD_DIR}/imageformats) 
    43                 ow_copy_file(${CMAKE_CURRENT_SOURCE_DIR}/binary-lib/msvc/imageformats/qgif1.dll ${BUILD_DIR}/imageformats) 
    44         endif (CMAKE_BUILD_TYPE MATCHES Debug) 
    45 endif (MSVC) 
    46  
    47 if (LINUX) 
    48         if (CMAKE_BUILD_TYPE MATCHES Debug) 
    49                 set(suffix "_debug") 
    50         else (CMAKE_BUILD_TYPE MATCHES Debug) 
    51                 set(suffix "") 
    52         endif (CMAKE_BUILD_TYPE MATCHES Debug) 
    53  
    54         file(GLOB pluginList "${QT_PLUGINS_DIR}/imageformats/*${suffix}.so") 
    55         foreach(pluginPath ${pluginList}) 
    56                 get_filename_component(pluginName "${pluginPath}" NAME) 
    57                 ow_copy_file(${pluginPath} ${BUILD_DIR}/imageformats/${pluginName}) 
    58         endforeach(pluginPath) 
    59 endif (LINUX) 
    60  
    61 # Copy Qt translations 
    62 exec_program(${QT_QMAKE_EXECUTABLE} 
    63         ARGS "-query QT_INSTALL_TRANSLATIONS" 
    64         OUTPUT_VARIABLE QT_INSTALL_TRANSLATIONS) 
    65  
    66 string(REGEX REPLACE "\\\\" "/" QT_INSTALL_TRANSLATIONS ${QT_INSTALL_TRANSLATIONS}) 
    67  
    68 ow_copy_dir(${QT_INSTALL_TRANSLATIONS}/*.qm ${LOCALE_COPY_DIR}/.)