QT4 compatibility.
							parent
							
								
									28f45ea9f9
								
							
						
					
					
						commit
						7fd90ac10f
					
				| 
						 | 
				
			
			@ -15,6 +15,8 @@
 | 
			
		|||
#include <Python.h>
 | 
			
		||||
 | 
			
		||||
// QT headers
 | 
			
		||||
#include <QDebug>
 | 
			
		||||
#include <QDir>
 | 
			
		||||
#include <QMessageBox>
 | 
			
		||||
 | 
			
		||||
// App headers
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -21,6 +21,7 @@
 | 
			
		|||
#include <QtWidgets>
 | 
			
		||||
#else
 | 
			
		||||
#include <QApplication>
 | 
			
		||||
#include <QDebug>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
// App headers
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,6 +12,10 @@
 | 
			
		|||
#ifndef PGADMIN4_H
 | 
			
		||||
#define PGADMIN4_H
 | 
			
		||||
 | 
			
		||||
// Include the Python header here as it needs to appear before any QT 
 | 
			
		||||
// headers anywhere in the app.
 | 
			
		||||
#include <Python.h>
 | 
			
		||||
 | 
			
		||||
// QT headers
 | 
			
		||||
#include <QtGlobal>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue