pano_interface_1.pro 2.1 KB
Newer Older
Luis Peñaranda's avatar
Luis Peñaranda committed
#-------------------------------------------------
#
# Project created by QtCreator 2012-06-06T09:22:08
#
#-------------------------------------------------

QT       += core gui opengl

# 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"
}

Luis Peñaranda's avatar
Luis Peñaranda committed
LIBS += -L/opt/local/lib
LIBS += -lpng -ljpeg -lpnm
Luis Peñaranda's avatar
Luis Peñaranda committed
LIBS += -framework Carbon -framework OpenGL -framework GLUT
INCLUDEPATH += /opt/local/include/netpbm/ \
               /opt/local/include/
} else:unix {
Luis Peñaranda's avatar
Luis Peñaranda committed
#LIBS += -lm -lpng -lpetsc -lglut -lGL -lnetpbm
LIBS += -lm -lglut -lGL -lGLEW -ljpeg -lpng -lnetpbm
# GLee is required when the version of opengl is old
Luis Peñaranda's avatar
Luis Peñaranda committed
#SOURCES += GLee.c
#HEADERS += GLee.h
#DEFINES += NEEDGLEE
Luis Peñaranda's avatar
Luis Peñaranda committed

win32 {
DEFINES += GLEW_STATIC
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
LIBS += -lglew32s -lfreeglut -lglu32 -lopengl32 -ljpeg -lpng #-llibnetpbm10
Luis Peñaranda's avatar
Luis Peñaranda committed
TARGET = pano_interface_1
TEMPLATE = app

SOURCES += main.cpp\
        panowindow1.cpp \
    openglcanvas.cpp \
    chronos.cpp \
    image_read.cpp
Luis Peñaranda's avatar
Luis Peñaranda committed

HEADERS  += panowindow1.h \
    openglcanvas.h \
    image_read.h \
    files.h
Luis Peñaranda's avatar
Luis Peñaranda committed

FORMS    += panowindow1.ui

OTHER_FILES += \
    shaders/fragment_shader.frag \
    shaders/test_vertex_shader.vert