summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2010-12-28 11:49:39 -0300
committerRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2010-12-28 12:00:02 -0300
commitfa89170f62d48b65948d11f77bd7a5e8fef17dbd (patch)
treeec3f3cd1ec68841ef29e2608956785957a09b92c
parenta74d92adcecb3df3bbb712e67590052279c5fd06 (diff)
downloadpyside-fa89170f62d48b65948d11f77bd7a5e8fef17dbd.tar.gz
pyside-fa89170f62d48b65948d11f77bd7a5e8fef17dbd.tar.xz
pyside-fa89170f62d48b65948d11f77bd7a5e8fef17dbd.zip
Test for QTDESIGNER before add QTUITOOLS.
This test is necessary because the module QTUITOOLS uses some classes from QTDESIGNER. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Bruno Araujo <bruno.araujo@openbossa.org>
-rw-r--r--PySide/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/PySide/CMakeLists.txt b/PySide/CMakeLists.txt
index 3b85e3d..35baf3c 100644
--- a/PySide/CMakeLists.txt
+++ b/PySide/CMakeLists.txt
@@ -23,7 +23,9 @@ HAS_QT_MODULE(QT_QTXML_FOUND QtXml)
HAS_QT_MODULE(QT_QTTEST_FOUND QtTest)
HAS_QT_MODULE(QT_QTOPENGL_FOUND QtOpenGL)
HAS_QT_MODULE(QT_QTSQL_FOUND QtSql)
-HAS_QT_MODULE(QT_QTUITOOLS_FOUND QtUiTools)
+if(QT_QTDESIGNER_FOUND)
+ HAS_QT_MODULE(QT_QTUITOOLS_FOUND QtUiTools)
+endif()
HAS_QT_MODULE(QT_QTHELP_FOUND QtHelp)
HAS_QT_MODULE(QT_QTXMLPATTERNS_FOUND QtXmlPatterns)
HAS_QT_MODULE(QT_QTMAEMO5_FOUND QtMaemo5)