Преглед изворни кода

Ensure ctkAbstractPythonManagerTest compiles using Qt 4.6.2

See #190
Jean-Christophe Fillion-Robin пре 14 година
родитељ
комит
89d35baf9a
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      Libs/Scripting/Python/Core/Testing/Cpp/ctkAbstractPythonManagerTest.cpp

+ 5 - 0
Libs/Scripting/Python/Core/Testing/Cpp/ctkAbstractPythonManagerTest.cpp

@@ -11,6 +11,11 @@
 #include <iostream>
 #include <iostream>
 
 
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
+#if QT_VERSION < 0x040700
+  Q_DECLARE_METATYPE(QVariant)
+#endif
+
+//-----------------------------------------------------------------------------
 class ctkAbstractPythonManagerTester: public QObject
 class ctkAbstractPythonManagerTester: public QObject
 {
 {
   Q_OBJECT
   Q_OBJECT