pano_interface_1.pro 2.1 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
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# compiler specific settings
darwin-g++*|macx-g++*|linux-g++*|win32-g++*|cygwin-g++* {
QMAKE_CXXFLAGS += -ansi -pedantic -Wno-long-long
INCLUDEPATH += "C:/MinGW/include"
DEPENDPATH += "C:/MinGW/include"
INCLUDEPATH += "C:/Qt/4.8.4-mingw/include"
DEPENDPATH += "C:/Qt/4.8.4-mingw/include"
LIBS += -L"C:/MinGW/lib"
LIBS += -L"C:/MinGW/bin"
LIBS += -L"C:/Qt/4.8.4-mingw/lib"
LIBS += -L"C:/Qt/4.8.4-mingw/bin"
}

win32-msvc* {
DEFINES += _CRT_SECURE_NO_WARNINGS
LIBS += "/nodefaultlib:LIBCMT"
INCLUDEPATH += "C:/Qt/4.8.4/include"
DEPENDPATH += "C:/Qt/4.8.4/include"
LIBS += -L"C:/Qt/4.8.4/lib"
LIBS += -L"C:/Qt/4.8.4/bin"
}

31
mac {
Luis Peñaranda's avatar
Luis Peñaranda committed
32
LIBS += -L/opt/local/lib
33
LIBS += -lpng -ljpeg -lpnm
Luis Peñaranda's avatar
Luis Peñaranda committed
34
35
36
LIBS += -framework Carbon -framework OpenGL -framework GLUT
INCLUDEPATH += /opt/local/include/netpbm/ \
               /opt/local/include/
37
} else:unix {
Luis Peñaranda's avatar
Luis Peñaranda committed
38
#LIBS += -lm -lpng -lpetsc -lglut -lGL -lnetpbm
39
LIBS += -lm -lglut -lGL -lGLEW -ljpeg -lpng -lnetpbm
40
# GLee is required when the version of opengl is old
Luis Peñaranda's avatar
Luis Peñaranda committed
41
42
43
#SOURCES += GLee.c
#HEADERS += GLee.h
#DEFINES += NEEDGLEE
44
}
Luis Peñaranda's avatar
Luis Peñaranda committed
45

46
47
win32 {
DEFINES += GLEW_STATIC
48
49
50
51
52
53
54
55
56
57
58
PFROOT = "C:/Program Files"
INCLUDEPATH += $${PFROOT}/glew-1.9.0/include
DEPENDPATH += $${PFROOT}/glew-1.9.0/include
INCLUDEPATH += $${PFROOT}/freeglut/include
DEPENDPATH += $${PFROOT}/freeglut/include
INCLUDEPATH += $${PFROOT}/GnuWin32/include
DEPENDPATH += $${PFROOT}/GnuWin32/include
LIBS += -L$${PFROOT}/freeglut/lib
LIBS += -L$${PFROOT}/GnuWin32/lib
LIBS += -L$${PFROOT}/GnuWin32/bin
LIBS += -L$${PFROOT}/glew-1.9.0/lib
59
LIBS += -lglew32s -lfreeglut -lglu32 -lopengl32 -ljpeg -lpng #-llibnetpbm10
Luis Penaranda's avatar
Luis Penaranda committed
60
61
}

Luis Peñaranda's avatar
Luis Peñaranda committed
62
63
64
65
66
67
TARGET = pano_interface_1
TEMPLATE = app

SOURCES += main.cpp\
        panowindow1.cpp \
    openglcanvas.cpp \
68
69
    chronos.cpp \
    image_read.cpp
Luis Peñaranda's avatar
Luis Peñaranda committed
70
71
72

HEADERS  += panowindow1.h \
    openglcanvas.h \
73
    chronos.h \
74
    glincludes.h \
75
76
    image_read.h \
    files.h
Luis Peñaranda's avatar
Luis Peñaranda committed
77
78

FORMS    += panowindow1.ui
79
80
81

OTHER_FILES += \
    shaders/fragment_shader.frag \
82
    shaders/vertex_shader.vert