diff options
author | Paulo Alcantara <pcacjr@gmail.com> | 2011-12-21 14:57:32 -0300 |
---|---|---|
committer | Paulo Alcantara <pcacjr@gmail.com> | 2011-12-21 15:39:21 -0300 |
commit | 689c31a3634e7266343ff475e82236bd7d6611a9 (patch) | |
tree | f5ee02e04f6d9ef51af57a402ccf15110306571f /PySide/QtGui/CMakeLists.txt | |
parent | 86c6261dac472b623d5799a11dee6c8956daf600 (diff) | |
download | pyside-689c31a3634e7266343ff475e82236bd7d6611a9.tar.gz pyside-689c31a3634e7266343ff475e82236bd7d6611a9.tar.xz pyside-689c31a3634e7266343ff475e82236bd7d6611a9.zip |
Fix BUG #1091 - "PixmapFragment and drawPixmapFragments are not bound"
See http://bugs.pyside.org/show_bug.cgi?id=1091.
Also minor coding style fixes in QtGui's typesystem.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'PySide/QtGui/CMakeLists.txt')
-rw-r--r-- | PySide/QtGui/CMakeLists.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/PySide/QtGui/CMakeLists.txt b/PySide/QtGui/CMakeLists.txt index 6023a32..7625634 100644 --- a/PySide/QtGui/CMakeLists.txt +++ b/PySide/QtGui/CMakeLists.txt @@ -15,7 +15,6 @@ if(ENABLE_X11) endif() endif() - if (${QT_VERSION_MAJOR} EQUAL 4 AND ${QT_VERSION_MINOR} LESS 6) set(QtGui_46_SRC "") else() @@ -60,6 +59,14 @@ else() ) endif () +if (${QT_VERSION_MAJOR} EQUAL 4 AND ${QT_VERSION_MINOR} LESS 7) + set(QtGui_47_SRC "") +else() + set(QtGui_47_SRC + ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qpainter_pixmapfragment_wrapper.cpp + ) +endif() + set(QtGui_OPTIONAL_SRC ) set(QtGui_DROPPED_ENTRIES ) check_qt_class(QtGui QAbstractPageSetupDialog QtGui_OPTIONAL_SRC QtGui_DROPPED_ENTRIES) @@ -398,6 +405,7 @@ ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtGui/qworkspace_wrapper.cpp ${SPECIFIC_OS_FILES} ${QPYTEXTOBJECT_MOC} ${QtGui_46_SRC} +${QtGui_47_SRC} ${QtGui_OPTIONAL_SRC} ) |