Commit d29196e5 authored by pieper's avatar pieper
Browse files

COMP: make pythonqt distinct from python and qt with it's own ifdef

git-svn-id: http://svn.slicer.org/Slicer4/trunk@10470 3bd1e089-480b-0410-8dfb-8563597acbee
parent ae3473f7
#ifdef Slicer3_USE_QT
//# ifdef Slicer3_USE_PYTHON
//# include "PythonQt.h"
//# include "PythonQt_QtAll.h"
//# endif
# ifdef Slicer3_USE_PYTHONQT
# include "PythonQt.h"
# include "PythonQt_QtAll.h"
# endif
#include <QApplication>
#include <QTextBrowser>
#include <QLayout>
......@@ -336,7 +336,7 @@ vtkSlicerApplication::vtkSlicerApplication ( ) {
int argc = 0;
this->qapp = new QApplication(argc, &argv);
#ifdef Slicer3_USE_PYTHON
#ifdef Slicer3_USE_PYTHONQT
PythonQt::init(PythonQt::DoNotInitializePython);
PythonQt_QtAll::init();
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment