Explorar o código

Merge pull request #558 from jcfr/fix-ctkWrapPythonQt-for-qt5

Do not require QWidget in decorator generated by ctkWrapPythonQt
Jean-Christophe Fillion-Robin %!s(int64=10) %!d(string=hai) anos
pai
achega
e4e9cc326d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      CMake/ctkWrapPythonQt.py

+ 1 - 1
CMake/ctkWrapPythonQt.py

@@ -168,7 +168,7 @@ def ctk_wrap_pythonqt(target, namespace, output_dir, input_files, extra_verbose)
 #ifndef __${namespace}_${target}_h
 #define __${namespace}_${target}_h
 
-#include <QWidget>
+#include <QObject>
 ${includes}
 ${pythonqtWrappers}
 #endif