Adapted/fixed for OpenCV 2.4.6 and Qt 4.8.6 on GNU/Linux
/trunk/Chapter 09/CameraCalibrator.h |
---|
1,19 → 1,19 |
/*------------------------------------------------------------------------------------------*\ |
This file contains material supporting chapter 9 of the cookbook: |
Computer Vision Programming using the OpenCV Library. |
by Robert Laganiere, Packt Publishing, 2011. |
Computer Vision Programming using the OpenCV Library. |
by Robert Laganiere, Packt Publishing, 2011. |
This program is free software; permission is hereby granted to use, copy, modify, |
and distribute this source code, or portions thereof, for any purpose, without fee, |
subject to the restriction that the copyright notice may not be removed |
or altered from any source or altered source distribution. |
The software is released on an as-is basis and without any warranties of any kind. |
In particular, the software is not guaranteed to be fault-tolerant or free from failure. |
The author disclaims all warranties with regard to this software, any use, |
and any consequent failure, is purely the responsibility of the user. |
This program is free software; permission is hereby granted to use, copy, modify, |
and distribute this source code, or portions thereof, for any purpose, without fee, |
subject to the restriction that the copyright notice may not be removed |
or altered from any source or altered source distribution. |
The software is released on an as-is basis and without any warranties of any kind. |
In particular, the software is not guaranteed to be fault-tolerant or free from failure. |
The author disclaims all warranties with regard to this software, any use, |
and any consequent failure, is purely the responsibility of the user. |
Copyright (C) 2010-2011 Robert Laganiere, www.laganiere.name |
\*------------------------------------------------------------------------------------------*/ |
Copyright (C) 2010-2011 Robert Laganiere, www.laganiere.name |
\*------------------------------------------------------------------------------------------*/ |
#ifndef CAMERACALIBRATOR_H |
#define CAMERACALIBRATOR_H |
26,37 → 26,58 |
#include "opencv2/calib3d/calib3d.hpp" |
#include <opencv2/highgui/highgui.hpp> |
class CameraCalibrator { |
class CameraCalibrator |
{ |
// input points |
std::vector<std::vector<cv::Point3f>> objectPoints; |
std::vector<std::vector<cv::Point2f>> imagePoints; |
// output Matrices |
cv::Mat cameraMatrix; |
cv::Mat distCoeffs; |
// flag to specify how calibration is done |
int flag; |
// used in image undistortion |
cv::Mat map1,map2; |
bool mustInitUndistort; |
// input points |
std::vector<std::vector<cv::Point3f> > objectPoints; |
std::vector<std::vector<cv::Point2f> > imagePoints; |
// output Matrices |
cv::Mat cameraMatrix; |
cv::Mat distCoeffs; |
// flag to specify how calibration is done |
int flag; |
// used in image undistortion |
cv::Mat map1, map2; |
bool mustInitUndistort; |
public: |
CameraCalibrator() : flag(0), mustInitUndistort(true) {}; |
public: |
CameraCalibrator() : |
flag(0), mustInitUndistort(true) |
{ |
} |
; |
// Open the chessboard images and extract corner points |
int addChessboardPoints(const std::vector<std::string>& filelist, cv::Size & boardSize); |
// Add scene points and corresponding image points |
void addPoints(const std::vector<cv::Point2f>& imageCorners, const std::vector<cv::Point3f>& objectCorners); |
// Calibrate the camera |
double calibrate(cv::Size &imageSize); |
// Set the calibration flag |
void setCalibrationFlag(bool radial8CoeffEnabled=false, bool tangentialParamEnabled=false); |
// Remove distortion in an image (after calibration) |
cv::Mat CameraCalibrator::remap(const cv::Mat &image); |
// Open the chessboard images and extract corner points |
int |
addChessboardPoints(const std::vector<std::string>& filelist, |
cv::Size & boardSize); |
// Add scene points and corresponding image points |
void |
addPoints(const std::vector<cv::Point2f>& imageCorners, |
const std::vector<cv::Point3f>& objectCorners); |
// Calibrate the camera |
double |
calibrate(cv::Size imageSize); |
// Set the calibration flag |
void |
setCalibrationFlag(bool radial8CoeffEnabled = false, |
bool tangentialParamEnabled = false); |
// Remove distortion in an image (after calibration) |
cv::Mat |
remap(const cv::Mat &image); |
// Getters |
cv::Mat getCameraMatrix() { return cameraMatrix; } |
cv::Mat getDistCoeffs() { return distCoeffs; } |
// Getters |
cv::Mat |
getCameraMatrix() |
{ |
return cameraMatrix; |
} |
cv::Mat |
getDistCoeffs() |
{ |
return distCoeffs; |
} |
}; |
#endif // CAMERACALIBRATOR_H |
/trunk/Chapter 09/calibrate.cpp |
---|
1,19 → 1,19 |
/*------------------------------------------------------------------------------------------*\ |
This file contains material supporting chapter 9 of the cookbook: |
Computer Vision Programming using the OpenCV Library. |
by Robert Laganiere, Packt Publishing, 2011. |
Computer Vision Programming using the OpenCV Library. |
by Robert Laganiere, Packt Publishing, 2011. |
This program is free software; permission is hereby granted to use, copy, modify, |
and distribute this source code, or portions thereof, for any purpose, without fee, |
subject to the restriction that the copyright notice may not be removed |
or altered from any source or altered source distribution. |
The software is released on an as-is basis and without any warranties of any kind. |
In particular, the software is not guaranteed to be fault-tolerant or free from failure. |
The author disclaims all warranties with regard to this software, any use, |
and any consequent failure, is purely the responsibility of the user. |
This program is free software; permission is hereby granted to use, copy, modify, |
and distribute this source code, or portions thereof, for any purpose, without fee, |
subject to the restriction that the copyright notice may not be removed |
or altered from any source or altered source distribution. |
The software is released on an as-is basis and without any warranties of any kind. |
In particular, the software is not guaranteed to be fault-tolerant or free from failure. |
The author disclaims all warranties with regard to this software, any use, |
and any consequent failure, is purely the responsibility of the user. |
Copyright (C) 2010-2011 Robert Laganiere, www.laganiere.name |
\*------------------------------------------------------------------------------------------*/ |
Copyright (C) 2010-2011 Robert Laganiere, www.laganiere.name |
\*------------------------------------------------------------------------------------------*/ |
#include <iostream> |
#include <iomanip> |
25,52 → 25,61 |
#include "CameraCalibrator.h" |
int main() |
int |
main() |
{ |
cv::namedWindow("Image"); |
cv::Mat image; |
std::vector<std::string> filelist; |
cv::namedWindow("Image"); |
cv::Mat image; |
std::vector<std::string> filelist; |
// generate list of chessboard image filename |
for (int i=1; i<=20; i++) { |
// generate list of chessboard image filename |
for (int i = 1; i <= 20; i++) |
{ |
std::stringstream str; |
str << "../chessboards/chessboard" << std::setw(2) << std::setfill('0') << i << ".jpg"; |
std::cout << str.str() << std::endl; |
std::stringstream str; |
str << "../chessboards/chessboard" << std::setw(2) << std::setfill('0') |
<< i << ".jpg"; |
std::cout << str.str() << std::endl; |
filelist.push_back(str.str()); |
image= cv::imread(str.str(),0); |
cv::imshow("Image",image); |
cv::waitKey(100); |
} |
filelist.push_back(str.str()); |
image = cv::imread(str.str(), 0); |
cv::imshow("Image", image); |
// Create calibrator object |
CameraCalibrator cameraCalibrator; |
// add the corners from the chessboard |
cv::Size boardSize(6,4); |
cameraCalibrator.addChessboardPoints( |
filelist, // filenames of chessboard image |
boardSize); // size of chessboard |
// calibrate the camera |
// cameraCalibrator.setCalibrationFlag(true,true); |
cameraCalibrator.calibrate(image.size()); |
cv::waitKey(100); |
} |
// Image Undistortion |
image = cv::imread(filelist[6]); |
cv::Mat uImage= cameraCalibrator.remap(image); |
// Create calibrator object |
CameraCalibrator cameraCalibrator; |
// add the corners from the chessboard |
cv::Size boardSize(6, 4); |
cameraCalibrator.addChessboardPoints(filelist, // filenames of chessboard image |
boardSize); // size of chessboard |
// calibrate the camera |
// cameraCalibrator.setCalibrationFlag(true,true); |
cameraCalibrator.calibrate(image.size()); |
// display camera matrix |
cv::Mat cameraMatrix= cameraCalibrator.getCameraMatrix(); |
std::cout << " Camera intrinsic: " << cameraMatrix.rows << "x" << cameraMatrix.cols << std::endl; |
std::cout << cameraMatrix.at<double>(0,0) << " " << cameraMatrix.at<double>(0,1) << " " << cameraMatrix.at<double>(0,2) << std::endl; |
std::cout << cameraMatrix.at<double>(1,0) << " " << cameraMatrix.at<double>(1,1) << " " << cameraMatrix.at<double>(1,2) << std::endl; |
std::cout << cameraMatrix.at<double>(2,0) << " " << cameraMatrix.at<double>(2,1) << " " << cameraMatrix.at<double>(2,2) << std::endl; |
// Image Undistortion |
image = cv::imread(filelist[6]); |
cv::Mat uImage = cameraCalibrator.remap(image); |
imshow("Original Image", image); |
imshow("Undistorted Image", uImage); |
// display camera matrix |
cv::Mat cameraMatrix = cameraCalibrator.getCameraMatrix(); |
std::cout << " Camera intrinsic: " << cameraMatrix.rows << "x" |
<< cameraMatrix.cols << std::endl; |
std::cout << cameraMatrix.at<double>(0, 0) << " " |
<< cameraMatrix.at<double>(0, 1) << " " << cameraMatrix.at<double>(0, 2) |
<< std::endl; |
std::cout << cameraMatrix.at<double>(1, 0) << " " |
<< cameraMatrix.at<double>(1, 1) << " " << cameraMatrix.at<double>(1, 2) |
<< std::endl; |
std::cout << cameraMatrix.at<double>(2, 0) << " " |
<< cameraMatrix.at<double>(2, 1) << " " << cameraMatrix.at<double>(2, 2) |
<< std::endl; |
cv::waitKey(); |
return 0; |
} |
imshow("Original Image", image); |
imshow("Undistorted Image", uImage); |
cv::waitKey(); |
return 0; |
} |
/trunk/Chapter 09/CameraCalibrator.cpp |
---|
1,149 → 1,158 |
/*------------------------------------------------------------------------------------------*\ |
This file contains material supporting chapter 9 of the cookbook: |
Computer Vision Programming using the OpenCV Library. |
by Robert Laganiere, Packt Publishing, 2011. |
Computer Vision Programming using the OpenCV Library. |
by Robert Laganiere, Packt Publishing, 2011. |
This program is free software; permission is hereby granted to use, copy, modify, |
and distribute this source code, or portions thereof, for any purpose, without fee, |
subject to the restriction that the copyright notice may not be removed |
or altered from any source or altered source distribution. |
The software is released on an as-is basis and without any warranties of any kind. |
In particular, the software is not guaranteed to be fault-tolerant or free from failure. |
The author disclaims all warranties with regard to this software, any use, |
and any consequent failure, is purely the responsibility of the user. |
This program is free software; permission is hereby granted to use, copy, modify, |
and distribute this source code, or portions thereof, for any purpose, without fee, |
subject to the restriction that the copyright notice may not be removed |
or altered from any source or altered source distribution. |
The software is released on an as-is basis and without any warranties of any kind. |
In particular, the software is not guaranteed to be fault-tolerant or free from failure. |
The author disclaims all warranties with regard to this software, any use, |
and any consequent failure, is purely the responsibility of the user. |
Copyright (C) 2010-2011 Robert Laganiere, www.laganiere.name |
\*------------------------------------------------------------------------------------------*/ |
Copyright (C) 2010-2011 Robert Laganiere, www.laganiere.name |
\*------------------------------------------------------------------------------------------*/ |
#include "CameraCalibrator.h" |
// Open chessboard images and extract corner points |
int CameraCalibrator::addChessboardPoints( |
const std::vector<std::string>& filelist, |
cv::Size & boardSize) { |
int |
CameraCalibrator::addChessboardPoints(const std::vector<std::string>& filelist, |
cv::Size & boardSize) |
{ |
// the points on the chessboard |
std::vector<cv::Point2f> imageCorners; |
std::vector<cv::Point3f> objectCorners; |
// the points on the chessboard |
std::vector<cv::Point2f> imageCorners; |
std::vector<cv::Point3f> objectCorners; |
// 3D Scene Points: |
// Initialize the chessboard corners |
// in the chessboard reference frame |
// The corners are at 3D location (X,Y,Z)= (i,j,0) |
for (int i=0; i<boardSize.height; i++) { |
for (int j=0; j<boardSize.width; j++) { |
// 3D Scene Points: |
// Initialize the chessboard corners |
// in the chessboard reference frame |
// The corners are at 3D location (X,Y,Z)= (i,j,0) |
for (int i = 0; i < boardSize.height; i++) |
{ |
for (int j = 0; j < boardSize.width; j++) |
{ |
objectCorners.push_back(cv::Point3f(i, j, 0.0f)); |
} |
objectCorners.push_back(cv::Point3f(i, j, 0.0f)); |
} |
} |
// 2D Image points: |
cv::Mat image; // to contain chessboard image |
int successes = 0; |
// for all viewpoints |
for (int i=0; i<filelist.size(); i++) { |
// 2D Image points: |
cv::Mat image; // to contain chessboard image |
int successes = 0; |
// for all viewpoints |
for (unsigned int i = 0; i < filelist.size(); i++) |
{ |
// Open the image |
image = cv::imread(filelist[i],0); |
// Open the image |
image = cv::imread(filelist[i], 0); |
// Get the chessboard corners |
bool found = cv::findChessboardCorners( |
image, boardSize, imageCorners); |
// Get the chessboard corners |
bool found = cv::findChessboardCorners(image, boardSize, imageCorners); |
// Get subpixel accuracy on the corners |
cv::cornerSubPix(image, imageCorners, |
cv::Size(5,5), |
cv::Size(-1,-1), |
cv::TermCriteria(cv::TermCriteria::MAX_ITER + |
cv::TermCriteria::EPS, |
30, // max number of iterations |
0.1)); // min accuracy |
// Get subpixel accuracy on the corners |
cv::cornerSubPix(image, imageCorners, cv::Size(5, 5), cv::Size(-1, -1), |
cv::TermCriteria(cv::TermCriteria::MAX_ITER + cv::TermCriteria::EPS, |
30, // max number of iterations |
0.1)); // min accuracy |
// If we have a good board, add it to our data |
if (imageCorners.size() == boardSize.area()) { |
// If we have a good board, add it to our data |
if (imageCorners.size() == (unsigned int) boardSize.area()) |
{ |
// Add image and scene points from one view |
addPoints(imageCorners, objectCorners); |
successes++; |
} |
// Add image and scene points from one view |
addPoints(imageCorners, objectCorners); |
successes++; |
} |
//Draw the corners |
cv::drawChessboardCorners(image, boardSize, imageCorners, found); |
cv::imshow("Corners on Chessboard", image); |
cv::waitKey(100); |
//Draw the corners |
cv::drawChessboardCorners(image, boardSize, imageCorners, found); |
cv::imshow("Corners on Chessboard", image); |
cv::waitKey(100); |
} |
return successes; |
return successes; |
} |
// Add scene points and corresponding image points |
void CameraCalibrator::addPoints(const std::vector<cv::Point2f>& imageCorners, const std::vector<cv::Point3f>& objectCorners) { |
void |
CameraCalibrator::addPoints(const std::vector<cv::Point2f>& imageCorners, |
const std::vector<cv::Point3f>& objectCorners) |
{ |
// 2D image points from one view |
imagePoints.push_back(imageCorners); |
// corresponding 3D scene points |
objectPoints.push_back(objectCorners); |
// 2D image points from one view |
imagePoints.push_back(imageCorners); |
// corresponding 3D scene points |
objectPoints.push_back(objectCorners); |
} |
// Calibrate the camera |
// returns the re-projection error |
double CameraCalibrator::calibrate(cv::Size &imageSize) |
double |
CameraCalibrator::calibrate(cv::Size imageSize) |
{ |
// undistorter must be reinitialized |
mustInitUndistort= true; |
// undistorter must be reinitialized |
mustInitUndistort = true; |
//Output rotations and translations |
std::vector<cv::Mat> rvecs, tvecs; |
//Output rotations and translations |
std::vector<cv::Mat> rvecs, tvecs; |
// start calibration |
return |
calibrateCamera(objectPoints, // the 3D points |
imagePoints, // the image points |
imageSize, // image size |
cameraMatrix, // output camera matrix |
distCoeffs, // output distortion matrix |
rvecs, tvecs, // Rs, Ts |
flag); // set options |
// start calibration |
return calibrateCamera(objectPoints, // the 3D points |
imagePoints, // the image points |
imageSize, // image size |
cameraMatrix, // output camera matrix |
distCoeffs, // output distortion matrix |
rvecs, tvecs, // Rs, Ts |
flag); // set options |
// ,CV_CALIB_USE_INTRINSIC_GUESS); |
} |
// remove distortion in an image (after calibration) |
cv::Mat CameraCalibrator::remap(const cv::Mat &image) { |
cv::Mat |
CameraCalibrator::remap(const cv::Mat &image) |
{ |
cv::Mat undistorted; |
cv::Mat undistorted; |
if (mustInitUndistort) { // called once per calibration |
cv::initUndistortRectifyMap( |
cameraMatrix, // computed camera matrix |
distCoeffs, // computed distortion matrix |
cv::Mat(), // optional rectification (none) |
cv::Mat(), // camera matrix to generate undistorted |
cv::Size(640,480), |
if (mustInitUndistort) |
{ // called once per calibration |
cv::initUndistortRectifyMap(cameraMatrix, // computed camera matrix |
distCoeffs, // computed distortion matrix |
cv::Mat(), // optional rectification (none) |
cv::Mat(), // camera matrix to generate undistorted |
cv::Size(640, 480), |
// image.size(), // size of undistorted |
CV_32FC1, // type of output map |
map1, map2); // the x and y mapping functions |
CV_32FC1,// type of output map |
map1, map2); // the x and y mapping functions |
mustInitUndistort= false; |
} |
mustInitUndistort = false; |
} |
// Apply mapping functions |
cv::remap(image, undistorted, map1, map2, |
cv::INTER_LINEAR); // interpolation type |
// Apply mapping functions |
cv::remap(image, undistorted, map1, map2, cv::INTER_LINEAR); // interpolation type |
return undistorted; |
return undistorted; |
} |
// Set the calibration options |
// 8radialCoeffEnabled should be true if 8 radial coefficients are required (5 is default) |
// tangentialParamEnabled should be true if tangeantial distortion is present |
void CameraCalibrator::setCalibrationFlag(bool radial8CoeffEnabled, bool tangentialParamEnabled) { |
void |
CameraCalibrator::setCalibrationFlag(bool radial8CoeffEnabled, |
bool tangentialParamEnabled) |
{ |
// Set the flag used in cv::calibrateCamera() |
flag = 0; |
if (!tangentialParamEnabled) flag += CV_CALIB_ZERO_TANGENT_DIST; |
if (radial8CoeffEnabled) flag += CV_CALIB_RATIONAL_MODEL; |
// Set the flag used in cv::calibrateCamera() |
flag = 0; |
if (!tangentialParamEnabled) |
flag += CV_CALIB_ZERO_TANGENT_DIST; |
if (radial8CoeffEnabled) |
flag += CV_CALIB_RATIONAL_MODEL; |
} |
/trunk/Chapter 01/myQtGUIApp/myQtGUIApp.pro |
---|
18,8 → 18,8 |
INCLUDEPATH += C:\OpenCV2.2\include\ |
LIBS += -LC:\OpenCV2.2\lib \ |
-lopencv_core220 \ |
-lopencv_highgui220 \ |
-lopencv_imgproc220 \ |
-lopencv_features2d220 \ |
-lopencv_calib3d220 |
-lopencv_core \ |
-lopencv_highgui \ |
-lopencv_imgproc \ |
-lopencv_features2d \ |
-lopencv_calib3d |
/trunk/Chapter 01/myQtGUIApp/myQtGUIApp |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:executable |
## -0,0 +1 ## |
+* |
\ No newline at end of property |
Added: svn:mime-type |
## -0,0 +1 ## |
+application/octet-stream |
\ No newline at end of property |
Index: Chapter 01/myQtGUIApp/.project |
=================================================================== |
--- Chapter 01/myQtGUIApp/.project (nonexistent) |
+++ Chapter 01/myQtGUIApp/.project (revision 5) |
@@ -0,0 +1,27 @@ |
+<?xml version="1.0" encoding="UTF-8"?> |
+<projectDescription> |
+ <name>OpenCV2-Cookbook-Chapter-01-Qt1</name> |
+ <comment></comment> |
+ <projects> |
+ </projects> |
+ <buildSpec> |
+ <buildCommand> |
+ <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> |
+ <triggers>clean,full,incremental,</triggers> |
+ <arguments> |
+ </arguments> |
+ </buildCommand> |
+ <buildCommand> |
+ <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name> |
+ <triggers>full,incremental,</triggers> |
+ <arguments> |
+ </arguments> |
+ </buildCommand> |
+ </buildSpec> |
+ <natures> |
+ <nature>org.eclipse.cdt.core.cnature</nature> |
+ <nature>org.eclipse.cdt.core.ccnature</nature> |
+ <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature> |
+ <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature> |
+ </natures> |
+</projectDescription> |
/Chapter 01/myQtGUIApp/.project |
---|
Property changes: |
Added: svn:mime-type |
## -0,0 +1 ## |
+text/plain |
\ No newline at end of property |
Index: Chapter 01/myQtGUIApp/Debug/OpenCV2-Qt1 |
=================================================================== |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/Chapter 01/myQtGUIApp/Debug/OpenCV2-Qt1 |
---|
Property changes: |
Added: svn:executable |
## -0,0 +1 ## |
+* |
\ No newline at end of property |
Added: svn:mime-type |
## -0,0 +1 ## |
+application/octet-stream |
\ No newline at end of property |
Index: Chapter 01/myQtGUIApp/Debug/objects.mk |
=================================================================== |
--- Chapter 01/myQtGUIApp/Debug/objects.mk (nonexistent) |
+++ Chapter 01/myQtGUIApp/Debug/objects.mk (revision 5) |
@@ -0,0 +1,8 @@ |
+################################################################################ |
+# Automatically-generated file. Do not edit! |
+################################################################################ |
+ |
+USER_OBJS := |
+ |
+LIBS := -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_features2d -lopencv_calib3d -lQtGui -lQtCore -lpthread |
+ |
Index: Chapter 01/myQtGUIApp/Debug/main.d |
=================================================================== |
--- Chapter 01/myQtGUIApp/Debug/main.d (nonexistent) |
+++ Chapter 01/myQtGUIApp/Debug/main.d (revision 5) |
@@ -0,0 +1,179 @@ |
+main.d: ../main.cpp /usr/include/qt4/QtGui/QApplication \ |
+ /usr/include/qt4/QtGui/qapplication.h \ |
+ /usr/include/qt4/QtCore/qcoreapplication.h \ |
+ /usr/include/qt4/QtCore/qobject.h /usr/include/qt4/QtCore/qobjectdefs.h \ |
+ /usr/include/qt4/QtCore/qnamespace.h /usr/include/qt4/QtCore/qglobal.h \ |
+ /usr/include/qt4/QtCore/qconfig.h /usr/include/qt4/QtCore/qfeatures.h \ |
+ /usr/include/qt4/QtCore/qstring.h /usr/include/qt4/QtCore/qchar.h \ |
+ /usr/include/qt4/QtCore/qbytearray.h /usr/include/qt4/QtCore/qatomic.h \ |
+ /usr/include/qt4/QtCore/qbasicatomic.h \ |
+ /usr/include/qt4/QtCore/qatomic_arch.h \ |
+ /usr/include/qt4/QtCore/qatomic_i386.h /usr/include/qt4/QtCore/qlist.h \ |
+ /usr/include/qt4/QtCore/qiterator.h \ |
+ /usr/include/qt4/QtCore/qalgorithms.h \ |
+ /usr/include/qt4/QtCore/qscopedpointer.h \ |
+ /usr/include/qt4/QtCore/qcoreevent.h \ |
+ /usr/include/qt4/QtCore/qeventloop.h \ |
+ /usr/include/qt4/QtGui/qwindowdefs.h /usr/include/qt4/QtCore/qpoint.h \ |
+ /usr/include/qt4/QtCore/qsize.h /usr/include/qt4/QtGui/qcursor.h \ |
+ ../mainwindow.h /usr/include/qt4/QtGui/QMainWindow \ |
+ /usr/include/qt4/QtGui/qmainwindow.h /usr/include/qt4/QtGui/qwidget.h \ |
+ /usr/include/qt4/QtCore/qmargins.h /usr/include/qt4/QtGui/qpaintdevice.h \ |
+ /usr/include/qt4/QtCore/qrect.h /usr/include/qt4/QtGui/qpalette.h \ |
+ /usr/include/qt4/QtGui/qcolor.h /usr/include/qt4/QtGui/qrgb.h \ |
+ /usr/include/qt4/QtCore/qstringlist.h \ |
+ /usr/include/qt4/QtCore/qdatastream.h \ |
+ /usr/include/qt4/QtCore/qiodevice.h /usr/include/qt4/QtCore/qregexp.h \ |
+ /usr/include/qt4/QtCore/qstringmatcher.h /usr/include/qt4/QtGui/qbrush.h \ |
+ /usr/include/qt4/QtCore/qpair.h /usr/include/qt4/QtCore/qvector.h \ |
+ /usr/include/qt4/QtGui/qmatrix.h /usr/include/qt4/QtGui/qpolygon.h \ |
+ /usr/include/qt4/QtGui/qregion.h /usr/include/qt4/QtCore/qline.h \ |
+ /usr/include/qt4/QtGui/qtransform.h \ |
+ /usr/include/qt4/QtGui/qpainterpath.h /usr/include/qt4/QtGui/qimage.h \ |
+ /usr/include/qt4/QtGui/qpixmap.h \ |
+ /usr/include/qt4/QtCore/qsharedpointer.h \ |
+ /usr/include/qt4/QtCore/qshareddata.h \ |
+ /usr/include/qt4/QtCore/qsharedpointer_impl.h \ |
+ /usr/include/qt4/QtGui/qfont.h /usr/include/qt4/QtGui/qfontmetrics.h \ |
+ /usr/include/qt4/QtGui/qfontinfo.h /usr/include/qt4/QtGui/qsizepolicy.h \ |
+ /usr/include/qt4/QtGui/qkeysequence.h \ |
+ /usr/include/qt4/QtGui/qtabwidget.h /usr/include/qt4/QtGui/qicon.h \ |
+ /usr/include/qt4/QtGui/QFileDialog /usr/include/qt4/QtGui/qfiledialog.h \ |
+ /usr/include/qt4/QtCore/qdir.h /usr/include/qt4/QtCore/qfileinfo.h \ |
+ /usr/include/qt4/QtCore/qfile.h /usr/include/qt4/QtGui/qdialog.h |
+ |
+/usr/include/qt4/QtGui/QApplication: |
+ |
+/usr/include/qt4/QtGui/qapplication.h: |
+ |
+/usr/include/qt4/QtCore/qcoreapplication.h: |
+ |
+/usr/include/qt4/QtCore/qobject.h: |
+ |
+/usr/include/qt4/QtCore/qobjectdefs.h: |
+ |
+/usr/include/qt4/QtCore/qnamespace.h: |
+ |
+/usr/include/qt4/QtCore/qglobal.h: |
+ |
+/usr/include/qt4/QtCore/qconfig.h: |
+ |
+/usr/include/qt4/QtCore/qfeatures.h: |
+ |
+/usr/include/qt4/QtCore/qstring.h: |
+ |
+/usr/include/qt4/QtCore/qchar.h: |
+ |
+/usr/include/qt4/QtCore/qbytearray.h: |
+ |
+/usr/include/qt4/QtCore/qatomic.h: |
+ |
+/usr/include/qt4/QtCore/qbasicatomic.h: |
+ |
+/usr/include/qt4/QtCore/qatomic_arch.h: |
+ |
+/usr/include/qt4/QtCore/qatomic_i386.h: |
+ |
+/usr/include/qt4/QtCore/qlist.h: |
+ |
+/usr/include/qt4/QtCore/qiterator.h: |
+ |
+/usr/include/qt4/QtCore/qalgorithms.h: |
+ |
+/usr/include/qt4/QtCore/qscopedpointer.h: |
+ |
+/usr/include/qt4/QtCore/qcoreevent.h: |
+ |
+/usr/include/qt4/QtCore/qeventloop.h: |
+ |
+/usr/include/qt4/QtGui/qwindowdefs.h: |
+ |
+/usr/include/qt4/QtCore/qpoint.h: |
+ |
+/usr/include/qt4/QtCore/qsize.h: |
+ |
+/usr/include/qt4/QtGui/qcursor.h: |
+ |
+../mainwindow.h: |
+ |
+/usr/include/qt4/QtGui/QMainWindow: |
+ |
+/usr/include/qt4/QtGui/qmainwindow.h: |
+ |
+/usr/include/qt4/QtGui/qwidget.h: |
+ |
+/usr/include/qt4/QtCore/qmargins.h: |
+ |
+/usr/include/qt4/QtGui/qpaintdevice.h: |
+ |
+/usr/include/qt4/QtCore/qrect.h: |
+ |
+/usr/include/qt4/QtGui/qpalette.h: |
+ |
+/usr/include/qt4/QtGui/qcolor.h: |
+ |
+/usr/include/qt4/QtGui/qrgb.h: |
+ |
+/usr/include/qt4/QtCore/qstringlist.h: |
+ |
+/usr/include/qt4/QtCore/qdatastream.h: |
+ |
+/usr/include/qt4/QtCore/qiodevice.h: |
+ |
+/usr/include/qt4/QtCore/qregexp.h: |
+ |
+/usr/include/qt4/QtCore/qstringmatcher.h: |
+ |
+/usr/include/qt4/QtGui/qbrush.h: |
+ |
+/usr/include/qt4/QtCore/qpair.h: |
+ |
+/usr/include/qt4/QtCore/qvector.h: |
+ |
+/usr/include/qt4/QtGui/qmatrix.h: |
+ |
+/usr/include/qt4/QtGui/qpolygon.h: |
+ |
+/usr/include/qt4/QtGui/qregion.h: |
+ |
+/usr/include/qt4/QtCore/qline.h: |
+ |
+/usr/include/qt4/QtGui/qtransform.h: |
+ |
+/usr/include/qt4/QtGui/qpainterpath.h: |
+ |
+/usr/include/qt4/QtGui/qimage.h: |
+ |
+/usr/include/qt4/QtGui/qpixmap.h: |
+ |
+/usr/include/qt4/QtCore/qsharedpointer.h: |
+ |
+/usr/include/qt4/QtCore/qshareddata.h: |
+ |
+/usr/include/qt4/QtCore/qsharedpointer_impl.h: |
+ |
+/usr/include/qt4/QtGui/qfont.h: |
+ |
+/usr/include/qt4/QtGui/qfontmetrics.h: |
+ |
+/usr/include/qt4/QtGui/qfontinfo.h: |
+ |
+/usr/include/qt4/QtGui/qsizepolicy.h: |
+ |
+/usr/include/qt4/QtGui/qkeysequence.h: |
+ |
+/usr/include/qt4/QtGui/qtabwidget.h: |
+ |
+/usr/include/qt4/QtGui/qicon.h: |
+ |
+/usr/include/qt4/QtGui/QFileDialog: |
+ |
+/usr/include/qt4/QtGui/qfiledialog.h: |
+ |
+/usr/include/qt4/QtCore/qdir.h: |
+ |
+/usr/include/qt4/QtCore/qfileinfo.h: |
+ |
+/usr/include/qt4/QtCore/qfile.h: |
+ |
+/usr/include/qt4/QtGui/qdialog.h: |
Index: Chapter 01/myQtGUIApp/Debug/sources.mk |
=================================================================== |
--- Chapter 01/myQtGUIApp/Debug/sources.mk (nonexistent) |
+++ Chapter 01/myQtGUIApp/Debug/sources.mk (revision 5) |
@@ -0,0 +1,27 @@ |
+################################################################################ |
+# Automatically-generated file. Do not edit! |
+################################################################################ |
+ |
+O_SRCS := |
+CPP_SRCS := |
+C_UPPER_SRCS := |
+C_SRCS := |
+S_UPPER_SRCS := |
+OBJ_SRCS := |
+ASM_SRCS := |
+CXX_SRCS := |
+C++_SRCS := |
+CC_SRCS := |
+OBJS := |
+C++_DEPS := |
+C_DEPS := |
+CC_DEPS := |
+CPP_DEPS := |
+EXECUTABLES := |
+CXX_DEPS := |
+C_UPPER_DEPS := |
+ |
+# Every subdirectory with source files must be described here |
+SUBDIRS := \ |
+. \ |
+ |
Index: Chapter 01/myQtGUIApp/Debug/moc_mainwindow.d |
=================================================================== |
--- Chapter 01/myQtGUIApp/Debug/moc_mainwindow.d (nonexistent) |
+++ Chapter 01/myQtGUIApp/Debug/moc_mainwindow.d (revision 5) |
@@ -0,0 +1,165 @@ |
+moc_mainwindow.d: ../moc_mainwindow.cpp ../mainwindow.h \ |
+ /usr/include/qt4/QtGui/QMainWindow /usr/include/qt4/QtGui/qmainwindow.h \ |
+ /usr/include/qt4/QtGui/qwidget.h /usr/include/qt4/QtCore/qconfig.h \ |
+ /usr/include/qt4/QtGui/qwindowdefs.h \ |
+ /usr/include/qt4/QtCore/qobjectdefs.h \ |
+ /usr/include/qt4/QtCore/qnamespace.h /usr/include/qt4/QtCore/qglobal.h \ |
+ /usr/include/qt4/QtCore/qfeatures.h /usr/include/qt4/QtCore/qobject.h \ |
+ /usr/include/qt4/QtCore/qstring.h /usr/include/qt4/QtCore/qchar.h \ |
+ /usr/include/qt4/QtCore/qbytearray.h /usr/include/qt4/QtCore/qatomic.h \ |
+ /usr/include/qt4/QtCore/qbasicatomic.h \ |
+ /usr/include/qt4/QtCore/qatomic_arch.h \ |
+ /usr/include/qt4/QtCore/qatomic_i386.h /usr/include/qt4/QtCore/qlist.h \ |
+ /usr/include/qt4/QtCore/qiterator.h \ |
+ /usr/include/qt4/QtCore/qalgorithms.h \ |
+ /usr/include/qt4/QtCore/qscopedpointer.h \ |
+ /usr/include/qt4/QtCore/qmargins.h /usr/include/qt4/QtGui/qpaintdevice.h \ |
+ /usr/include/qt4/QtCore/qrect.h /usr/include/qt4/QtCore/qsize.h \ |
+ /usr/include/qt4/QtCore/qpoint.h /usr/include/qt4/QtGui/qpalette.h \ |
+ /usr/include/qt4/QtGui/qcolor.h /usr/include/qt4/QtGui/qrgb.h \ |
+ /usr/include/qt4/QtCore/qstringlist.h \ |
+ /usr/include/qt4/QtCore/qdatastream.h \ |
+ /usr/include/qt4/QtCore/qiodevice.h /usr/include/qt4/QtCore/qregexp.h \ |
+ /usr/include/qt4/QtCore/qstringmatcher.h /usr/include/qt4/QtGui/qbrush.h \ |
+ /usr/include/qt4/QtCore/qpair.h /usr/include/qt4/QtCore/qvector.h \ |
+ /usr/include/qt4/QtGui/qmatrix.h /usr/include/qt4/QtGui/qpolygon.h \ |
+ /usr/include/qt4/QtGui/qregion.h /usr/include/qt4/QtCore/qline.h \ |
+ /usr/include/qt4/QtGui/qtransform.h \ |
+ /usr/include/qt4/QtGui/qpainterpath.h /usr/include/qt4/QtGui/qimage.h \ |
+ /usr/include/qt4/QtGui/qpixmap.h \ |
+ /usr/include/qt4/QtCore/qsharedpointer.h \ |
+ /usr/include/qt4/QtCore/qshareddata.h \ |
+ /usr/include/qt4/QtCore/qsharedpointer_impl.h \ |
+ /usr/include/qt4/QtGui/qfont.h /usr/include/qt4/QtGui/qfontmetrics.h \ |
+ /usr/include/qt4/QtGui/qfontinfo.h /usr/include/qt4/QtGui/qsizepolicy.h \ |
+ /usr/include/qt4/QtGui/qcursor.h /usr/include/qt4/QtGui/qkeysequence.h \ |
+ /usr/include/qt4/QtGui/qtabwidget.h /usr/include/qt4/QtGui/qicon.h \ |
+ /usr/include/qt4/QtGui/QFileDialog /usr/include/qt4/QtGui/qfiledialog.h \ |
+ /usr/include/qt4/QtCore/qdir.h /usr/include/qt4/QtCore/qfileinfo.h \ |
+ /usr/include/qt4/QtCore/qfile.h /usr/include/qt4/QtGui/qdialog.h |
+ |
+../mainwindow.h: |
+ |
+/usr/include/qt4/QtGui/QMainWindow: |
+ |
+/usr/include/qt4/QtGui/qmainwindow.h: |
+ |
+/usr/include/qt4/QtGui/qwidget.h: |
+ |
+/usr/include/qt4/QtCore/qconfig.h: |
+ |
+/usr/include/qt4/QtGui/qwindowdefs.h: |
+ |
+/usr/include/qt4/QtCore/qobjectdefs.h: |
+ |
+/usr/include/qt4/QtCore/qnamespace.h: |
+ |
+/usr/include/qt4/QtCore/qglobal.h: |
+ |
+/usr/include/qt4/QtCore/qfeatures.h: |
+ |
+/usr/include/qt4/QtCore/qobject.h: |
+ |
+/usr/include/qt4/QtCore/qstring.h: |
+ |
+/usr/include/qt4/QtCore/qchar.h: |
+ |
+/usr/include/qt4/QtCore/qbytearray.h: |
+ |
+/usr/include/qt4/QtCore/qatomic.h: |
+ |
+/usr/include/qt4/QtCore/qbasicatomic.h: |
+ |
+/usr/include/qt4/QtCore/qatomic_arch.h: |
+ |
+/usr/include/qt4/QtCore/qatomic_i386.h: |
+ |
+/usr/include/qt4/QtCore/qlist.h: |
+ |
+/usr/include/qt4/QtCore/qiterator.h: |
+ |
+/usr/include/qt4/QtCore/qalgorithms.h: |
+ |
+/usr/include/qt4/QtCore/qscopedpointer.h: |
+ |
+/usr/include/qt4/QtCore/qmargins.h: |
+ |
+/usr/include/qt4/QtGui/qpaintdevice.h: |
+ |
+/usr/include/qt4/QtCore/qrect.h: |
+ |
+/usr/include/qt4/QtCore/qsize.h: |
+ |
+/usr/include/qt4/QtCore/qpoint.h: |
+ |
+/usr/include/qt4/QtGui/qpalette.h: |
+ |
+/usr/include/qt4/QtGui/qcolor.h: |
+ |
+/usr/include/qt4/QtGui/qrgb.h: |
+ |
+/usr/include/qt4/QtCore/qstringlist.h: |
+ |
+/usr/include/qt4/QtCore/qdatastream.h: |
+ |
+/usr/include/qt4/QtCore/qiodevice.h: |
+ |
+/usr/include/qt4/QtCore/qregexp.h: |
+ |
+/usr/include/qt4/QtCore/qstringmatcher.h: |
+ |
+/usr/include/qt4/QtGui/qbrush.h: |
+ |
+/usr/include/qt4/QtCore/qpair.h: |
+ |
+/usr/include/qt4/QtCore/qvector.h: |
+ |
+/usr/include/qt4/QtGui/qmatrix.h: |
+ |
+/usr/include/qt4/QtGui/qpolygon.h: |
+ |
+/usr/include/qt4/QtGui/qregion.h: |
+ |
+/usr/include/qt4/QtCore/qline.h: |
+ |
+/usr/include/qt4/QtGui/qtransform.h: |
+ |
+/usr/include/qt4/QtGui/qpainterpath.h: |
+ |
+/usr/include/qt4/QtGui/qimage.h: |
+ |
+/usr/include/qt4/QtGui/qpixmap.h: |
+ |
+/usr/include/qt4/QtCore/qsharedpointer.h: |
+ |
+/usr/include/qt4/QtCore/qshareddata.h: |
+ |
+/usr/include/qt4/QtCore/qsharedpointer_impl.h: |
+ |
+/usr/include/qt4/QtGui/qfont.h: |
+ |
+/usr/include/qt4/QtGui/qfontmetrics.h: |
+ |
+/usr/include/qt4/QtGui/qfontinfo.h: |
+ |
+/usr/include/qt4/QtGui/qsizepolicy.h: |
+ |
+/usr/include/qt4/QtGui/qcursor.h: |
+ |
+/usr/include/qt4/QtGui/qkeysequence.h: |
+ |
+/usr/include/qt4/QtGui/qtabwidget.h: |
+ |
+/usr/include/qt4/QtGui/qicon.h: |
+ |
+/usr/include/qt4/QtGui/QFileDialog: |
+ |
+/usr/include/qt4/QtGui/qfiledialog.h: |
+ |
+/usr/include/qt4/QtCore/qdir.h: |
+ |
+/usr/include/qt4/QtCore/qfileinfo.h: |
+ |
+/usr/include/qt4/QtCore/qfile.h: |
+ |
+/usr/include/qt4/QtGui/qdialog.h: |
Index: Chapter 01/myQtGUIApp/Debug/makefile |
=================================================================== |
--- Chapter 01/myQtGUIApp/Debug/makefile (nonexistent) |
+++ Chapter 01/myQtGUIApp/Debug/makefile (revision 5) |
@@ -0,0 +1,58 @@ |
+################################################################################ |
+# Automatically-generated file. Do not edit! |
+################################################################################ |
+ |
+-include ../makefile.init |
+ |
+RM := rm -rf |
+ |
+# All of the sources participating in the build are defined here |
+-include sources.mk |
+-include subdir.mk |
+-include objects.mk |
+ |
+ifneq ($(MAKECMDGOALS),clean) |
+ifneq ($(strip $(C++_DEPS)),) |
+-include $(C++_DEPS) |
+endif |
+ifneq ($(strip $(C_DEPS)),) |
+-include $(C_DEPS) |
+endif |
+ifneq ($(strip $(CC_DEPS)),) |
+-include $(CC_DEPS) |
+endif |
+ifneq ($(strip $(CPP_DEPS)),) |
+-include $(CPP_DEPS) |
+endif |
+ifneq ($(strip $(CXX_DEPS)),) |
+-include $(CXX_DEPS) |
+endif |
+ifneq ($(strip $(C_UPPER_DEPS)),) |
+-include $(C_UPPER_DEPS) |
+endif |
+endif |
+ |
+-include ../makefile.defs |
+ |
+# Add inputs and outputs from these tool invocations to the build variables |
+ |
+# All Target |
+all: OpenCV2-Qt1 |
+ |
+# Tool invocations |
+OpenCV2-Qt1: $(OBJS) $(USER_OBJS) |
+ @echo 'Building target: $@' |
+ @echo 'Invoking: GCC C++ Linker' |
+ g++ -L/usr/lib/i386-linux-gnu -o "OpenCV2-Qt1" $(OBJS) $(USER_OBJS) $(LIBS) |
+ @echo 'Finished building target: $@' |
+ @echo ' ' |
+ |
+# Other Targets |
+clean: |
+ -$(RM) $(OBJS)$(C++_DEPS)$(C_DEPS)$(CC_DEPS)$(CPP_DEPS)$(EXECUTABLES)$(CXX_DEPS)$(C_UPPER_DEPS) OpenCV2-Qt1 |
+ -@echo ' ' |
+ |
+.PHONY: all clean dependents |
+.SECONDARY: |
+ |
+-include ../makefile.targets |
Index: Chapter 01/myQtGUIApp/Debug/mainwindow.d |
=================================================================== |
--- Chapter 01/myQtGUIApp/Debug/mainwindow.d (nonexistent) |
+++ Chapter 01/myQtGUIApp/Debug/mainwindow.d (revision 5) |
@@ -0,0 +1,293 @@ |
+mainwindow.d: ../mainwindow.cpp ../mainwindow.h \ |
+ /usr/include/qt4/QtGui/QMainWindow /usr/include/qt4/QtGui/qmainwindow.h \ |
+ /usr/include/qt4/QtGui/qwidget.h /usr/include/qt4/QtCore/qconfig.h \ |
+ /usr/include/qt4/QtGui/qwindowdefs.h \ |
+ /usr/include/qt4/QtCore/qobjectdefs.h \ |
+ /usr/include/qt4/QtCore/qnamespace.h /usr/include/qt4/QtCore/qglobal.h \ |
+ /usr/include/qt4/QtCore/qfeatures.h /usr/include/qt4/QtCore/qobject.h \ |
+ /usr/include/qt4/QtCore/qstring.h /usr/include/qt4/QtCore/qchar.h \ |
+ /usr/include/qt4/QtCore/qbytearray.h /usr/include/qt4/QtCore/qatomic.h \ |
+ /usr/include/qt4/QtCore/qbasicatomic.h \ |
+ /usr/include/qt4/QtCore/qatomic_arch.h \ |
+ /usr/include/qt4/QtCore/qatomic_i386.h /usr/include/qt4/QtCore/qlist.h \ |
+ /usr/include/qt4/QtCore/qiterator.h \ |
+ /usr/include/qt4/QtCore/qalgorithms.h \ |
+ /usr/include/qt4/QtCore/qscopedpointer.h \ |
+ /usr/include/qt4/QtCore/qmargins.h /usr/include/qt4/QtGui/qpaintdevice.h \ |
+ /usr/include/qt4/QtCore/qrect.h /usr/include/qt4/QtCore/qsize.h \ |
+ /usr/include/qt4/QtCore/qpoint.h /usr/include/qt4/QtGui/qpalette.h \ |
+ /usr/include/qt4/QtGui/qcolor.h /usr/include/qt4/QtGui/qrgb.h \ |
+ /usr/include/qt4/QtCore/qstringlist.h \ |
+ /usr/include/qt4/QtCore/qdatastream.h \ |
+ /usr/include/qt4/QtCore/qiodevice.h /usr/include/qt4/QtCore/qregexp.h \ |
+ /usr/include/qt4/QtCore/qstringmatcher.h /usr/include/qt4/QtGui/qbrush.h \ |
+ /usr/include/qt4/QtCore/qpair.h /usr/include/qt4/QtCore/qvector.h \ |
+ /usr/include/qt4/QtGui/qmatrix.h /usr/include/qt4/QtGui/qpolygon.h \ |
+ /usr/include/qt4/QtGui/qregion.h /usr/include/qt4/QtCore/qline.h \ |
+ /usr/include/qt4/QtGui/qtransform.h \ |
+ /usr/include/qt4/QtGui/qpainterpath.h /usr/include/qt4/QtGui/qimage.h \ |
+ /usr/include/qt4/QtGui/qpixmap.h \ |
+ /usr/include/qt4/QtCore/qsharedpointer.h \ |
+ /usr/include/qt4/QtCore/qshareddata.h \ |
+ /usr/include/qt4/QtCore/qsharedpointer_impl.h \ |
+ /usr/include/qt4/QtGui/qfont.h /usr/include/qt4/QtGui/qfontmetrics.h \ |
+ /usr/include/qt4/QtGui/qfontinfo.h /usr/include/qt4/QtGui/qsizepolicy.h \ |
+ /usr/include/qt4/QtGui/qcursor.h /usr/include/qt4/QtGui/qkeysequence.h \ |
+ /usr/include/qt4/QtGui/qtabwidget.h /usr/include/qt4/QtGui/qicon.h \ |
+ /usr/include/qt4/QtGui/QFileDialog /usr/include/qt4/QtGui/qfiledialog.h \ |
+ /usr/include/qt4/QtCore/qdir.h /usr/include/qt4/QtCore/qfileinfo.h \ |
+ /usr/include/qt4/QtCore/qfile.h /usr/include/qt4/QtGui/qdialog.h \ |
+ ../ui_mainwindow.h /usr/include/qt4/QtCore/QVariant \ |
+ /usr/include/qt4/QtCore/qvariant.h /usr/include/qt4/QtCore/qmetatype.h \ |
+ /usr/include/qt4/QtCore/qmap.h /usr/include/qt4/QtCore/qhash.h \ |
+ /usr/include/qt4/QtGui/QAction /usr/include/qt4/QtGui/qaction.h \ |
+ /usr/include/qt4/QtCore/qvariant.h /usr/include/qt4/QtGui/qactiongroup.h \ |
+ /usr/include/qt4/QtGui/qaction.h /usr/include/qt4/QtGui/QApplication \ |
+ /usr/include/qt4/QtGui/qapplication.h \ |
+ /usr/include/qt4/QtCore/qcoreapplication.h \ |
+ /usr/include/qt4/QtCore/qcoreevent.h \ |
+ /usr/include/qt4/QtCore/qeventloop.h /usr/include/qt4/QtGui/QButtonGroup \ |
+ /usr/include/qt4/QtGui/qbuttongroup.h /usr/include/qt4/QtGui/QHeaderView \ |
+ /usr/include/qt4/QtGui/qheaderview.h \ |
+ /usr/include/qt4/QtGui/qabstractitemview.h \ |
+ /usr/include/qt4/QtGui/qabstractscrollarea.h \ |
+ /usr/include/qt4/QtGui/qframe.h \ |
+ /usr/include/qt4/QtCore/qabstractitemmodel.h \ |
+ /usr/include/qt4/QtGui/qitemselectionmodel.h \ |
+ /usr/include/qt4/QtCore/qset.h \ |
+ /usr/include/qt4/QtGui/qabstractitemdelegate.h \ |
+ /usr/include/qt4/QtGui/qstyleoption.h \ |
+ /usr/include/qt4/QtGui/qabstractspinbox.h \ |
+ /usr/include/qt4/QtGui/qvalidator.h /usr/include/qt4/QtCore/qlocale.h \ |
+ /usr/include/qt4/QtGui/qslider.h \ |
+ /usr/include/qt4/QtGui/qabstractslider.h /usr/include/qt4/QtGui/qstyle.h \ |
+ /usr/include/qt4/QtGui/qtabbar.h /usr/include/qt4/QtGui/qrubberband.h \ |
+ /usr/include/qt4/QtGui/QMenuBar /usr/include/qt4/QtGui/qmenubar.h \ |
+ /usr/include/qt4/QtGui/qmenu.h /usr/include/qt4/QtGui/QPushButton \ |
+ /usr/include/qt4/QtGui/qpushbutton.h \ |
+ /usr/include/qt4/QtGui/qabstractbutton.h \ |
+ /usr/include/qt4/QtGui/QStatusBar /usr/include/qt4/QtGui/qstatusbar.h \ |
+ /usr/include/qt4/QtGui/QToolBar /usr/include/qt4/QtGui/qtoolbar.h \ |
+ /usr/include/qt4/QtGui/QWidget /usr/include/qt4/QtGui/qwidget.h |
+ |
+../mainwindow.h: |
+ |
+/usr/include/qt4/QtGui/QMainWindow: |
+ |
+/usr/include/qt4/QtGui/qmainwindow.h: |
+ |
+/usr/include/qt4/QtGui/qwidget.h: |
+ |
+/usr/include/qt4/QtCore/qconfig.h: |
+ |
+/usr/include/qt4/QtGui/qwindowdefs.h: |
+ |
+/usr/include/qt4/QtCore/qobjectdefs.h: |
+ |
+/usr/include/qt4/QtCore/qnamespace.h: |
+ |
+/usr/include/qt4/QtCore/qglobal.h: |
+ |
+/usr/include/qt4/QtCore/qfeatures.h: |
+ |
+/usr/include/qt4/QtCore/qobject.h: |
+ |
+/usr/include/qt4/QtCore/qstring.h: |
+ |
+/usr/include/qt4/QtCore/qchar.h: |
+ |
+/usr/include/qt4/QtCore/qbytearray.h: |
+ |
+/usr/include/qt4/QtCore/qatomic.h: |
+ |
+/usr/include/qt4/QtCore/qbasicatomic.h: |
+ |
+/usr/include/qt4/QtCore/qatomic_arch.h: |
+ |
+/usr/include/qt4/QtCore/qatomic_i386.h: |
+ |
+/usr/include/qt4/QtCore/qlist.h: |
+ |
+/usr/include/qt4/QtCore/qiterator.h: |
+ |
+/usr/include/qt4/QtCore/qalgorithms.h: |
+ |
+/usr/include/qt4/QtCore/qscopedpointer.h: |
+ |
+/usr/include/qt4/QtCore/qmargins.h: |
+ |
+/usr/include/qt4/QtGui/qpaintdevice.h: |
+ |
+/usr/include/qt4/QtCore/qrect.h: |
+ |
+/usr/include/qt4/QtCore/qsize.h: |
+ |
+/usr/include/qt4/QtCore/qpoint.h: |
+ |
+/usr/include/qt4/QtGui/qpalette.h: |
+ |
+/usr/include/qt4/QtGui/qcolor.h: |
+ |
+/usr/include/qt4/QtGui/qrgb.h: |
+ |
+/usr/include/qt4/QtCore/qstringlist.h: |
+ |
+/usr/include/qt4/QtCore/qdatastream.h: |
+ |
+/usr/include/qt4/QtCore/qiodevice.h: |
+ |
+/usr/include/qt4/QtCore/qregexp.h: |
+ |
+/usr/include/qt4/QtCore/qstringmatcher.h: |
+ |
+/usr/include/qt4/QtGui/qbrush.h: |
+ |
+/usr/include/qt4/QtCore/qpair.h: |
+ |
+/usr/include/qt4/QtCore/qvector.h: |
+ |
+/usr/include/qt4/QtGui/qmatrix.h: |
+ |
+/usr/include/qt4/QtGui/qpolygon.h: |
+ |
+/usr/include/qt4/QtGui/qregion.h: |
+ |
+/usr/include/qt4/QtCore/qline.h: |
+ |
+/usr/include/qt4/QtGui/qtransform.h: |
+ |
+/usr/include/qt4/QtGui/qpainterpath.h: |
+ |
+/usr/include/qt4/QtGui/qimage.h: |
+ |
+/usr/include/qt4/QtGui/qpixmap.h: |
+ |
+/usr/include/qt4/QtCore/qsharedpointer.h: |
+ |
+/usr/include/qt4/QtCore/qshareddata.h: |
+ |
+/usr/include/qt4/QtCore/qsharedpointer_impl.h: |
+ |
+/usr/include/qt4/QtGui/qfont.h: |
+ |
+/usr/include/qt4/QtGui/qfontmetrics.h: |
+ |
+/usr/include/qt4/QtGui/qfontinfo.h: |
+ |
+/usr/include/qt4/QtGui/qsizepolicy.h: |
+ |
+/usr/include/qt4/QtGui/qcursor.h: |
+ |
+/usr/include/qt4/QtGui/qkeysequence.h: |
+ |
+/usr/include/qt4/QtGui/qtabwidget.h: |
+ |
+/usr/include/qt4/QtGui/qicon.h: |
+ |
+/usr/include/qt4/QtGui/QFileDialog: |
+ |
+/usr/include/qt4/QtGui/qfiledialog.h: |
+ |
+/usr/include/qt4/QtCore/qdir.h: |
+ |
+/usr/include/qt4/QtCore/qfileinfo.h: |
+ |
+/usr/include/qt4/QtCore/qfile.h: |
+ |
+/usr/include/qt4/QtGui/qdialog.h: |
+ |
+../ui_mainwindow.h: |
+ |
+/usr/include/qt4/QtCore/QVariant: |
+ |
+/usr/include/qt4/QtCore/qvariant.h: |
+ |
+/usr/include/qt4/QtCore/qmetatype.h: |
+ |
+/usr/include/qt4/QtCore/qmap.h: |
+ |
+/usr/include/qt4/QtCore/qhash.h: |
+ |
+/usr/include/qt4/QtGui/QAction: |
+ |
+/usr/include/qt4/QtGui/qaction.h: |
+ |
+/usr/include/qt4/QtCore/qvariant.h: |
+ |
+/usr/include/qt4/QtGui/qactiongroup.h: |
+ |
+/usr/include/qt4/QtGui/qaction.h: |
+ |
+/usr/include/qt4/QtGui/QApplication: |
+ |
+/usr/include/qt4/QtGui/qapplication.h: |
+ |
+/usr/include/qt4/QtCore/qcoreapplication.h: |
+ |
+/usr/include/qt4/QtCore/qcoreevent.h: |
+ |
+/usr/include/qt4/QtCore/qeventloop.h: |
+ |
+/usr/include/qt4/QtGui/QButtonGroup: |
+ |
+/usr/include/qt4/QtGui/qbuttongroup.h: |
+ |
+/usr/include/qt4/QtGui/QHeaderView: |
+ |
+/usr/include/qt4/QtGui/qheaderview.h: |
+ |
+/usr/include/qt4/QtGui/qabstractitemview.h: |
+ |
+/usr/include/qt4/QtGui/qabstractscrollarea.h: |
+ |
+/usr/include/qt4/QtGui/qframe.h: |
+ |
+/usr/include/qt4/QtCore/qabstractitemmodel.h: |
+ |
+/usr/include/qt4/QtGui/qitemselectionmodel.h: |
+ |
+/usr/include/qt4/QtCore/qset.h: |
+ |
+/usr/include/qt4/QtGui/qabstractitemdelegate.h: |
+ |
+/usr/include/qt4/QtGui/qstyleoption.h: |
+ |
+/usr/include/qt4/QtGui/qabstractspinbox.h: |
+ |
+/usr/include/qt4/QtGui/qvalidator.h: |
+ |
+/usr/include/qt4/QtCore/qlocale.h: |
+ |
+/usr/include/qt4/QtGui/qslider.h: |
+ |
+/usr/include/qt4/QtGui/qabstractslider.h: |
+ |
+/usr/include/qt4/QtGui/qstyle.h: |
+ |
+/usr/include/qt4/QtGui/qtabbar.h: |
+ |
+/usr/include/qt4/QtGui/qrubberband.h: |
+ |
+/usr/include/qt4/QtGui/QMenuBar: |
+ |
+/usr/include/qt4/QtGui/qmenubar.h: |
+ |
+/usr/include/qt4/QtGui/qmenu.h: |
+ |
+/usr/include/qt4/QtGui/QPushButton: |
+ |
+/usr/include/qt4/QtGui/qpushbutton.h: |
+ |
+/usr/include/qt4/QtGui/qabstractbutton.h: |
+ |
+/usr/include/qt4/QtGui/QStatusBar: |
+ |
+/usr/include/qt4/QtGui/qstatusbar.h: |
+ |
+/usr/include/qt4/QtGui/QToolBar: |
+ |
+/usr/include/qt4/QtGui/qtoolbar.h: |
+ |
+/usr/include/qt4/QtGui/QWidget: |
+ |
+/usr/include/qt4/QtGui/qwidget.h: |
Index: Chapter 01/myQtGUIApp/Debug/subdir.mk |
=================================================================== |
--- Chapter 01/myQtGUIApp/Debug/subdir.mk (nonexistent) |
+++ Chapter 01/myQtGUIApp/Debug/subdir.mk (revision 5) |
@@ -0,0 +1,35 @@ |
+################################################################################ |
+# Automatically-generated file. Do not edit! |
+################################################################################ |
+ |
+# Add inputs and outputs from these tool invocations to the build variables |
+O_SRCS += \ |
+../main.o \ |
+../mainwindow.o \ |
+../moc_mainwindow.o |
+ |
+CPP_SRCS += \ |
+../main.cpp \ |
+../mainwindow.cpp \ |
+../moc_mainwindow.cpp |
+ |
+OBJS += \ |
+./main.o \ |
+./mainwindow.o \ |
+./moc_mainwindow.o |
+ |
+CPP_DEPS += \ |
+./main.d \ |
+./mainwindow.d \ |
+./moc_mainwindow.d |
+ |
+ |
+# Each subdirectory must supply rules for building sources it contributes |
+%.o: ../%.cpp |
+ @echo 'Building file: $<' |
+ @echo 'Invoking: GCC C++ Compiler' |
+ g++ -I/usr/share/qt4/mkspecs/linux-g++ -I"/home/pelinux/workspace/OpenCV-Cookbook/Chapter 01/myQtGUIApp" -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" |
+ @echo 'Finished building: $<' |
+ @echo ' ' |
+ |
+ |
Index: Chapter 01/myQtGUIApp/.cproject |
=================================================================== |
--- Chapter 01/myQtGUIApp/.cproject (nonexistent) |
+++ Chapter 01/myQtGUIApp/.cproject (revision 5) |
@@ -0,0 +1,143 @@ |
+<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
+<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage"> |
+ <storageModule moduleId="org.eclipse.cdt.core.settings"> |
+ <cconfiguration id="cdt.managedbuild.config.gnu.exe.debug.1645441074"> |
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.debug.1645441074" moduleId="org.eclipse.cdt.core.settings" name="Debug"> |
+ <externalSettings/> |
+ <extensions> |
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> |
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
+ <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
+ <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
+ <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> |
+ </extensions> |
+ </storageModule> |
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0"> |
+ <configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.debug.1645441074" name="Debug" parent="cdt.managedbuild.config.gnu.exe.debug"> |
+ <folderInfo id="cdt.managedbuild.config.gnu.exe.debug.1645441074." name="/" resourcePath=""> |
+ <toolChain id="cdt.managedbuild.toolchain.gnu.exe.debug.1606380419" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.debug"> |
+ <targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.debug.1670021672" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.debug"/> |
+ <builder buildPath="${workspace_loc:/OpenCV2-Qt1}" id="cdt.managedbuild.target.gnu.builder.exe.debug.1011953089" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.exe.debug"/> |
+ <tool id="cdt.managedbuild.tool.gnu.archiver.base.2090597659" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/> |
+ <tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.1032837158" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug"> |
+ <option id="gnu.cpp.compiler.exe.debug.option.optimization.level.573502388" name="Optimization Level" superClass="gnu.cpp.compiler.exe.debug.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/> |
+ <option id="gnu.cpp.compiler.exe.debug.option.debugging.level.1209425335" name="Debug Level" superClass="gnu.cpp.compiler.exe.debug.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/> |
+ <option id="gnu.cpp.compiler.option.include.paths.1770898242" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath"> |
+ <listOptionValue builtIn="false" value="/usr/share/qt4/mkspecs/linux-g++"/> |
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}}""/> |
+ <listOptionValue builtIn="false" value="/usr/include/qt4/QtCore"/> |
+ <listOptionValue builtIn="false" value="/usr/include/qt4/QtGui"/> |
+ <listOptionValue builtIn="false" value="/usr/include/qt4"/> |
+ </option> |
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1624580350" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/> |
+ </tool> |
+ <tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.debug.1918068914" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.debug"> |
+ <option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.exe.debug.option.optimization.level.1865251066" name="Optimization Level" superClass="gnu.c.compiler.exe.debug.option.optimization.level" valueType="enumerated"/> |
+ <option id="gnu.c.compiler.exe.debug.option.debugging.level.597565451" name="Debug Level" superClass="gnu.c.compiler.exe.debug.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/> |
+ <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1672718572" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> |
+ </tool> |
+ <tool id="cdt.managedbuild.tool.gnu.c.linker.exe.debug.1382385520" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.debug"/> |
+ <tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug.1872849154" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug"> |
+ <option id="gnu.cpp.link.option.paths.1185357723" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths"> |
+ <listOptionValue builtIn="false" value="/usr/lib/i386-linux-gnu"/> |
+ </option> |
+ <option id="gnu.cpp.link.option.libs.1652959658" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" valueType="libs"> |
+ <listOptionValue builtIn="false" value="opencv_core"/> |
+ <listOptionValue builtIn="false" value="opencv_highgui"/> |
+ <listOptionValue builtIn="false" value="opencv_imgproc"/> |
+ <listOptionValue builtIn="false" value="opencv_features2d"/> |
+ <listOptionValue builtIn="false" value="opencv_calib3d"/> |
+ <listOptionValue builtIn="false" value="QtGui"/> |
+ <listOptionValue builtIn="false" value="QtCore"/> |
+ <listOptionValue builtIn="false" value="pthread"/> |
+ </option> |
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.96863366" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input"> |
+ <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> |
+ <additionalInput kind="additionalinput" paths="$(LIBS)"/> |
+ </inputType> |
+ </tool> |
+ <tool id="cdt.managedbuild.tool.gnu.assembler.exe.debug.1252506979" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.debug"> |
+ <inputType id="cdt.managedbuild.tool.gnu.assembler.input.1585007037" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> |
+ </tool> |
+ </toolChain> |
+ </folderInfo> |
+ </configuration> |
+ </storageModule> |
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/> |
+ </cconfiguration> |
+ <cconfiguration id="cdt.managedbuild.config.gnu.exe.release.1794137892"> |
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.release.1794137892" moduleId="org.eclipse.cdt.core.settings" name="Release"> |
+ <externalSettings/> |
+ <extensions> |
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> |
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
+ <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
+ <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
+ <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> |
+ </extensions> |
+ </storageModule> |
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0"> |
+ <configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.release.1794137892" name="Release" parent="cdt.managedbuild.config.gnu.exe.release"> |
+ <folderInfo id="cdt.managedbuild.config.gnu.exe.release.1794137892." name="/" resourcePath=""> |
+ <toolChain id="cdt.managedbuild.toolchain.gnu.exe.release.509327484" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.release"> |
+ <targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.release.684886791" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.release"/> |
+ <builder buildPath="${workspace_loc:/OpenCV2-Qt1}/Release" id="cdt.managedbuild.target.gnu.builder.exe.release.1458431195" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.exe.release"/> |
+ <tool id="cdt.managedbuild.tool.gnu.archiver.base.1426403978" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/> |
+ <tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.1299867626" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release"> |
+ <option id="gnu.cpp.compiler.exe.release.option.optimization.level.255160892" name="Optimization Level" superClass="gnu.cpp.compiler.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/> |
+ <option id="gnu.cpp.compiler.exe.release.option.debugging.level.1319380482" name="Debug Level" superClass="gnu.cpp.compiler.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/> |
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1119472496" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/> |
+ </tool> |
+ <tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.release.497950565" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.release"> |
+ <option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.exe.release.option.optimization.level.1762202518" name="Optimization Level" superClass="gnu.c.compiler.exe.release.option.optimization.level" valueType="enumerated"/> |
+ <option id="gnu.c.compiler.exe.release.option.debugging.level.1262179083" name="Debug Level" superClass="gnu.c.compiler.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/> |
+ <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.192529110" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> |
+ </tool> |
+ <tool id="cdt.managedbuild.tool.gnu.c.linker.exe.release.1190445188" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release"/> |
+ <tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.release.2080015258" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.release"> |
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1966954196" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input"> |
+ <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> |
+ <additionalInput kind="additionalinput" paths="$(LIBS)"/> |
+ </inputType> |
+ </tool> |
+ <tool id="cdt.managedbuild.tool.gnu.assembler.exe.release.69517468" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.release"> |
+ <inputType id="cdt.managedbuild.tool.gnu.assembler.input.1010627966" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> |
+ </tool> |
+ </toolChain> |
+ </folderInfo> |
+ </configuration> |
+ </storageModule> |
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/> |
+ </cconfiguration> |
+ </storageModule> |
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0"> |
+ <project id="OpenCV2-Qt1.cdt.managedbuild.target.gnu.exe.1674617357" name="Executable" projectType="cdt.managedbuild.target.gnu.exe"/> |
+ </storageModule> |
+ <storageModule moduleId="scannerConfiguration"> |
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> |
+ <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1645441074;cdt.managedbuild.config.gnu.exe.debug.1645441074.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.1918068914;cdt.managedbuild.tool.gnu.c.compiler.input.1672718572"> |
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> |
+ </scannerConfigBuildInfo> |
+ <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1645441074;cdt.managedbuild.config.gnu.exe.debug.1645441074.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.1032837158;cdt.managedbuild.tool.gnu.cpp.compiler.input.1624580350"> |
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> |
+ </scannerConfigBuildInfo> |
+ <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.1794137892;cdt.managedbuild.config.gnu.exe.release.1794137892.;cdt.managedbuild.tool.gnu.c.compiler.exe.release.497950565;cdt.managedbuild.tool.gnu.c.compiler.input.192529110"> |
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> |
+ </scannerConfigBuildInfo> |
+ <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.1794137892;cdt.managedbuild.config.gnu.exe.release.1794137892.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.1299867626;cdt.managedbuild.tool.gnu.cpp.compiler.input.1119472496"> |
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> |
+ </scannerConfigBuildInfo> |
+ </storageModule> |
+ <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/> |
+ <storageModule moduleId="refreshScope" versionNumber="2"> |
+ <configuration configurationName="Release"> |
+ <resource resourceType="PROJECT" workspacePath="/OpenCV2-Qt1"/> |
+ </configuration> |
+ <configuration configurationName="Debug"> |
+ <resource resourceType="PROJECT" workspacePath="/OpenCV2-Qt1"/> |
+ </configuration> |
+ </storageModule> |
+ <storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/> |
+</cproject> |
/Chapter 01/myQtGUIApp/.cproject |
---|
Property changes: |
Added: svn:mime-type |
## -0,0 +1 ## |
+text/plain |
\ No newline at end of property |
Index: Chapter 01/myQtGUIApp/moc_mainwindow.cpp |
=================================================================== |
--- Chapter 01/myQtGUIApp/moc_mainwindow.cpp (nonexistent) |
+++ Chapter 01/myQtGUIApp/moc_mainwindow.cpp (revision 5) |
@@ -0,0 +1,96 @@ |
+/**************************************************************************** |
+** Meta object code from reading C++ file 'mainwindow.h' |
+** |
+** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6) |
+** |
+** WARNING! All changes made in this file will be lost! |
+*****************************************************************************/ |
+ |
+#include "mainwindow.h" |
+#if !defined(Q_MOC_OUTPUT_REVISION) |
+#error "The header file 'mainwindow.h' doesn't include <QObject>." |
+#elif Q_MOC_OUTPUT_REVISION != 63 |
+#error "This file was generated using the moc from 4.8.6. It" |
+#error "cannot be used with the include files from this version of Qt." |
+#error "(The moc has changed too much.)" |
+#endif |
+ |
+QT_BEGIN_MOC_NAMESPACE |
+static const uint qt_meta_data_MainWindow[] = { |
+ |
+ // content: |
+ 6, // revision |
+ 0, // classname |
+ 0, 0, // classinfo |
+ 2, 14, // methods |
+ 0, 0, // properties |
+ 0, 0, // enums/sets |
+ 0, 0, // constructors |
+ 0, // flags |
+ 0, // signalCount |
+ |
+ // slots: signature, parameters, type, tag, flags |
+ 12, 11, 11, 11, 0x08, |
+ 38, 11, 11, 11, 0x08, |
+ |
+ 0 // eod |
+}; |
+ |
+static const char qt_meta_stringdata_MainWindow[] = { |
+ "MainWindow\0\0on_pushButton_2_clicked()\0" |
+ "on_pushButton_clicked()\0" |
+}; |
+ |
+void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
+{ |
+ if (_c == QMetaObject::InvokeMetaMethod) { |
+ Q_ASSERT(staticMetaObject.cast(_o)); |
+ MainWindow *_t = static_cast<MainWindow *>(_o); |
+ switch (_id) { |
+ case 0: _t->on_pushButton_2_clicked(); break; |
+ case 1: _t->on_pushButton_clicked(); break; |
+ default: ; |
+ } |
+ } |
+ Q_UNUSED(_a); |
+} |
+ |
+const QMetaObjectExtraData MainWindow::staticMetaObjectExtraData = { |
+ 0, qt_static_metacall |
+}; |
+ |
+const QMetaObject MainWindow::staticMetaObject = { |
+ { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow, |
+ qt_meta_data_MainWindow, &staticMetaObjectExtraData } |
+}; |
+ |
+#ifdef Q_NO_DATA_RELOCATION |
+const QMetaObject &MainWindow::getStaticMetaObject() { return staticMetaObject; } |
+#endif //Q_NO_DATA_RELOCATION |
+ |
+const QMetaObject *MainWindow::metaObject() const |
+{ |
+ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; |
+} |
+ |
+void *MainWindow::qt_metacast(const char *_clname) |
+{ |
+ if (!_clname) return 0; |
+ if (!strcmp(_clname, qt_meta_stringdata_MainWindow)) |
+ return static_cast<void*>(const_cast< MainWindow*>(this)); |
+ return QMainWindow::qt_metacast(_clname); |
+} |
+ |
+int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
+{ |
+ _id = QMainWindow::qt_metacall(_c, _id, _a); |
+ if (_id < 0) |
+ return _id; |
+ if (_c == QMetaObject::InvokeMetaMethod) { |
+ if (_id < 2) |
+ qt_static_metacall(this, _c, _id, _a); |
+ _id -= 2; |
+ } |
+ return _id; |
+} |
+QT_END_MOC_NAMESPACE |
/Chapter 01/myQtGUIApp/moc_mainwindow.cpp |
---|
Property changes: |
Added: svn:mime-type |
## -0,0 +1 ## |
+text/plain |
\ No newline at end of property |
Index: Chapter 01/myQtGUIApp/Makefile |
=================================================================== |
--- Chapter 01/myQtGUIApp/Makefile (revision 4) |
+++ Chapter 01/myQtGUIApp/Makefile (revision 5) |
@@ -1,153 +1,235 @@ |
-############################################################################# |
-# Makefile for building: myQtGUIApp |
-# Generated by qmake (2.01a) (Qt 4.6.3) on: Mon Feb 28 15:14:16 2011 |
-# Project: myQtGUIApp.pro |
-# Template: app |
-# Command: c:\Qt\4.6.3\bin\qmake.exe -spec ..\..\Qt\4.6.3\mkspecs\win32-msvc2008 -win32 CONFIG+=release -o Makefile myQtGUIApp.pro |
-############################################################################# |
- |
-first: release |
-install: release-install |
-uninstall: release-uninstall |
-MAKEFILE = Makefile |
-QMAKE = c:\Qt\4.6.3\bin\qmake.exe |
-DEL_FILE = del |
-CHK_DIR_EXISTS= if not exist |
-MKDIR = mkdir |
-COPY = copy /y |
-COPY_FILE = $(COPY) |
-COPY_DIR = xcopy /s /q /y /i |
-INSTALL_FILE = $(COPY_FILE) |
-INSTALL_PROGRAM = $(COPY_FILE) |
-INSTALL_DIR = $(COPY_DIR) |
-DEL_FILE = del |
-SYMLINK = |
-DEL_DIR = rmdir |
-MOVE = move |
-CHK_DIR_EXISTS= if not exist |
-MKDIR = mkdir |
-SUBTARGETS = \ |
- release \ |
- debug |
- |
-release: $(MAKEFILE).Release FORCE |
- $(MAKE) -f $(MAKEFILE).Release |
-release-make_default: $(MAKEFILE).Release FORCE |
- $(MAKE) -f $(MAKEFILE).Release |
-release-make_first: $(MAKEFILE).Release FORCE |
- $(MAKE) -f $(MAKEFILE).Release first |
-release-all: $(MAKEFILE).Release FORCE |
- $(MAKE) -f $(MAKEFILE).Release all |
-release-clean: $(MAKEFILE).Release FORCE |
- $(MAKE) -f $(MAKEFILE).Release clean |
-release-distclean: $(MAKEFILE).Release FORCE |
- $(MAKE) -f $(MAKEFILE).Release distclean |
-release-install: $(MAKEFILE).Release FORCE |
- $(MAKE) -f $(MAKEFILE).Release install |
-release-uninstall: $(MAKEFILE).Release FORCE |
- $(MAKE) -f $(MAKEFILE).Release uninstall |
-debug: $(MAKEFILE).Debug FORCE |
- $(MAKE) -f $(MAKEFILE).Debug |
-debug-make_default: $(MAKEFILE).Debug FORCE |
- $(MAKE) -f $(MAKEFILE).Debug |
-debug-make_first: $(MAKEFILE).Debug FORCE |
- $(MAKE) -f $(MAKEFILE).Debug first |
-debug-all: $(MAKEFILE).Debug FORCE |
- $(MAKE) -f $(MAKEFILE).Debug all |
-debug-clean: $(MAKEFILE).Debug FORCE |
- $(MAKE) -f $(MAKEFILE).Debug clean |
-debug-distclean: $(MAKEFILE).Debug FORCE |
- $(MAKE) -f $(MAKEFILE).Debug distclean |
-debug-install: $(MAKEFILE).Debug FORCE |
- $(MAKE) -f $(MAKEFILE).Debug install |
-debug-uninstall: $(MAKEFILE).Debug FORCE |
- $(MAKE) -f $(MAKEFILE).Debug uninstall |
- |
-Makefile: myQtGUIApp.pro ..\..\Qt\4.6.3\mkspecs\win32-msvc2008\qmake.conf ..\..\Qt\4.6.3\mkspecs\qconfig.pri \ |
- ..\..\Qt\4.6.3\mkspecs\features\qt_functions.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\qt_config.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\exclusive_builds.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\default_pre.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\win32\default_pre.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\release.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\debug_and_release.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\default_post.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\win32\default_post.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\win32\rtti.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\win32\exceptions.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\win32\stl.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\shared.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\win32\embed_manifest_exe.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\win32\embed_manifest_dll.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\warn_on.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\qt.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\win32\thread.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\moc.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\win32\windows.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\resources.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\uic.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\yacc.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\lex.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\incredibuild_xge.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\include_source_dir.prf \ |
- c:\Qt\4.6.3\lib\qtmain.prl |
- $(QMAKE) -spec ..\..\Qt\4.6.3\mkspecs\win32-msvc2008 -win32 CONFIG+=release -o Makefile myQtGUIApp.pro |
-..\..\Qt\4.6.3\mkspecs\qconfig.pri: |
-..\..\Qt\4.6.3\mkspecs\features\qt_functions.prf: |
-..\..\Qt\4.6.3\mkspecs\features\qt_config.prf: |
-..\..\Qt\4.6.3\mkspecs\features\exclusive_builds.prf: |
-..\..\Qt\4.6.3\mkspecs\features\default_pre.prf: |
-..\..\Qt\4.6.3\mkspecs\features\win32\default_pre.prf: |
-..\..\Qt\4.6.3\mkspecs\features\release.prf: |
-..\..\Qt\4.6.3\mkspecs\features\debug_and_release.prf: |
-..\..\Qt\4.6.3\mkspecs\features\default_post.prf: |
-..\..\Qt\4.6.3\mkspecs\features\win32\default_post.prf: |
-..\..\Qt\4.6.3\mkspecs\features\win32\rtti.prf: |
-..\..\Qt\4.6.3\mkspecs\features\win32\exceptions.prf: |
-..\..\Qt\4.6.3\mkspecs\features\win32\stl.prf: |
-..\..\Qt\4.6.3\mkspecs\features\shared.prf: |
-..\..\Qt\4.6.3\mkspecs\features\win32\embed_manifest_exe.prf: |
-..\..\Qt\4.6.3\mkspecs\features\win32\embed_manifest_dll.prf: |
-..\..\Qt\4.6.3\mkspecs\features\warn_on.prf: |
-..\..\Qt\4.6.3\mkspecs\features\qt.prf: |
-..\..\Qt\4.6.3\mkspecs\features\win32\thread.prf: |
-..\..\Qt\4.6.3\mkspecs\features\moc.prf: |
-..\..\Qt\4.6.3\mkspecs\features\win32\windows.prf: |
-..\..\Qt\4.6.3\mkspecs\features\resources.prf: |
-..\..\Qt\4.6.3\mkspecs\features\uic.prf: |
-..\..\Qt\4.6.3\mkspecs\features\yacc.prf: |
-..\..\Qt\4.6.3\mkspecs\features\lex.prf: |
-..\..\Qt\4.6.3\mkspecs\features\incredibuild_xge.prf: |
-..\..\Qt\4.6.3\mkspecs\features\include_source_dir.prf: |
-c:\Qt\4.6.3\lib\qtmain.prl: |
-qmake: qmake_all FORCE |
- @$(QMAKE) -spec ..\..\Qt\4.6.3\mkspecs\win32-msvc2008 -win32 CONFIG+=release -o Makefile myQtGUIApp.pro |
- |
-qmake_all: FORCE |
- |
-make_default: release-make_default debug-make_default FORCE |
-make_first: release-make_first debug-make_first FORCE |
-all: release-all debug-all FORCE |
-clean: release-clean debug-clean FORCE |
- -$(DEL_FILE) ".\myQtGUIApp.intermediate.manifest" |
- -$(DEL_FILE) myQtGUIApp.exp |
-distclean: release-distclean debug-distclean FORCE |
- -$(DEL_FILE) Makefile |
- |
-check: first |
- |
-release-mocclean: $(MAKEFILE).Release |
- $(MAKE) -f $(MAKEFILE).Release mocclean |
-debug-mocclean: $(MAKEFILE).Debug |
- $(MAKE) -f $(MAKEFILE).Debug mocclean |
-mocclean: release-mocclean debug-mocclean |
- |
-release-mocables: $(MAKEFILE).Release |
- $(MAKE) -f $(MAKEFILE).Release mocables |
-debug-mocables: $(MAKEFILE).Debug |
- $(MAKE) -f $(MAKEFILE).Debug mocables |
-mocables: release-mocables debug-mocables |
-FORCE: |
- |
-$(MAKEFILE).Release: Makefile |
-$(MAKEFILE).Debug: Makefile |
+############################################################################# |
+# Makefile for building: myQtGUIApp |
+# Generated by qmake (2.01a) (Qt 4.8.6) on: Sa. Jan 25 02:53:28 2014 |
+# Project: myQtGUIApp.pro |
+# Template: app |
+# Command: /usr/lib/i386-linux-gnu/qt4/bin/qmake -o Makefile myQtGUIApp.pro |
+############################################################################# |
+ |
+####### Compiler, tools and options |
+ |
+CC = gcc |
+CXX = g++ |
+DEFINES = -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED |
+CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) |
+CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) |
+INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -IC:\OpenCV2.2\include -I. -I. |
+LINK = g++ |
+LFLAGS = -Wl,-O1 |
+LIBS = $(SUBLIBS) -L/usr/lib/i386-linux-gnu -LC:\OpenCV2.2\lib -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_features2d -lopencv_calib3d -lQtGui -lQtCore -lpthread |
+AR = ar cqs |
+RANLIB = |
+QMAKE = /usr/lib/i386-linux-gnu/qt4/bin/qmake |
+TAR = tar -cf |
+COMPRESS = gzip -9f |
+COPY = cp -f |
+SED = sed |
+COPY_FILE = $(COPY) |
+COPY_DIR = $(COPY) -r |
+STRIP = strip |
+INSTALL_FILE = install -m 644 -p |
+INSTALL_DIR = $(COPY_DIR) |
+INSTALL_PROGRAM = install -m 755 -p |
+DEL_FILE = rm -f |
+SYMLINK = ln -f -s |
+DEL_DIR = rmdir |
+MOVE = mv -f |
+CHK_DIR_EXISTS= test -d |
+MKDIR = mkdir -p |
+ |
+####### Output directory |
+ |
+OBJECTS_DIR = ./ |
+ |
+####### Files |
+ |
+SOURCES = main.cpp \ |
+ mainwindow.cpp moc_mainwindow.cpp |
+OBJECTS = main.o \ |
+ mainwindow.o \ |
+ moc_mainwindow.o |
+DIST = /usr/share/qt4/mkspecs/common/unix.conf \ |
+ /usr/share/qt4/mkspecs/common/linux.conf \ |
+ /usr/share/qt4/mkspecs/common/gcc-base.conf \ |
+ /usr/share/qt4/mkspecs/common/gcc-base-unix.conf \ |
+ /usr/share/qt4/mkspecs/common/g++-base.conf \ |
+ /usr/share/qt4/mkspecs/common/g++-unix.conf \ |
+ /usr/share/qt4/mkspecs/qconfig.pri \ |
+ /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \ |
+ /usr/share/qt4/mkspecs/features/qt_functions.prf \ |
+ /usr/share/qt4/mkspecs/features/qt_config.prf \ |
+ /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ |
+ /usr/share/qt4/mkspecs/features/default_pre.prf \ |
+ /usr/share/qt4/mkspecs/features/release.prf \ |
+ /usr/share/qt4/mkspecs/features/default_post.prf \ |
+ /usr/share/qt4/mkspecs/features/shared.prf \ |
+ /usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
+ /usr/share/qt4/mkspecs/features/warn_on.prf \ |
+ /usr/share/qt4/mkspecs/features/qt.prf \ |
+ /usr/share/qt4/mkspecs/features/unix/thread.prf \ |
+ /usr/share/qt4/mkspecs/features/moc.prf \ |
+ /usr/share/qt4/mkspecs/features/resources.prf \ |
+ /usr/share/qt4/mkspecs/features/uic.prf \ |
+ /usr/share/qt4/mkspecs/features/yacc.prf \ |
+ /usr/share/qt4/mkspecs/features/lex.prf \ |
+ /usr/share/qt4/mkspecs/features/include_source_dir.prf \ |
+ myQtGUIApp.pro |
+QMAKE_TARGET = myQtGUIApp |
+DESTDIR = |
+TARGET = myQtGUIApp |
+ |
+first: all |
+####### Implicit rules |
+ |
+.SUFFIXES: .o .c .cpp .cc .cxx .C |
+ |
+.cpp.o: |
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
+ |
+.cc.o: |
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
+ |
+.cxx.o: |
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
+ |
+.C.o: |
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
+ |
+.c.o: |
+ $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" |
+ |
+####### Build rules |
+ |
+all: Makefile $(TARGET) |
+ |
+$(TARGET): ui_mainwindow.h $(OBJECTS) |
+ $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) |
+ |
+Makefile: myQtGUIApp.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \ |
+ /usr/share/qt4/mkspecs/common/linux.conf \ |
+ /usr/share/qt4/mkspecs/common/gcc-base.conf \ |
+ /usr/share/qt4/mkspecs/common/gcc-base-unix.conf \ |
+ /usr/share/qt4/mkspecs/common/g++-base.conf \ |
+ /usr/share/qt4/mkspecs/common/g++-unix.conf \ |
+ /usr/share/qt4/mkspecs/qconfig.pri \ |
+ /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \ |
+ /usr/share/qt4/mkspecs/features/qt_functions.prf \ |
+ /usr/share/qt4/mkspecs/features/qt_config.prf \ |
+ /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ |
+ /usr/share/qt4/mkspecs/features/default_pre.prf \ |
+ /usr/share/qt4/mkspecs/features/release.prf \ |
+ /usr/share/qt4/mkspecs/features/default_post.prf \ |
+ /usr/share/qt4/mkspecs/features/shared.prf \ |
+ /usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
+ /usr/share/qt4/mkspecs/features/warn_on.prf \ |
+ /usr/share/qt4/mkspecs/features/qt.prf \ |
+ /usr/share/qt4/mkspecs/features/unix/thread.prf \ |
+ /usr/share/qt4/mkspecs/features/moc.prf \ |
+ /usr/share/qt4/mkspecs/features/resources.prf \ |
+ /usr/share/qt4/mkspecs/features/uic.prf \ |
+ /usr/share/qt4/mkspecs/features/yacc.prf \ |
+ /usr/share/qt4/mkspecs/features/lex.prf \ |
+ /usr/share/qt4/mkspecs/features/include_source_dir.prf \ |
+ /usr/lib/i386-linux-gnu/libQtGui.prl \ |
+ /usr/lib/i386-linux-gnu/libQtCore.prl |
+ $(QMAKE) -o Makefile myQtGUIApp.pro |
+/usr/share/qt4/mkspecs/common/unix.conf: |
+/usr/share/qt4/mkspecs/common/linux.conf: |
+/usr/share/qt4/mkspecs/common/gcc-base.conf: |
+/usr/share/qt4/mkspecs/common/gcc-base-unix.conf: |
+/usr/share/qt4/mkspecs/common/g++-base.conf: |
+/usr/share/qt4/mkspecs/common/g++-unix.conf: |
+/usr/share/qt4/mkspecs/qconfig.pri: |
+/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri: |
+/usr/share/qt4/mkspecs/features/qt_functions.prf: |
+/usr/share/qt4/mkspecs/features/qt_config.prf: |
+/usr/share/qt4/mkspecs/features/exclusive_builds.prf: |
+/usr/share/qt4/mkspecs/features/default_pre.prf: |
+/usr/share/qt4/mkspecs/features/release.prf: |
+/usr/share/qt4/mkspecs/features/default_post.prf: |
+/usr/share/qt4/mkspecs/features/shared.prf: |
+/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: |
+/usr/share/qt4/mkspecs/features/warn_on.prf: |
+/usr/share/qt4/mkspecs/features/qt.prf: |
+/usr/share/qt4/mkspecs/features/unix/thread.prf: |
+/usr/share/qt4/mkspecs/features/moc.prf: |
+/usr/share/qt4/mkspecs/features/resources.prf: |
+/usr/share/qt4/mkspecs/features/uic.prf: |
+/usr/share/qt4/mkspecs/features/yacc.prf: |
+/usr/share/qt4/mkspecs/features/lex.prf: |
+/usr/share/qt4/mkspecs/features/include_source_dir.prf: |
+/usr/lib/i386-linux-gnu/libQtGui.prl: |
+/usr/lib/i386-linux-gnu/libQtCore.prl: |
+qmake: FORCE |
+ @$(QMAKE) -o Makefile myQtGUIApp.pro |
+ |
+dist: |
+ @$(CHK_DIR_EXISTS) .tmp/myQtGUIApp1.0.0 || $(MKDIR) .tmp/myQtGUIApp1.0.0 |
+ $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/myQtGUIApp1.0.0/ && $(COPY_FILE) --parents mainwindow.h .tmp/myQtGUIApp1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp .tmp/myQtGUIApp1.0.0/ && $(COPY_FILE) --parents mainwindow.ui .tmp/myQtGUIApp1.0.0/ && (cd `dirname .tmp/myQtGUIApp1.0.0` && $(TAR) myQtGUIApp1.0.0.tar myQtGUIApp1.0.0 && $(COMPRESS) myQtGUIApp1.0.0.tar) && $(MOVE) `dirname .tmp/myQtGUIApp1.0.0`/myQtGUIApp1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/myQtGUIApp1.0.0 |
+ |
+ |
+clean:compiler_clean |
+ -$(DEL_FILE) $(OBJECTS) |
+ -$(DEL_FILE) *~ core *.core |
+ |
+ |
+####### Sub-libraries |
+ |
+distclean: clean |
+ -$(DEL_FILE) $(TARGET) |
+ -$(DEL_FILE) Makefile |
+ |
+ |
+check: first |
+ |
+mocclean: compiler_moc_header_clean compiler_moc_source_clean |
+ |
+mocables: compiler_moc_header_make_all compiler_moc_source_make_all |
+ |
+compiler_moc_header_make_all: moc_mainwindow.cpp |
+compiler_moc_header_clean: |
+ -$(DEL_FILE) moc_mainwindow.cpp |
+moc_mainwindow.cpp: mainwindow.h |
+ /usr/lib/i386-linux-gnu/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp |
+ |
+compiler_rcc_make_all: |
+compiler_rcc_clean: |
+compiler_image_collection_make_all: qmake_image_collection.cpp |
+compiler_image_collection_clean: |
+ -$(DEL_FILE) qmake_image_collection.cpp |
+compiler_moc_source_make_all: |
+compiler_moc_source_clean: |
+compiler_uic_make_all: ui_mainwindow.h |
+compiler_uic_clean: |
+ -$(DEL_FILE) ui_mainwindow.h |
+ui_mainwindow.h: mainwindow.ui |
+ /usr/lib/i386-linux-gnu/qt4/bin/uic mainwindow.ui -o ui_mainwindow.h |
+ |
+compiler_yacc_decl_make_all: |
+compiler_yacc_decl_clean: |
+compiler_yacc_impl_make_all: |
+compiler_yacc_impl_clean: |
+compiler_lex_make_all: |
+compiler_lex_clean: |
+compiler_clean: compiler_moc_header_clean compiler_uic_clean |
+ |
+####### Compile |
+ |
+main.o: main.cpp mainwindow.h |
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp |
+ |
+mainwindow.o: mainwindow.cpp mainwindow.h \ |
+ ui_mainwindow.h |
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp |
+ |
+moc_mainwindow.o: moc_mainwindow.cpp |
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp |
+ |
+####### Install |
+ |
+install: FORCE |
+ |
+uninstall: FORCE |
+ |
+FORCE: |
+ |
Index: Chapter 01/main1.cpp |
=================================================================== |
--- Chapter 01/main1.cpp (revision 4) |
+++ Chapter 01/main1.cpp (revision 5) |
@@ -21,7 +21,7 @@ |
int main() { |
// read an image |
- cv::Mat image= cv::imread("img.jpg"); |
+ cv::Mat image= cv::imread("baboon1.jpg"); |
// create image window named "My Image" |
cv::namedWindow("My Image"); |
// show the image on window |
/trunk/Chapter 01/main2.cpp |
---|
36,10 → 36,10 |
std::cout << "size: " << image.size().height << " , " |
<< image.size().width << std::endl; |
// open image |
image= cv::imread("img.jpg"); |
image= cv::imread("baboon1.jpg"); |
// check if image has been successfully read |
if (!image.data) { |
// no image has been createdÂ… |
// no image has been created� |
return 0; |
} |
// print image size |
/trunk/Chapter 01/anotherQtGUI/ui_mainwindow.h |
---|
1,104 → 1,87 |
/*------------------------------------------------------------------------------------------*\ |
This file contains material supporting chapter 1 of the cookbook: |
Computer Vision Programming using the OpenCV Library. |
by Robert Laganiere, Packt Publishing, 2011. |
This program is free software; permission is hereby granted to use, copy, modify, |
and distribute this source code, or portions thereof, for any purpose, without fee, |
subject to the restriction that the copyright notice may not be removed |
or altered from any source or altered source distribution. |
The software is released on an as-is basis and without any warranties of any kind. |
In particular, the software is not guaranteed to be fault-tolerant or free from failure. |
The author disclaims all warranties with regard to this software, any use, |
and any consequent failure, is purely the responsibility of the user. |
Copyright (C) 2010-2011 Robert Laganiere, www.laganiere.name |
\*------------------------------------------------------------------------------------------*/ |
/******************************************************************************** |
** Form generated from reading UI file 'mainwindow.ui' |
** |
** Created: Wed Jun 30 08:35:07 2010 |
** by: Qt User Interface Compiler version 4.6.3 |
** |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
********************************************************************************/ |
#ifndef UI_MAINWINDOW_H |
#define UI_MAINWINDOW_H |
#include <QtCore/QVariant> |
#include <QtGui/QAction> |
#include <QtGui/QApplication> |
#include <QtGui/QButtonGroup> |
#include <QtGui/QHeaderView> |
#include <QtGui/QLabel> |
#include <QtGui/QMainWindow> |
#include <QtGui/QMenuBar> |
#include <QtGui/QPushButton> |
#include <QtGui/QStatusBar> |
#include <QtGui/QToolBar> |
#include <QtGui/QWidget> |
QT_BEGIN_NAMESPACE |
class Ui_MainWindow |
{ |
public: |
QWidget *centralWidget; |
QPushButton *pushButton; |
QPushButton *pushButton_2; |
QLabel *label; |
QMenuBar *menuBar; |
QToolBar *mainToolBar; |
QStatusBar *statusBar; |
void setupUi(QMainWindow *MainWindow) |
{ |
if (MainWindow->objectName().isEmpty()) |
MainWindow->setObjectName(QString::fromUtf8("MainWindow")); |
MainWindow->resize(572, 326); |
centralWidget = new QWidget(MainWindow); |
centralWidget->setObjectName(QString::fromUtf8("centralWidget")); |
pushButton = new QPushButton(centralWidget); |
pushButton->setObjectName(QString::fromUtf8("pushButton")); |
pushButton->setGeometry(QRect(10, 10, 111, 51)); |
pushButton_2 = new QPushButton(centralWidget); |
pushButton_2->setObjectName(QString::fromUtf8("pushButton_2")); |
pushButton_2->setGeometry(QRect(10, 70, 111, 51)); |
label = new QLabel(centralWidget); |
label->setObjectName(QString::fromUtf8("label")); |
label->setGeometry(QRect(160, 10, 391, 261)); |
MainWindow->setCentralWidget(centralWidget); |
menuBar = new QMenuBar(MainWindow); |
menuBar->setObjectName(QString::fromUtf8("menuBar")); |
menuBar->setGeometry(QRect(0, 0, 572, 25)); |
MainWindow->setMenuBar(menuBar); |
mainToolBar = new QToolBar(MainWindow); |
mainToolBar->setObjectName(QString::fromUtf8("mainToolBar")); |
MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar); |
statusBar = new QStatusBar(MainWindow); |
statusBar->setObjectName(QString::fromUtf8("statusBar")); |
MainWindow->setStatusBar(statusBar); |
retranslateUi(MainWindow); |
QMetaObject::connectSlotsByName(MainWindow); |
} // setupUi |
void retranslateUi(QMainWindow *MainWindow) |
{ |
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8)); |
pushButton->setText(QApplication::translate("MainWindow", "Open Image", 0, QApplication::UnicodeUTF8)); |
pushButton_2->setText(QApplication::translate("MainWindow", "Process", 0, QApplication::UnicodeUTF8)); |
label->setText(QApplication::translate("MainWindow", "Image", 0, QApplication::UnicodeUTF8)); |
} // retranslateUi |
}; |
namespace Ui { |
class MainWindow: public Ui_MainWindow {}; |
} // namespace Ui |
QT_END_NAMESPACE |
#endif // UI_MAINWINDOW_H |
/******************************************************************************** |
** Form generated from reading UI file 'mainwindow.ui' |
** |
** Created by: Qt User Interface Compiler version 4.8.6 |
** |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
********************************************************************************/ |
#ifndef UI_MAINWINDOW_H |
#define UI_MAINWINDOW_H |
#include <QtCore/QVariant> |
#include <QtGui/QAction> |
#include <QtGui/QApplication> |
#include <QtGui/QButtonGroup> |
#include <QtGui/QHeaderView> |
#include <QtGui/QLabel> |
#include <QtGui/QMainWindow> |
#include <QtGui/QMenuBar> |
#include <QtGui/QPushButton> |
#include <QtGui/QStatusBar> |
#include <QtGui/QToolBar> |
#include <QtGui/QWidget> |
QT_BEGIN_NAMESPACE |
class Ui_MainWindow |
{ |
public: |
QWidget *centralWidget; |
QPushButton *pushButton; |
QPushButton *pushButton_2; |
QLabel *label; |
QMenuBar *menuBar; |
QToolBar *mainToolBar; |
QStatusBar *statusBar; |
void setupUi(QMainWindow *MainWindow) |
{ |
if (MainWindow->objectName().isEmpty()) |
MainWindow->setObjectName(QString::fromUtf8("MainWindow")); |
MainWindow->resize(572, 326); |
centralWidget = new QWidget(MainWindow); |
centralWidget->setObjectName(QString::fromUtf8("centralWidget")); |
pushButton = new QPushButton(centralWidget); |
pushButton->setObjectName(QString::fromUtf8("pushButton")); |
pushButton->setGeometry(QRect(10, 10, 111, 51)); |
pushButton_2 = new QPushButton(centralWidget); |
pushButton_2->setObjectName(QString::fromUtf8("pushButton_2")); |
pushButton_2->setGeometry(QRect(10, 70, 111, 51)); |
label = new QLabel(centralWidget); |
label->setObjectName(QString::fromUtf8("label")); |
label->setGeometry(QRect(160, 10, 391, 261)); |
MainWindow->setCentralWidget(centralWidget); |
menuBar = new QMenuBar(MainWindow); |
menuBar->setObjectName(QString::fromUtf8("menuBar")); |
menuBar->setGeometry(QRect(0, 0, 572, 25)); |
MainWindow->setMenuBar(menuBar); |
mainToolBar = new QToolBar(MainWindow); |
mainToolBar->setObjectName(QString::fromUtf8("mainToolBar")); |
MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar); |
statusBar = new QStatusBar(MainWindow); |
statusBar->setObjectName(QString::fromUtf8("statusBar")); |
MainWindow->setStatusBar(statusBar); |
retranslateUi(MainWindow); |
QMetaObject::connectSlotsByName(MainWindow); |
} // setupUi |
void retranslateUi(QMainWindow *MainWindow) |
{ |
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8)); |
pushButton->setText(QApplication::translate("MainWindow", "Open Image", 0, QApplication::UnicodeUTF8)); |
pushButton_2->setText(QApplication::translate("MainWindow", "Process", 0, QApplication::UnicodeUTF8)); |
label->setText(QApplication::translate("MainWindow", "Image", 0, QApplication::UnicodeUTF8)); |
} // retranslateUi |
}; |
namespace Ui { |
class MainWindow: public Ui_MainWindow {}; |
} // namespace Ui |
QT_END_NAMESPACE |
#endif // UI_MAINWINDOW_H |
/trunk/Chapter 01/anotherQtGUI/mainwindow.h |
---|
21,6 → 21,7 |
#include <QFileDialog> |
#include <opencv2/core/core.hpp> |
#include <opencv2/highgui/highgui.hpp> |
#include <opencv2/imgproc/imgproc.hpp> |
namespace Ui |
{ |
/trunk/Chapter 01/anotherQtGUI/.project |
---|
0,0 → 1,27 |
<?xml version="1.0" encoding="UTF-8"?> |
<projectDescription> |
<name>OpenCV2-Cookbook-Chapter-01-Qt2</name> |
<comment></comment> |
<projects> |
</projects> |
<buildSpec> |
<buildCommand> |
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> |
<triggers>clean,full,incremental,</triggers> |
<arguments> |
</arguments> |
</buildCommand> |
<buildCommand> |
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name> |
<triggers>full,incremental,</triggers> |
<arguments> |
</arguments> |
</buildCommand> |
</buildSpec> |
<natures> |
<nature>org.eclipse.cdt.core.cnature</nature> |
<nature>org.eclipse.cdt.core.ccnature</nature> |
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature> |
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature> |
</natures> |
</projectDescription> |
Property changes: |
Added: svn:mime-type |
## -0,0 +1 ## |
+text/plain |
\ No newline at end of property |
Index: Chapter 01/anotherQtGUI/main.cpp |
=================================================================== |
--- Chapter 01/anotherQtGUI/main.cpp (revision 4) |
+++ Chapter 01/anotherQtGUI/main.cpp (revision 5) |
@@ -15,7 +15,7 @@ |
Copyright (C) 2010-2011 Robert Laganiere, www.laganiere.name |
\*------------------------------------------------------------------------------------------*/ |
-#include <QtGui/QApplication> |
+#include <qt4/QtGui/QApplication> |
#include "mainwindow.h" |
int main(int argc, char *argv[]) |
/trunk/Chapter 01/anotherQtGUI/.cproject |
---|
0,0 → 1,123 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage"> |
<storageModule moduleId="org.eclipse.cdt.core.settings"> |
<cconfiguration id="cdt.managedbuild.config.gnu.exe.debug.1954385489"> |
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.debug.1954385489" moduleId="org.eclipse.cdt.core.settings" name="Debug"> |
<externalSettings/> |
<extensions> |
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> |
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> |
</extensions> |
</storageModule> |
<storageModule moduleId="cdtBuildSystem" version="4.0.0"> |
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.debug.1954385489" name="Debug" parent="cdt.managedbuild.config.gnu.exe.debug"> |
<folderInfo id="cdt.managedbuild.config.gnu.exe.debug.1954385489." name="/" resourcePath=""> |
<toolChain id="cdt.managedbuild.toolchain.gnu.exe.debug.255603280" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.debug"> |
<targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.debug.600622311" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.debug"/> |
<builder buildPath="${workspace_loc:/OpenCV2-Qt2}" id="cdt.managedbuild.target.gnu.builder.exe.debug.1910936846" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.exe.debug"/> |
<tool id="cdt.managedbuild.tool.gnu.archiver.base.349558976" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/> |
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.154799066" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug"> |
<option id="gnu.cpp.compiler.exe.debug.option.optimization.level.720782557" name="Optimization Level" superClass="gnu.cpp.compiler.exe.debug.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/> |
<option id="gnu.cpp.compiler.exe.debug.option.debugging.level.1338924299" name="Debug Level" superClass="gnu.cpp.compiler.exe.debug.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/> |
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.906567569" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/> |
</tool> |
<tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.debug.1315296774" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.debug"> |
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.exe.debug.option.optimization.level.1180682138" name="Optimization Level" superClass="gnu.c.compiler.exe.debug.option.optimization.level" valueType="enumerated"/> |
<option id="gnu.c.compiler.exe.debug.option.debugging.level.1100856140" name="Debug Level" superClass="gnu.c.compiler.exe.debug.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/> |
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.478043739" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> |
</tool> |
<tool id="cdt.managedbuild.tool.gnu.c.linker.exe.debug.1368375246" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.debug"/> |
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug.1040669836" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug"> |
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.111346820" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input"> |
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> |
<additionalInput kind="additionalinput" paths="$(LIBS)"/> |
</inputType> |
</tool> |
<tool id="cdt.managedbuild.tool.gnu.assembler.exe.debug.147919171" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.debug"> |
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1882956154" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> |
</tool> |
</toolChain> |
</folderInfo> |
</configuration> |
</storageModule> |
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/> |
</cconfiguration> |
<cconfiguration id="cdt.managedbuild.config.gnu.exe.release.799042925"> |
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.release.799042925" moduleId="org.eclipse.cdt.core.settings" name="Release"> |
<externalSettings/> |
<extensions> |
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> |
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> |
</extensions> |
</storageModule> |
<storageModule moduleId="cdtBuildSystem" version="4.0.0"> |
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.release.799042925" name="Release" parent="cdt.managedbuild.config.gnu.exe.release"> |
<folderInfo id="cdt.managedbuild.config.gnu.exe.release.799042925." name="/" resourcePath=""> |
<toolChain id="cdt.managedbuild.toolchain.gnu.exe.release.1431401863" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.release"> |
<targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.release.322082323" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.release"/> |
<builder buildPath="${workspace_loc:/OpwnCV2-Qt2}/Release" id="cdt.managedbuild.target.gnu.builder.exe.release.917150799" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.exe.release"/> |
<tool id="cdt.managedbuild.tool.gnu.archiver.base.1850346552" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/> |
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.99680848" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release"> |
<option id="gnu.cpp.compiler.exe.release.option.optimization.level.1040799196" name="Optimization Level" superClass="gnu.cpp.compiler.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/> |
<option id="gnu.cpp.compiler.exe.release.option.debugging.level.237152236" name="Debug Level" superClass="gnu.cpp.compiler.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/> |
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.444961364" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/> |
</tool> |
<tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.release.2042789232" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.release"> |
<option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.exe.release.option.optimization.level.254680918" name="Optimization Level" superClass="gnu.c.compiler.exe.release.option.optimization.level" valueType="enumerated"/> |
<option id="gnu.c.compiler.exe.release.option.debugging.level.2091057146" name="Debug Level" superClass="gnu.c.compiler.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/> |
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1362483875" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> |
</tool> |
<tool id="cdt.managedbuild.tool.gnu.c.linker.exe.release.382079077" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release"/> |
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.release.405300993" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.release"> |
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1788453620" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input"> |
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> |
<additionalInput kind="additionalinput" paths="$(LIBS)"/> |
</inputType> |
</tool> |
<tool id="cdt.managedbuild.tool.gnu.assembler.exe.release.581667243" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.release"> |
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1768154328" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> |
</tool> |
</toolChain> |
</folderInfo> |
</configuration> |
</storageModule> |
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/> |
</cconfiguration> |
</storageModule> |
<storageModule moduleId="cdtBuildSystem" version="4.0.0"> |
<project id="OpwnCV2-Qt2.cdt.managedbuild.target.gnu.exe.184892913" name="Executable" projectType="cdt.managedbuild.target.gnu.exe"/> |
</storageModule> |
<storageModule moduleId="scannerConfiguration"> |
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> |
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1954385489;cdt.managedbuild.config.gnu.exe.debug.1954385489.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.1315296774;cdt.managedbuild.tool.gnu.c.compiler.input.478043739"> |
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> |
</scannerConfigBuildInfo> |
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1954385489;cdt.managedbuild.config.gnu.exe.debug.1954385489.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.154799066;cdt.managedbuild.tool.gnu.cpp.compiler.input.906567569"> |
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> |
</scannerConfigBuildInfo> |
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.799042925;cdt.managedbuild.config.gnu.exe.release.799042925.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.99680848;cdt.managedbuild.tool.gnu.cpp.compiler.input.444961364"> |
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> |
</scannerConfigBuildInfo> |
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.799042925;cdt.managedbuild.config.gnu.exe.release.799042925.;cdt.managedbuild.tool.gnu.c.compiler.exe.release.2042789232;cdt.managedbuild.tool.gnu.c.compiler.input.1362483875"> |
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> |
</scannerConfigBuildInfo> |
</storageModule> |
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/> |
<storageModule moduleId="refreshScope" versionNumber="2"> |
<configuration configurationName="Release"> |
<resource resourceType="PROJECT" workspacePath="/OpwnCV2-Qt2"/> |
</configuration> |
<configuration configurationName="Debug"> |
<resource resourceType="PROJECT" workspacePath="/OpwnCV2-Qt2"/> |
</configuration> |
</storageModule> |
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/> |
</cproject> |
Property changes: |
Added: svn:mime-type |
## -0,0 +1 ## |
+text/plain |
\ No newline at end of property |
Index: Chapter 01/anotherQtGUI/anotherQtGUI.pro |
=================================================================== |
--- Chapter 01/anotherQtGUI/anotherQtGUI.pro (revision 4) |
+++ Chapter 01/anotherQtGUI/anotherQtGUI.pro (revision 5) |
@@ -18,8 +18,8 @@ |
INCLUDEPATH += C:\OpenCV2.2\include\ |
LIBS += -LC:\OpenCV2.2\lib \ |
- -lopencv_core220 \ |
- -lopencv_highgui220 \ |
- -lopencv_imgproc220 \ |
- -lopencv_features2d220 \ |
- -lopencv_calib3d220 |
+ -lopencv_core \ |
+ -lopencv_highgui \ |
+ -lopencv_imgproc \ |
+ -lopencv_features2d \ |
+ -lopencv_calib3d |
/trunk/Chapter 01/anotherQtGUI/anotherQtGUI |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:executable |
## -0,0 +1 ## |
+* |
\ No newline at end of property |
Added: svn:mime-type |
## -0,0 +1 ## |
+application/octet-stream |
\ No newline at end of property |
Index: Chapter 01/anotherQtGUI/moc_mainwindow.cpp |
=================================================================== |
--- Chapter 01/anotherQtGUI/moc_mainwindow.cpp (nonexistent) |
+++ Chapter 01/anotherQtGUI/moc_mainwindow.cpp (revision 5) |
@@ -0,0 +1,96 @@ |
+/**************************************************************************** |
+** Meta object code from reading C++ file 'mainwindow.h' |
+** |
+** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6) |
+** |
+** WARNING! All changes made in this file will be lost! |
+*****************************************************************************/ |
+ |
+#include "mainwindow.h" |
+#if !defined(Q_MOC_OUTPUT_REVISION) |
+#error "The header file 'mainwindow.h' doesn't include <QObject>." |
+#elif Q_MOC_OUTPUT_REVISION != 63 |
+#error "This file was generated using the moc from 4.8.6. It" |
+#error "cannot be used with the include files from this version of Qt." |
+#error "(The moc has changed too much.)" |
+#endif |
+ |
+QT_BEGIN_MOC_NAMESPACE |
+static const uint qt_meta_data_MainWindow[] = { |
+ |
+ // content: |
+ 6, // revision |
+ 0, // classname |
+ 0, 0, // classinfo |
+ 2, 14, // methods |
+ 0, 0, // properties |
+ 0, 0, // enums/sets |
+ 0, 0, // constructors |
+ 0, // flags |
+ 0, // signalCount |
+ |
+ // slots: signature, parameters, type, tag, flags |
+ 12, 11, 11, 11, 0x08, |
+ 38, 11, 11, 11, 0x08, |
+ |
+ 0 // eod |
+}; |
+ |
+static const char qt_meta_stringdata_MainWindow[] = { |
+ "MainWindow\0\0on_pushButton_2_clicked()\0" |
+ "on_pushButton_clicked()\0" |
+}; |
+ |
+void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
+{ |
+ if (_c == QMetaObject::InvokeMetaMethod) { |
+ Q_ASSERT(staticMetaObject.cast(_o)); |
+ MainWindow *_t = static_cast<MainWindow *>(_o); |
+ switch (_id) { |
+ case 0: _t->on_pushButton_2_clicked(); break; |
+ case 1: _t->on_pushButton_clicked(); break; |
+ default: ; |
+ } |
+ } |
+ Q_UNUSED(_a); |
+} |
+ |
+const QMetaObjectExtraData MainWindow::staticMetaObjectExtraData = { |
+ 0, qt_static_metacall |
+}; |
+ |
+const QMetaObject MainWindow::staticMetaObject = { |
+ { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow, |
+ qt_meta_data_MainWindow, &staticMetaObjectExtraData } |
+}; |
+ |
+#ifdef Q_NO_DATA_RELOCATION |
+const QMetaObject &MainWindow::getStaticMetaObject() { return staticMetaObject; } |
+#endif //Q_NO_DATA_RELOCATION |
+ |
+const QMetaObject *MainWindow::metaObject() const |
+{ |
+ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; |
+} |
+ |
+void *MainWindow::qt_metacast(const char *_clname) |
+{ |
+ if (!_clname) return 0; |
+ if (!strcmp(_clname, qt_meta_stringdata_MainWindow)) |
+ return static_cast<void*>(const_cast< MainWindow*>(this)); |
+ return QMainWindow::qt_metacast(_clname); |
+} |
+ |
+int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
+{ |
+ _id = QMainWindow::qt_metacall(_c, _id, _a); |
+ if (_id < 0) |
+ return _id; |
+ if (_c == QMetaObject::InvokeMetaMethod) { |
+ if (_id < 2) |
+ qt_static_metacall(this, _c, _id, _a); |
+ _id -= 2; |
+ } |
+ return _id; |
+} |
+QT_END_MOC_NAMESPACE |
/Chapter 01/anotherQtGUI/moc_mainwindow.cpp |
---|
Property changes: |
Added: svn:mime-type |
## -0,0 +1 ## |
+text/plain |
\ No newline at end of property |
Index: Chapter 01/anotherQtGUI/Makefile |
=================================================================== |
--- Chapter 01/anotherQtGUI/Makefile (revision 4) |
+++ Chapter 01/anotherQtGUI/Makefile (revision 5) |
@@ -1,153 +1,235 @@ |
-############################################################################# |
-# Makefile for building: anotherQtGUI |
-# Generated by qmake (2.01a) (Qt 4.6.3) on: Thu Aug 5 11:10:44 2010 |
-# Project: anotherQtGUI.pro |
-# Template: app |
-# Command: c:\Qt\4.6.3\bin\qmake.exe -spec ..\..\Qt\4.6.3\mkspecs\win32-msvc2008 -win32 CONFIG+=release -o Makefile anotherQtGUI.pro |
-############################################################################# |
- |
-first: release |
-install: release-install |
-uninstall: release-uninstall |
-MAKEFILE = Makefile |
-QMAKE = c:\Qt\4.6.3\bin\qmake.exe |
-DEL_FILE = del |
-CHK_DIR_EXISTS= if not exist |
-MKDIR = mkdir |
-COPY = copy /y |
-COPY_FILE = $(COPY) |
-COPY_DIR = xcopy /s /q /y /i |
-INSTALL_FILE = $(COPY_FILE) |
-INSTALL_PROGRAM = $(COPY_FILE) |
-INSTALL_DIR = $(COPY_DIR) |
-DEL_FILE = del |
-SYMLINK = |
-DEL_DIR = rmdir |
-MOVE = move |
-CHK_DIR_EXISTS= if not exist |
-MKDIR = mkdir |
-SUBTARGETS = \ |
- release \ |
- debug |
- |
-release: $(MAKEFILE).Release FORCE |
- $(MAKE) -f $(MAKEFILE).Release |
-release-make_default: $(MAKEFILE).Release FORCE |
- $(MAKE) -f $(MAKEFILE).Release |
-release-make_first: $(MAKEFILE).Release FORCE |
- $(MAKE) -f $(MAKEFILE).Release first |
-release-all: $(MAKEFILE).Release FORCE |
- $(MAKE) -f $(MAKEFILE).Release all |
-release-clean: $(MAKEFILE).Release FORCE |
- $(MAKE) -f $(MAKEFILE).Release clean |
-release-distclean: $(MAKEFILE).Release FORCE |
- $(MAKE) -f $(MAKEFILE).Release distclean |
-release-install: $(MAKEFILE).Release FORCE |
- $(MAKE) -f $(MAKEFILE).Release install |
-release-uninstall: $(MAKEFILE).Release FORCE |
- $(MAKE) -f $(MAKEFILE).Release uninstall |
-debug: $(MAKEFILE).Debug FORCE |
- $(MAKE) -f $(MAKEFILE).Debug |
-debug-make_default: $(MAKEFILE).Debug FORCE |
- $(MAKE) -f $(MAKEFILE).Debug |
-debug-make_first: $(MAKEFILE).Debug FORCE |
- $(MAKE) -f $(MAKEFILE).Debug first |
-debug-all: $(MAKEFILE).Debug FORCE |
- $(MAKE) -f $(MAKEFILE).Debug all |
-debug-clean: $(MAKEFILE).Debug FORCE |
- $(MAKE) -f $(MAKEFILE).Debug clean |
-debug-distclean: $(MAKEFILE).Debug FORCE |
- $(MAKE) -f $(MAKEFILE).Debug distclean |
-debug-install: $(MAKEFILE).Debug FORCE |
- $(MAKE) -f $(MAKEFILE).Debug install |
-debug-uninstall: $(MAKEFILE).Debug FORCE |
- $(MAKE) -f $(MAKEFILE).Debug uninstall |
- |
-Makefile: anotherQtGUI.pro ..\..\Qt\4.6.3\mkspecs\win32-msvc2008\qmake.conf ..\..\Qt\4.6.3\mkspecs\qconfig.pri \ |
- ..\..\Qt\4.6.3\mkspecs\features\qt_functions.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\qt_config.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\exclusive_builds.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\default_pre.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\win32\default_pre.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\release.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\debug_and_release.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\default_post.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\win32\default_post.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\win32\rtti.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\win32\exceptions.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\win32\stl.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\shared.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\win32\embed_manifest_exe.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\win32\embed_manifest_dll.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\warn_on.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\qt.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\win32\thread.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\moc.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\win32\windows.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\resources.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\uic.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\yacc.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\lex.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\incredibuild_xge.prf \ |
- ..\..\Qt\4.6.3\mkspecs\features\include_source_dir.prf \ |
- c:\Qt\4.6.3\lib\qtmain.prl |
- $(QMAKE) -spec ..\..\Qt\4.6.3\mkspecs\win32-msvc2008 -win32 CONFIG+=release -o Makefile anotherQtGUI.pro |
-..\..\Qt\4.6.3\mkspecs\qconfig.pri: |
-..\..\Qt\4.6.3\mkspecs\features\qt_functions.prf: |
-..\..\Qt\4.6.3\mkspecs\features\qt_config.prf: |
-..\..\Qt\4.6.3\mkspecs\features\exclusive_builds.prf: |
-..\..\Qt\4.6.3\mkspecs\features\default_pre.prf: |
-..\..\Qt\4.6.3\mkspecs\features\win32\default_pre.prf: |
-..\..\Qt\4.6.3\mkspecs\features\release.prf: |
-..\..\Qt\4.6.3\mkspecs\features\debug_and_release.prf: |
-..\..\Qt\4.6.3\mkspecs\features\default_post.prf: |
-..\..\Qt\4.6.3\mkspecs\features\win32\default_post.prf: |
-..\..\Qt\4.6.3\mkspecs\features\win32\rtti.prf: |
-..\..\Qt\4.6.3\mkspecs\features\win32\exceptions.prf: |
-..\..\Qt\4.6.3\mkspecs\features\win32\stl.prf: |
-..\..\Qt\4.6.3\mkspecs\features\shared.prf: |
-..\..\Qt\4.6.3\mkspecs\features\win32\embed_manifest_exe.prf: |
-..\..\Qt\4.6.3\mkspecs\features\win32\embed_manifest_dll.prf: |
-..\..\Qt\4.6.3\mkspecs\features\warn_on.prf: |
-..\..\Qt\4.6.3\mkspecs\features\qt.prf: |
-..\..\Qt\4.6.3\mkspecs\features\win32\thread.prf: |
-..\..\Qt\4.6.3\mkspecs\features\moc.prf: |
-..\..\Qt\4.6.3\mkspecs\features\win32\windows.prf: |
-..\..\Qt\4.6.3\mkspecs\features\resources.prf: |
-..\..\Qt\4.6.3\mkspecs\features\uic.prf: |
-..\..\Qt\4.6.3\mkspecs\features\yacc.prf: |
-..\..\Qt\4.6.3\mkspecs\features\lex.prf: |
-..\..\Qt\4.6.3\mkspecs\features\incredibuild_xge.prf: |
-..\..\Qt\4.6.3\mkspecs\features\include_source_dir.prf: |
-c:\Qt\4.6.3\lib\qtmain.prl: |
-qmake: qmake_all FORCE |
- @$(QMAKE) -spec ..\..\Qt\4.6.3\mkspecs\win32-msvc2008 -win32 CONFIG+=release -o Makefile anotherQtGUI.pro |
- |
-qmake_all: FORCE |
- |
-make_default: release-make_default debug-make_default FORCE |
-make_first: release-make_first debug-make_first FORCE |
-all: release-all debug-all FORCE |
-clean: release-clean debug-clean FORCE |
- -$(DEL_FILE) ".\anotherQtGUI.intermediate.manifest" |
- -$(DEL_FILE) anotherQtGUI.exp |
-distclean: release-distclean debug-distclean FORCE |
- -$(DEL_FILE) Makefile |
- |
-check: first |
- |
-release-mocclean: $(MAKEFILE).Release |
- $(MAKE) -f $(MAKEFILE).Release mocclean |
-debug-mocclean: $(MAKEFILE).Debug |
- $(MAKE) -f $(MAKEFILE).Debug mocclean |
-mocclean: release-mocclean debug-mocclean |
- |
-release-mocables: $(MAKEFILE).Release |
- $(MAKE) -f $(MAKEFILE).Release mocables |
-debug-mocables: $(MAKEFILE).Debug |
- $(MAKE) -f $(MAKEFILE).Debug mocables |
-mocables: release-mocables debug-mocables |
-FORCE: |
- |
-$(MAKEFILE).Release: Makefile |
-$(MAKEFILE).Debug: Makefile |
+############################################################################# |
+# Makefile for building: anotherQtGUI |
+# Generated by qmake (2.01a) (Qt 4.8.6) on: Sa. Jan 25 06:37:10 2014 |
+# Project: anotherQtGUI.pro |
+# Template: app |
+# Command: /usr/lib/i386-linux-gnu/qt4/bin/qmake -o Makefile anotherQtGUI.pro |
+############################################################################# |
+ |
+####### Compiler, tools and options |
+ |
+CC = gcc |
+CXX = g++ |
+DEFINES = -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED |
+CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) |
+CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) |
+INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -IC:\OpenCV2.2\include -I. -I. |
+LINK = g++ |
+LFLAGS = -Wl,-O1 |
+LIBS = $(SUBLIBS) -L/usr/lib/i386-linux-gnu -LC:\OpenCV2.2\lib -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_features2d -lopencv_calib3d -lQtGui -lQtCore -lpthread |
+AR = ar cqs |
+RANLIB = |
+QMAKE = /usr/lib/i386-linux-gnu/qt4/bin/qmake |
+TAR = tar -cf |
+COMPRESS = gzip -9f |
+COPY = cp -f |
+SED = sed |
+COPY_FILE = $(COPY) |
+COPY_DIR = $(COPY) -r |
+STRIP = strip |
+INSTALL_FILE = install -m 644 -p |
+INSTALL_DIR = $(COPY_DIR) |
+INSTALL_PROGRAM = install -m 755 -p |
+DEL_FILE = rm -f |
+SYMLINK = ln -f -s |
+DEL_DIR = rmdir |
+MOVE = mv -f |
+CHK_DIR_EXISTS= test -d |
+MKDIR = mkdir -p |
+ |
+####### Output directory |
+ |
+OBJECTS_DIR = ./ |
+ |
+####### Files |
+ |
+SOURCES = main.cpp \ |
+ mainwindow.cpp moc_mainwindow.cpp |
+OBJECTS = main.o \ |
+ mainwindow.o \ |
+ moc_mainwindow.o |
+DIST = /usr/share/qt4/mkspecs/common/unix.conf \ |
+ /usr/share/qt4/mkspecs/common/linux.conf \ |
+ /usr/share/qt4/mkspecs/common/gcc-base.conf \ |
+ /usr/share/qt4/mkspecs/common/gcc-base-unix.conf \ |
+ /usr/share/qt4/mkspecs/common/g++-base.conf \ |
+ /usr/share/qt4/mkspecs/common/g++-unix.conf \ |
+ /usr/share/qt4/mkspecs/qconfig.pri \ |
+ /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \ |
+ /usr/share/qt4/mkspecs/features/qt_functions.prf \ |
+ /usr/share/qt4/mkspecs/features/qt_config.prf \ |
+ /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ |
+ /usr/share/qt4/mkspecs/features/default_pre.prf \ |
+ /usr/share/qt4/mkspecs/features/release.prf \ |
+ /usr/share/qt4/mkspecs/features/default_post.prf \ |
+ /usr/share/qt4/mkspecs/features/shared.prf \ |
+ /usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
+ /usr/share/qt4/mkspecs/features/warn_on.prf \ |
+ /usr/share/qt4/mkspecs/features/qt.prf \ |
+ /usr/share/qt4/mkspecs/features/unix/thread.prf \ |
+ /usr/share/qt4/mkspecs/features/moc.prf \ |
+ /usr/share/qt4/mkspecs/features/resources.prf \ |
+ /usr/share/qt4/mkspecs/features/uic.prf \ |
+ /usr/share/qt4/mkspecs/features/yacc.prf \ |
+ /usr/share/qt4/mkspecs/features/lex.prf \ |
+ /usr/share/qt4/mkspecs/features/include_source_dir.prf \ |
+ anotherQtGUI.pro |
+QMAKE_TARGET = anotherQtGUI |
+DESTDIR = |
+TARGET = anotherQtGUI |
+ |
+first: all |
+####### Implicit rules |
+ |
+.SUFFIXES: .o .c .cpp .cc .cxx .C |
+ |
+.cpp.o: |
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
+ |
+.cc.o: |
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
+ |
+.cxx.o: |
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
+ |
+.C.o: |
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
+ |
+.c.o: |
+ $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" |
+ |
+####### Build rules |
+ |
+all: Makefile $(TARGET) |
+ |
+$(TARGET): ui_mainwindow.h $(OBJECTS) |
+ $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) |
+ |
+Makefile: anotherQtGUI.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \ |
+ /usr/share/qt4/mkspecs/common/linux.conf \ |
+ /usr/share/qt4/mkspecs/common/gcc-base.conf \ |
+ /usr/share/qt4/mkspecs/common/gcc-base-unix.conf \ |
+ /usr/share/qt4/mkspecs/common/g++-base.conf \ |
+ /usr/share/qt4/mkspecs/common/g++-unix.conf \ |
+ /usr/share/qt4/mkspecs/qconfig.pri \ |
+ /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \ |
+ /usr/share/qt4/mkspecs/features/qt_functions.prf \ |
+ /usr/share/qt4/mkspecs/features/qt_config.prf \ |
+ /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ |
+ /usr/share/qt4/mkspecs/features/default_pre.prf \ |
+ /usr/share/qt4/mkspecs/features/release.prf \ |
+ /usr/share/qt4/mkspecs/features/default_post.prf \ |
+ /usr/share/qt4/mkspecs/features/shared.prf \ |
+ /usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
+ /usr/share/qt4/mkspecs/features/warn_on.prf \ |
+ /usr/share/qt4/mkspecs/features/qt.prf \ |
+ /usr/share/qt4/mkspecs/features/unix/thread.prf \ |
+ /usr/share/qt4/mkspecs/features/moc.prf \ |
+ /usr/share/qt4/mkspecs/features/resources.prf \ |
+ /usr/share/qt4/mkspecs/features/uic.prf \ |
+ /usr/share/qt4/mkspecs/features/yacc.prf \ |
+ /usr/share/qt4/mkspecs/features/lex.prf \ |
+ /usr/share/qt4/mkspecs/features/include_source_dir.prf \ |
+ /usr/lib/i386-linux-gnu/libQtGui.prl \ |
+ /usr/lib/i386-linux-gnu/libQtCore.prl |
+ $(QMAKE) -o Makefile anotherQtGUI.pro |
+/usr/share/qt4/mkspecs/common/unix.conf: |
+/usr/share/qt4/mkspecs/common/linux.conf: |
+/usr/share/qt4/mkspecs/common/gcc-base.conf: |
+/usr/share/qt4/mkspecs/common/gcc-base-unix.conf: |
+/usr/share/qt4/mkspecs/common/g++-base.conf: |
+/usr/share/qt4/mkspecs/common/g++-unix.conf: |
+/usr/share/qt4/mkspecs/qconfig.pri: |
+/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri: |
+/usr/share/qt4/mkspecs/features/qt_functions.prf: |
+/usr/share/qt4/mkspecs/features/qt_config.prf: |
+/usr/share/qt4/mkspecs/features/exclusive_builds.prf: |
+/usr/share/qt4/mkspecs/features/default_pre.prf: |
+/usr/share/qt4/mkspecs/features/release.prf: |
+/usr/share/qt4/mkspecs/features/default_post.prf: |
+/usr/share/qt4/mkspecs/features/shared.prf: |
+/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: |
+/usr/share/qt4/mkspecs/features/warn_on.prf: |
+/usr/share/qt4/mkspecs/features/qt.prf: |
+/usr/share/qt4/mkspecs/features/unix/thread.prf: |
+/usr/share/qt4/mkspecs/features/moc.prf: |
+/usr/share/qt4/mkspecs/features/resources.prf: |
+/usr/share/qt4/mkspecs/features/uic.prf: |
+/usr/share/qt4/mkspecs/features/yacc.prf: |
+/usr/share/qt4/mkspecs/features/lex.prf: |
+/usr/share/qt4/mkspecs/features/include_source_dir.prf: |
+/usr/lib/i386-linux-gnu/libQtGui.prl: |
+/usr/lib/i386-linux-gnu/libQtCore.prl: |
+qmake: FORCE |
+ @$(QMAKE) -o Makefile anotherQtGUI.pro |
+ |
+dist: |
+ @$(CHK_DIR_EXISTS) .tmp/anotherQtGUI1.0.0 || $(MKDIR) .tmp/anotherQtGUI1.0.0 |
+ $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/anotherQtGUI1.0.0/ && $(COPY_FILE) --parents mainwindow.h .tmp/anotherQtGUI1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp .tmp/anotherQtGUI1.0.0/ && $(COPY_FILE) --parents mainwindow.ui .tmp/anotherQtGUI1.0.0/ && (cd `dirname .tmp/anotherQtGUI1.0.0` && $(TAR) anotherQtGUI1.0.0.tar anotherQtGUI1.0.0 && $(COMPRESS) anotherQtGUI1.0.0.tar) && $(MOVE) `dirname .tmp/anotherQtGUI1.0.0`/anotherQtGUI1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/anotherQtGUI1.0.0 |
+ |
+ |
+clean:compiler_clean |
+ -$(DEL_FILE) $(OBJECTS) |
+ -$(DEL_FILE) *~ core *.core |
+ |
+ |
+####### Sub-libraries |
+ |
+distclean: clean |
+ -$(DEL_FILE) $(TARGET) |
+ -$(DEL_FILE) Makefile |
+ |
+ |
+check: first |
+ |
+mocclean: compiler_moc_header_clean compiler_moc_source_clean |
+ |
+mocables: compiler_moc_header_make_all compiler_moc_source_make_all |
+ |
+compiler_moc_header_make_all: moc_mainwindow.cpp |
+compiler_moc_header_clean: |
+ -$(DEL_FILE) moc_mainwindow.cpp |
+moc_mainwindow.cpp: mainwindow.h |
+ /usr/lib/i386-linux-gnu/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp |
+ |
+compiler_rcc_make_all: |
+compiler_rcc_clean: |
+compiler_image_collection_make_all: qmake_image_collection.cpp |
+compiler_image_collection_clean: |
+ -$(DEL_FILE) qmake_image_collection.cpp |
+compiler_moc_source_make_all: |
+compiler_moc_source_clean: |
+compiler_uic_make_all: ui_mainwindow.h |
+compiler_uic_clean: |
+ -$(DEL_FILE) ui_mainwindow.h |
+ui_mainwindow.h: mainwindow.ui |
+ /usr/lib/i386-linux-gnu/qt4/bin/uic mainwindow.ui -o ui_mainwindow.h |
+ |
+compiler_yacc_decl_make_all: |
+compiler_yacc_decl_clean: |
+compiler_yacc_impl_make_all: |
+compiler_yacc_impl_clean: |
+compiler_lex_make_all: |
+compiler_lex_clean: |
+compiler_clean: compiler_moc_header_clean compiler_uic_clean |
+ |
+####### Compile |
+ |
+main.o: main.cpp mainwindow.h |
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp |
+ |
+mainwindow.o: mainwindow.cpp mainwindow.h \ |
+ ui_mainwindow.h |
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp |
+ |
+moc_mainwindow.o: moc_mainwindow.cpp |
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp |
+ |
+####### Install |
+ |
+install: FORCE |
+ |
+uninstall: FORCE |
+ |
+FORCE: |
+ |
Index: Chapter 03/color_detector/mainwindow.h |
=================================================================== |
--- Chapter 03/color_detector/mainwindow.h (revision 4) |
+++ Chapter 03/color_detector/mainwindow.h (revision 5) |
@@ -23,8 +23,8 @@ |
#include <QColorDialog> |
//OpenCV |
-#include "cv.h" |
-#include "highgui.h" |
+#include <opencv/cv.h> |
+#include <opencv/highgui.h> |
//color detector, controller |
#include "colorDetectController.h" |
/trunk/Chapter 03/color_detector/colordetector.h |
---|
19,6 → 19,7 |
#define COLORDETECT |
#include <opencv2/core/core.hpp> |
#include <opencv2/imgproc/imgproc.hpp> |
class ColorDetector { |
/trunk/Chapter 03/colordetectorLab.cpp |
---|
15,7 → 15,8 |
Copyright (C) 2010-2011 Robert Laganiere, www.laganiere.name |
\*------------------------------------------------------------------------------------------*/ |
#include "colordetector.h" |
#include "color_detector/colordetector.h" |
#include <opencv2/imgproc/imgproc.hpp> |
cv::Mat ColorDetector::process(const cv::Mat &image) { |
/trunk/Chapter 04/objectfinder.cpp |
---|
18,8 → 18,8 |
#include <iostream> |
using namespace std; |
#include "cv.h" |
#include "highgui.h" |
#include <opencv/cv.h> |
#include <opencv/highgui.h> |
#include "histogram.h" |
#include "objectFinder.h" |
47,7 → 47,7 |
cv::imshow("Reference Hist",h.getHistogramImage(imageROI)); |
// Create the objectfinder |
ContentFinder finder; |
ObjectFinder finder; |
finder.setHistogram(hist); |
finder.setThreshold(-1.0f); |
/trunk/Chapter 04/imageComparator.h |
---|
18,8 → 18,8 |
#if !defined ICOMPARATOR |
#define ICOMPARATOR |
#include <opencv2\core\core.hpp> |
#include <opencv2\imgproc\imgproc.hpp> |
#include <opencv2/core/core.hpp> |
#include <opencv2/imgproc/imgproc.hpp> |
#include "colorhistogram.h" |
class ImageComparator { |
/trunk/Chapter 04/histograms.cpp |
---|
18,8 → 18,8 |
#include <iostream> |
using namespace std; |
#include "cv.h" |
#include "highgui.h" |
#include <opencv/cv.h> |
#include <opencv/highgui.h> |
#include "histogram.h" |
int main() |
79,11 → 79,11 |
cv::imshow("Stretched Histogram",h.getHistogramImage(str)); |
// Create an image inversion table |
uchar lookup[256]; |
cv::Mat lookup; |
for (int i=0; i<256; i++) { |
lookup[i]= 255-i; |
lookup.data[i]= 255-i; |
} |
// Apply lookup and display negative image |
/trunk/Chapter 04/colorhistogram.h |
---|
1,8 → 1,8 |
#if !defined COLHISTOGRAM |
#define COLHISTOGRAM |
#include <opencv2\core\core.hpp> |
#include <opencv2\imgproc\imgproc.hpp> |
#include <opencv2/core/core.hpp> |
#include <opencv2/imgproc/imgproc.hpp> |
class ColorHistogram { |
/trunk/Chapter 04/histogram.h |
---|
1,8 → 1,8 |
#if !defined HISTOGRAM |
#define HISTOGRAM |
#include <opencv2\core\core.hpp> |
#include <opencv2\imgproc\imgproc.hpp> |
#include <opencv2/core/core.hpp> |
#include <opencv2/imgproc/imgproc.hpp> |
class Histogram1D { |
/trunk/Chapter 04/objectFinder.h |
---|
1,8 → 1,8 |
#if !defined OFINDER |
#define OFINDER |
#include <opencv2\core\core.hpp> |
#include <opencv2\imgproc\imgproc.hpp> |
#include <opencv2/core/core.hpp> |
#include <opencv2/imgproc/imgproc.hpp> |
class ObjectFinder { |
/trunk/Chapter 04/retrieve.cpp |
---|
18,8 → 18,8 |
#include <iostream> |
using namespace std; |
#include <opencv2\core\core.hpp> |
#include <opencv2\highgui\highgui.hpp> |
#include <opencv2/core/core.hpp> |
#include <opencv2/highgui/highgui.hpp> |
#include "imageComparator.h" |
71,4 → 71,4 |
cv::waitKey(); |
return 0; |
} |
} |
/trunk/Chapter 04/finder.cpp |
---|
19,10 → 19,10 |
#include <vector> |
using namespace std; |
#include <opencv2\core\core.hpp> |
#include <opencv2\highgui\highgui.hpp> |
#include <opencv2\imgproc\imgproc.hpp> |
#include <opencv2\video\tracking.hpp> |
#include <opencv2/core/core.hpp> |
#include <opencv2/highgui/highgui.hpp> |
#include <opencv2/imgproc/imgproc.hpp> |
#include <opencv2/video/tracking.hpp> |
#include "objectFinder.h" |
#include "colorhistogram.h" |
45,7 → 45,7 |
// Get the Hue histogram |
int minSat=65; |
ColorHistogram hc; |
cv::MatND colorhist= hc.getHueHistogram(imageROI,minSat); |
cv::MatND colorhist= hc.getHueHistogram(imageROI); |
ObjectFinder finder; |
finder.setHistogram(colorhist); |
125,4 → 125,4 |
cv::waitKey(); |
return 0; |
} |
} |
/trunk/Chapter 07/blobs.cpp |
---|
32,7 → 32,7 |
cv::imshow("Binary Image",image); |
// Get the contours of the connected components |
std::vector<std::vector<cv::Point>> contours; |
std::vector<std::vector<cv::Point> > contours; |
cv::findContours(image, |
contours, // a vector of contours |
CV_RETR_EXTERNAL, // retrieve the external contours |
40,7 → 40,7 |
// Print contours' length |
std::cout << "Contours: " << contours.size() << std::endl; |
std::vector<std::vector<cv::Point>>::const_iterator itContours= contours.begin(); |
std::vector<std::vector<cv::Point> >::const_iterator itContours= contours.begin(); |
for ( ; itContours!=contours.end(); ++itContours) { |
std::cout << "Size: " << itContours->size() << std::endl; |
59,7 → 59,7 |
// Eliminate too short or too long contours |
int cmin= 100; // minimum contour length |
int cmax= 1000; // maximum contour length |
std::vector<std::vector<cv::Point>>::const_iterator itc= contours.begin(); |
std::vector<std::vector<cv::Point> >::const_iterator itc= contours.begin(); |
while (itc!=contours.end()) { |
if (itc->size() < cmin || itc->size() > cmax) |
166,4 → 166,4 |
cv::waitKey(); |
return 0; |
} |
} |
/trunk/Chapter 08/tracking.cpp |
---|
105,4 → 105,4 |
cv::waitKey(); |
return 0; |
} |
} |
/trunk/. |
---|
Property changes: |
Added: svn:ignore |
## -0,0 +1,5 ## |
+Chapter 02 - addImages |
+ |
+Chapter 01 - main1 |
+ |
+Chapter 01 - main2 |