diff options
author | renato <renato.filho@openbossa.org> | 2010-04-16 16:14:03 -0300 |
---|---|---|
committer | Renato Filho <renato.filho@openbossa.org> | 2010-04-22 14:47:17 -0300 |
commit | 3468ba1efffc17f532ca69007602e87f19245304 (patch) | |
tree | 658290e3cf82e16539fd34b9a834af7c8ac2eaa1 /PySide/QtGui/CMakeLists.txt | |
parent | de4a1a10b01f54ce03bc484f04f4294ba8b4d314 (diff) |
Implemented module QtMaemo5.
Create unittest for module.
Fixed generetion of typesystem_gui.xml based on detected system.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'PySide/QtGui/CMakeLists.txt')
-rw-r--r-- | PySide/QtGui/CMakeLists.txt | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/PySide/QtGui/CMakeLists.txt b/PySide/QtGui/CMakeLists.txt index ea181abb2..9701ffb1a 100644 --- a/PySide/QtGui/CMakeLists.txt +++ b/PySide/QtGui/CMakeLists.txt @@ -33,21 +33,33 @@ macro(CHECK_QT_GUI_MACRO macro_display_name qt_macro module_sources global_sourc endif() endmacro(CHECK_QT_GUI_MACRO) - if(Q_WS_X11) - set(MODULE_NAME gui_x11) + set(AUTO_OS "X11") + set(MODULE_NAME "x11") set(SPECIFIC_OS_FILES ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qx11info_wrapper.cpp ) + if(Q_WS_MAEMO_5) + set(AUTO_OS "MAEMO 5") + set(MODULE_NAME "maemo") + set(SPECIFIC_OS_FILES + ${SPECIFIC_OS_FILES} + ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qabstractkineticscroller_wrapper.cpp + ) + endif(Q_WS_MAEMO_5) + elseif(Q_WS_MAC) - set(MODULE_NAME gui_mac) + set(AUTO_OS "MAC") + set(MODULE_NAME "mac") set(SPECIFIC_OS_FILES ) else() message(FATAL_ERROR "OS not supported") endif(Q_WS_X11) +message(STATUS "Detected OS: ${AUTO_OS}") + if (${QT_VERSION_MAJOR} EQUAL 4 AND ${QT_VERSION_MINOR} LESS 6) set (QtGui_46_SRC ) else() |