fixed compilation in MacOSX Mavericks (Qt4 and Qt5)

This commit is contained in:
Luis Ángel San Martín
2013-11-23 06:32:50 -08:00
parent 7392e55597
commit 5a5c118b83
7 changed files with 20 additions and 9 deletions

View File

@ -41,10 +41,17 @@ LIBS += -lGLU
macx{
#INCLUDEPATH += "/Volumes/Mac OS X Lion/usr/X11/include"
isEqual(QT_MAJOR_VERSION, 5) {
INCLUDEPATH += /usr/local/include/poppler/qt5
LIBS += -L/usr/local/lib -lpoppler-qt5
}
else {
INCLUDEPATH += /usr/local/include/poppler/qt4
LIBS += -L/usr/local/lib -lpoppler-qt4
}
}
#CONFIG += release
CONFIG -= flat
QT += sql network opengl script