summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNash <nash@bsd-noobz.com>2014-08-30 22:11:03 +0700
committerNash <nash@bsd-noobz.com>2014-08-30 22:11:03 +0700
commitc2e3cc1b61102d4043648ec9152ef4d2fe72aecf (patch)
tree32406483b97c79c40923376516ce3282db5337cb
parent97c4dccf913064d483a42b0f69882cbd9ff2f36c (diff)
improve the README file
-rw-r--r--opencv-qt-integration-1/README.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/opencv-qt-integration-1/README.md b/opencv-qt-integration-1/README.md
index ab4d6dc..8e1de16 100644
--- a/opencv-qt-integration-1/README.md
+++ b/opencv-qt-integration-1/README.md
@@ -1,7 +1,7 @@
OpenCV - Qt Integration
=======================
-This sample demonstrate how to display `cv::Mat` using `QLabel` widget. Tested on Mac OS X and Qt 5.3.0.
+This sample demonstrate how to display OpenCV's `cv::Mat` within a Qt GUI. Tested with Qt 5.3.0 on Mac OS X.
![Screenshot](http://i.imgur.com/k1et0FY.png)
@@ -10,7 +10,12 @@ Within the `python/` directory, you will see the same code written in Python.
Compiling
---------
-To compile the code, change the working directory and type:
+Open `ImageViewer.pro` and modify the variables to match with your system. For example, you might need to modify the paths for includes and libraries especially if you're on Windows.
+
+ INCLUDEPATH += /usr/local/include
+ LIBS += -L/usr/local/lib -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_imgcodecs
+
+Change your working directory and compile the code by typing:
qmake
make