diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-09-01 20:58:41 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-09-02 15:07:59 -0300 |
commit | 8f4246a522aa02c9e1d7e44ab6a18d13075d53b9 (patch) | |
tree | 34e4551d31960708e3850ca03f8231211dd3fcd3 /PySide/CMakeLists.txt | |
parent | 94ce2814e9a3709ab7d60f3acee6576fe9476b1d (diff) |
Fix bug#125 - "QAbstractTextDocumentLayout.registerHandler apparently not working"
Added class QPyTextObject which inherits from QObject and QTextObjectInterface to
solve the issue with registerHandler, the same approach used by PyQt.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'PySide/CMakeLists.txt')
-rw-r--r-- | PySide/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PySide/CMakeLists.txt b/PySide/CMakeLists.txt index edd3b44f1..e4b6a1d8c 100644 --- a/PySide/CMakeLists.txt +++ b/PySide/CMakeLists.txt @@ -27,8 +27,8 @@ macro(create_pyside_module module_name module_include_dir module_libraries modul WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMENT "Running generator for ${module_name}...") - include_directories(${module_name} ${${module_include_dir}}) - add_library(${module_name} MODULE ${${module_sources}}) + include_directories(${module_name} ${${module_include_dir}} ${pyside_SOURCE_DIR}) + add_library(${module_name} MODULE ${${module_sources}} ${${ARGN}}) set_target_properties(${module_name} PROPERTIES PREFIX "" LIBRARY_OUTPUT_DIRECTORY ${pyside_BINARY_DIR}) if(WIN32) set_target_properties(${module_name} PROPERTIES SUFFIX ".pyd") |