pano_interface_1.pro 1.25 KB
Newer Older
Luis Peñaranda's avatar
Luis Peñaranda committed
1 2 3 4 5 6 7 8
#-------------------------------------------------
#
# Project created by QtCreator 2012-06-06T09:22:08
#
#-------------------------------------------------

QT       += core gui opengl

9
mac {
Luis Peñaranda's avatar
Luis Peñaranda committed
10 11 12 13 14
LIBS += -L/opt/local/lib
LIBS += -lpng -lpnm
LIBS += -framework Carbon -framework OpenGL -framework GLUT
INCLUDEPATH += /opt/local/include/netpbm/ \
               /opt/local/include/
15
} else:unix {
Luis Peñaranda's avatar
Luis Peñaranda committed
16
#LIBS += -lm -lpng -lpetsc -lglut -lGL -lnetpbm
17 18
LIBS += -lm -lglut -lGL -lGLEW -lnetpbm
# GLee is required when the version of opengl is old
Luis Peñaranda's avatar
Luis Peñaranda committed
19 20 21
#SOURCES += GLee.c
#HEADERS += GLee.h
#DEFINES += NEEDGLEE
22
}
Luis Peñaranda's avatar
Luis Peñaranda committed
23

24 25
win32 {
DEFINES += GLEW_STATIC
26 27 28 29 30 31 32 33 34
DEFINES += _CRT_SECURE_NO_WARNINGS
INCLUDEPATH += "C:/Program Files (x86)/glew-1.5.2/include"
DEPENDPATH += "C:/Program Files (x86)/glew-1.5.2/include"
INCLUDEPATH += "C:/Program Files (x86)/GnuWin32/include"
DEPENDPATH += "C:/Program Files (x86)/GnuWin32/include"
LIBS += -L"C:/Program Files (x86)/GnuWin32/lib"
LIBS += -lglu32 -lopengl32 -lfreeglut -llibnetpbm10
LIBS += -L"C:/Program Files (x86)/glew-1.5.2/lib"
LIBS += -lglew32s
35 36
}

Luis Peñaranda's avatar
Luis Peñaranda committed
37 38 39 40 41 42 43 44 45 46 47 48 49
TARGET = pano_interface_1
TEMPLATE = app

SOURCES += main.cpp\
        panowindow1.cpp \
    openglcanvas.cpp \
    chronos.cpp

HEADERS  += panowindow1.h \
    openglcanvas.h \
    chronos.h

FORMS    += panowindow1.ui