Linking external libraries in Qt (w/ VS10)

So I am having an absolute hell of a time trying to link opencv2.4.3 libraries inside of a Qt GUI project.
I'm running Qt Creator with the VS10 compiler.

my .pro file contains the following, which was generated by Qt Creator's add library function.
1
2
3
4
5
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../../../Libs/opencv/build/x86/vc10/lib/ -lopencv_core243
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../../../Libs/opencv/build/x86/vc10/lib/ -lopencv_core243d

INCLUDEPATH += $$PWD/../../../../../../Libs/opencv/build/include
DEPENDPATH += $$PWD/../../../../../../Libs/opencv/build/include


When I type out #include <opencv2/core/core.hpp> Qt Creator intellisense picks up that directory, but on compile i continually get
error: C1083: Cannot open include file: 'opencv2/core/core.hpp': No such file or directory


I've tried rewording the includepath and dependpath statements in the .pro file a thousand different ways, and I've been googling a solution for hours (to no avail). Linking external libraries in Qt seems to be a common issue, though.

Anyone have any ideas on how I can get this working?
Topic archived. No new replies allowed.