pano_interface_1.pro 1.69 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
Luis Penaranda's avatar
Luis Penaranda committed
26 27
INCLUDEPATH += "C:/Program Files (x86)/glew-1.9.0/include"
DEPENDPATH += "C:/Program Files (x86)/glew-1.9.0/include"
Luis Penaranda's avatar
Luis Penaranda committed
28 29
INCLUDEPATH += "C:/Program Files (x86)/freeglut/include"
DEPENDPATH += "C:/Program Files (x86)/freeglut/include"
30 31
INCLUDEPATH += "C:/Program Files (x86)/GnuWin32/include"
DEPENDPATH += "C:/Program Files (x86)/GnuWin32/include"
Luis Penaranda's avatar
Luis Penaranda committed
32
LIBS += -L"C:/Program Files (x86)/freeglut/lib"
33
LIBS += -L"C:/Program Files (x86)/GnuWin32/lib"
Luis Penaranda's avatar
Luis Penaranda committed
34
LIBS += -L"C:/Program Files (x86)/GnuWin32/bin"
Luis Penaranda's avatar
Luis Penaranda committed
35 36 37 38 39
LIBS += -L"C:/Program Files (x86)/glew-1.9.0/lib"
LIBS += -lglew32s -lfreeglut -lglu32 -lopengl32 -llibnetpbm10
}

# compiler specific settings
Luis Penaranda's avatar
Luis Penaranda committed
40 41
darwin-g++*|macx-g++*|linux-g++*|win32-g++*|cygwin-g++* {
QMAKE_CXXFLAGS += -ansi -pedantic -Wno-long-long
Luis Penaranda's avatar
Luis Penaranda committed
42 43 44 45
}
win32-msvc2003|win32-msvc2005|win32-msvc2008|win32-msvc2010|win32-msvc2012 {
DEFINES += _CRT_SECURE_NO_WARNINGS
LIBS += "/nodefaultlib:LIBCMT"
46 47
}

Luis Peñaranda's avatar
Luis Peñaranda committed
48 49 50 51 52 53 54 55 56 57 58 59 60
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