Compatibility fixes for Qt5 (#271)

* Compatibility fixes for Qt5
- make Qt detection in client/Makefile independent of OS
- added -std=c++11 and -fPIC as compiler options (required by some Qt versions, breaks compiling with old ProxSpace environment)
This commit is contained in:
pwpiwi 2017-04-11 06:58:20 +02:00 committed by GitHub
commit 3472ebe528
2 changed files with 29 additions and 20 deletions

View file

@ -7,6 +7,7 @@
//-----------------------------------------------------------------------------
// GUI (QT)
//-----------------------------------------------------------------------------
#include "proxguiqt.h"
#include <iostream>
#include <QPainterPath>
@ -19,7 +20,6 @@
#include <math.h>
#include <limits.h>
#include <stdio.h>
#include "proxguiqt.h"
#include "proxgui.h"
int GridOffset= 0;