**Version: opencv-3.1.0
Language : C++**
Hello everyone,
I have been having a reoccurring problem that is really slowing me down.. I'm new to C++ and really want to learn and get into openCV . I have successfully integrated this with Xcode on my mac but am unable to do this with Qt .. Here what I have done so far (below) I have added this to my project but keep getting an error saying 'libraries/openCV not found'
#-------------------------------------------------
#
# Project created by QtCreator 2016-05-15T23:16:25
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = cam
TEMPLATE = app
// new
QT += core
QT -= gui
TARGET = RP_openCV_01
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp
LIBS += -L/opt/local/lib \
-lopencv_highgui.3.1.0 \
-lopencv_core.3.1.0
INCLUDEPATH += /opt/local/include
HEADERS += mainwindow.h
FORMS += mainwindow.ui
↧