itom  3.0.0
0.h
1 #ifndef A_H
2 #define A_H
3 
4 // This file is a dirty litte trick for the automoccer of qt - we MUST include our python stuff before ANY
5 // qt stuff so we make this class which is first in the file list and first in alphabet and gets included
6 // in the automoccer cpp file first
7 
8 #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
9 
10 //python
11 // see http://vtk.org/gitweb?p=VTK.git;a=commitdiff;h=7f3f750596a105d48ea84ebfe1b1c4ca03e0bab3
12 #if (defined _DEBUG) && (defined WIN32)
13  #undef _DEBUG
14  #if (defined linux) | (defined CMAKE)
15  #include "Python.h"
16  #include "node.h"
17  #include "numpy/arrayobject.h"
18  #elif (defined __APPLE__) | (defined CMAKE)
19  #include "Python.h"
20  #include "node.h"
21  #include "numpy/arrayobject.h"
22  #else
23  #include "Python.h"
24  #include "node.h"
25  #include "../Lib/site-packages/numpy/core/include/numpy/arrayobject.h" //for numpy arrays
26  #endif
27  #define _DEBUG
28 #else
29  #if (defined linux)
30  #include "Python.h"
31  #include "node.h"
32  #include "numpy/arrayobject.h"
33  #elif (defined __APPLE__)
34  #include "Python.h"
35  #include "node.h"
36  #include "numpy/arrayobject.h"
37  #else
38  #include "Python.h"
39  #include "node.h"
40  #include "../Lib/site-packages/numpy/core/include/numpy/arrayobject.h" //for numpy arrays
41  #endif
42 #endif
43 
44 #include <qobject.h>
45 
46 class qDummyClass : public QObject
47 {
48  Q_OBJECT
49  public:
50  qDummyClass() {};
51  ~qDummyClass() {};
52 
53  private:
54 };
55 
56 #endif // A_H
Definition: 0.h:46