diff options
author | Nash <nash@bsd-noobz.com> | 2014-08-30 21:08:11 +0700 |
---|---|---|
committer | Nash <nash@bsd-noobz.com> | 2014-08-30 21:08:11 +0700 |
commit | 6605643a3ffb384acd91fa3693d0965999db8ec5 (patch) | |
tree | e8f71581020b5fba7dba06d4c2a76fd71e86867d | |
parent | b96d608a8bc5ede424029586d200ac317cc4da0d (diff) |
Added OpenCV-Qt code sample
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | assets/README.md | 6 | ||||
-rw-r--r-- | assets/flughahn.jpg | bin | 0 -> 50834 bytes | |||
-rw-r--r-- | opencv-qt-integration-1/.qmake.stash | 32 | ||||
-rw-r--r-- | opencv-qt-integration-1/ImageViewer.cpp | 28 | ||||
-rw-r--r-- | opencv-qt-integration-1/ImageViewer.h | 23 | ||||
-rw-r--r-- | opencv-qt-integration-1/ImageViewer.pro | 10 | ||||
-rw-r--r-- | opencv-qt-integration-1/Makefile | 684 | ||||
-rw-r--r-- | opencv-qt-integration-1/README.md | 2 | ||||
-rw-r--r-- | opencv-qt-integration-1/main.cpp | 10 | ||||
-rw-r--r-- | opencv-qt-integration-1/python/ImageViewer.py | 45 |
11 files changed, 841 insertions, 0 deletions
@@ -6,6 +6,7 @@ *.exe *.o *.so +*.app # Packages # ############ diff --git a/assets/README.md b/assets/README.md new file mode 100644 index 0000000..c9b64a4 --- /dev/null +++ b/assets/README.md @@ -0,0 +1,6 @@ +File Credits +============ + +This directory contains the images and videos used by the OpenCV examples in this repository. All files are in public domain or licensed under Creative Commons license. + + - [flughahn.jpg](http://commons.wikimedia.org/wiki/File:Flughahn.jpg#mediaviewer/File:Flughahn.jpg) by [Beckmannjan](//de.wikipedia.org/wiki/Benutzer:Beckmannjan) via Wikimedia Commons. diff --git a/assets/flughahn.jpg b/assets/flughahn.jpg Binary files differnew file mode 100644 index 0000000..047b760 --- /dev/null +++ b/assets/flughahn.jpg diff --git a/opencv-qt-integration-1/.qmake.stash b/opencv-qt-integration-1/.qmake.stash new file mode 100644 index 0000000..6a0507e --- /dev/null +++ b/opencv-qt-integration-1/.qmake.stash @@ -0,0 +1,32 @@ +QMAKE_XCODE_DEVELOPER_PATH = /Applications/Xcode.app/Contents/Developer +QMAKE_XCODE_VERSION = 5.1.1 +QMAKE_MAC_SDK.macosx10.8.path = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk +QMAKE_MAC_SDK.macx-clang.macosx10.8.QMAKE_CC = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang +QMAKE_MAC_SDK.macx-clang.macosx10.8.QMAKE_CXX = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ +QMAKE_MAC_SDK.macx-clang.macosx10.8.QMAKE_FIX_RPATH = \ + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool \ + -id +QMAKE_MAC_SDK.macx-clang.macosx10.8.QMAKE_AR = \ + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar \ + cq +QMAKE_MAC_SDK.macx-clang.macosx10.8.QMAKE_RANLIB = \ + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib \ + -s +QMAKE_MAC_SDK.macx-clang.macosx10.8.QMAKE_LINK = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ +QMAKE_MAC_SDK.macx-clang.macosx10.8.QMAKE_LINK_SHLIB = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ +QMAKE_MAC_SDK.macosx10.8.platform_name = macosx +QMAKE_MAC_SDK.macosx.path = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk +QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_CC = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang +QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_CXX = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ +QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_FIX_RPATH = \ + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool \ + -id +QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_AR = \ + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar \ + cq +QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_RANLIB = \ + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib \ + -s +QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_LINK = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ +QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_LINK_SHLIB = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ +QMAKE_MAC_SDK.macosx.platform_name = macosx diff --git a/opencv-qt-integration-1/ImageViewer.cpp b/opencv-qt-integration-1/ImageViewer.cpp new file mode 100644 index 0000000..780f221 --- /dev/null +++ b/opencv-qt-integration-1/ImageViewer.cpp @@ -0,0 +1,28 @@ +#include <QtWidgets> +#include <opencv2/imgproc/imgproc.hpp> +#include <opencv2/highgui/highgui.hpp> +#include "ImageViewer.h" + +ImageViewer::ImageViewer() +{ + img = cv::imread("../assets/flughahn.jpg"); + + imageLabel = new QLabel(); + if (img.empty()) { + imageLabel->setText("Cannot load the input image!"); + } else { + cv::cvtColor(img, img, cv::COLOR_BGR2RGB); + QImage _img(img.data, img.cols, img.rows, QImage::Format_RGB888); + imageLabel->setPixmap(QPixmap::fromImage(_img)); + } + + quitButton = new QPushButton("Quit"); + connect(quitButton, SIGNAL(clicked()), this, SLOT(close())); + + mainLayout = new QVBoxLayout(); + mainLayout->addWidget(imageLabel); + mainLayout->addWidget(quitButton); + + setLayout(mainLayout); + setWindowTitle("OpenCV - Qt Integration"); +} diff --git a/opencv-qt-integration-1/ImageViewer.h b/opencv-qt-integration-1/ImageViewer.h new file mode 100644 index 0000000..e07c333 --- /dev/null +++ b/opencv-qt-integration-1/ImageViewer.h @@ -0,0 +1,23 @@ +#ifndef IMAGEVIEWER_H +#define IMAGEVIEWER_H + +#include <opencv2/core/core.hpp> +#include <QWidget> + +class QLabel; +class QVBoxLayout; +class QPushButton; + +class ImageViewer : public QWidget +{ +public: + ImageViewer(); + +private: + cv::Mat img; + QLabel *imageLabel; + QVBoxLayout *mainLayout; + QPushButton *quitButton; +}; + +#endif diff --git a/opencv-qt-integration-1/ImageViewer.pro b/opencv-qt-integration-1/ImageViewer.pro new file mode 100644 index 0000000..0614934 --- /dev/null +++ b/opencv-qt-integration-1/ImageViewer.pro @@ -0,0 +1,10 @@ +TEMPLATE = app +TARGET = ImageViewer +INCLUDEPATH += . +QT += widgets + +# Input +HEADERS += ImageViewer.h +SOURCES += ImageViewer.cpp main.cpp +INCLUDEPATH += /usr/local/include +LIBS += -L/usr/local/lib -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_imgcodecs diff --git a/opencv-qt-integration-1/Makefile b/opencv-qt-integration-1/Makefile new file mode 100644 index 0000000..51daf61 --- /dev/null +++ b/opencv-qt-integration-1/Makefile @@ -0,0 +1,684 @@ +############################################################################# +# Makefile for building: ImageViewer.app/Contents/MacOS/ImageViewer +# Generated by qmake (3.0) (Qt 5.3.0) +# Project: ImageViewer.pro +# Template: app +# Command: /Users/nash/Qt5.3.0/5.3/clang_64/bin/qmake -o Makefile ImageViewer.pro +############################################################################# + +MAKEFILE = Makefile + +####### Compiler, tools and options + +CC = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang +CXX = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ +DEFINES = -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB +CFLAGS = -pipe -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.9 -Wall -W -fPIE $(DEFINES) +CXXFLAGS = -pipe -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.9 -Wall -W -fPIE $(DEFINES) +INCPATH = -I../../../../Qt5.3.0/5.3/clang_64/mkspecs/macx-clang -I. -I. -I/usr/local/include -I../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers -I../../../../Qt5.3.0/5.3/clang_64/lib/QtGui.framework/Versions/5/Headers -I../../../../Qt5.3.0/5.3/clang_64/lib/QtCore.framework/Versions/5/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AGL.framework/Headers -F/Users/nash/Qt5.3.0/5.3/clang_64/lib +LINK = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ +LFLAGS = -headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.9 +LIBS = $(SUBLIBS) -F/Users/nash/Qt5.3.0/5.3/clang_64/lib -L/usr/local/lib -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_imgcodecs -framework QtWidgets -framework QtGui -framework QtCore -framework OpenGL -framework AGL +AR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar cq +RANLIB = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib -s +QMAKE = /Users/nash/Qt5.3.0/5.3/clang_64/bin/qmake +TAR = tar -cf +COMPRESS = gzip -9f +COPY = cp -f +SED = sed +COPY_FILE = cp -f +COPY_DIR = cp -f -R +STRIP = +INSTALL_FILE = $(COPY_FILE) +INSTALL_DIR = $(COPY_DIR) +INSTALL_PROGRAM = $(COPY_FILE) +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 = ImageViewer.cpp \ + main.cpp +OBJECTS = ImageViewer.o \ + main.o +DIST = ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/spec_pre.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/qdevice.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/device_config.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/shell-unix.conf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/unix.conf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/mac.conf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/macx.conf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/gcc-base.conf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/gcc-base-mac.conf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/clang.conf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/clang-mac.conf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/qconfig.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_bluetooth.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_bluetooth_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_bootstrap_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_clucene_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_concurrent.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_concurrent_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_core.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_core_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_dbus.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_dbus_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_declarative.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_declarative_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_designer.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_designer_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_designercomponents_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_enginio.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_enginio_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_gui.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_gui_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_help.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_help_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_macextras.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_macextras_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_multimedia.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_multimedia_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_multimediawidgets.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_multimediawidgets_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_network.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_network_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_nfc.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_nfc_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_opengl.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_opengl_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_openglextensions.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_openglextensions_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_platformsupport_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_positioning.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_positioning_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_printsupport.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_printsupport_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_qml.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_qml_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_qmldevtools_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_qmltest.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_qmltest_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_quick.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_quick_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_quickparticles_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_quickwidgets.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_quickwidgets_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_script.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_script_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_scripttools.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_scripttools_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_sensors.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_sensors_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_serialport.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_serialport_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_sql.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_sql_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_svg.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_svg_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_testlib.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_testlib_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_uitools.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_uitools_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_webkit.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_webkit_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_webkitwidgets.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_webkitwidgets_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_websockets.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_websockets_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_widgets.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_widgets_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_xml.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_xml_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_xmlpatterns.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_xmlpatterns_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/qt_functions.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/qt_config.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/macx-clang/qmake.conf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/spec_post.prf \ + .qmake.stash \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/exclusive_builds.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/default_pre.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/mac/default_pre.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/resolve_config.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/default_post.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/mac/sdk.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/mac/default_post.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/mac/objective_c.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/warn_on.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/qt.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/resources.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/moc.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/unix/opengl.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/uic.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/unix/thread.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/mac/rez.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/testcase_targets.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/exceptions.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/yacc.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/lex.prf \ + ImageViewer.pro ImageViewer.cpp \ + main.cpp +QMAKE_TARGET = ImageViewer +DESTDIR = #avoid trailing-slash linebreak +TARGET = ImageViewer.app/Contents/MacOS/ImageViewer + +####### Custom Compiler Variables +QMAKE_COMP_QMAKE_OBJECTIVE_CFLAGS = -pipe \ + -O2 \ + -isysroot \ + /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk \ + -mmacosx-version-min=10.9 \ + -Wall \ + -W + + + +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 ImageViewer.app/Contents/PkgInfo ImageViewer.app/Contents/Resources/empty.lproj ImageViewer.app/Contents/Info.plist $(TARGET) + +$(TARGET): $(OBJECTS) + @test -d ImageViewer.app/Contents/MacOS/ || mkdir -p ImageViewer.app/Contents/MacOS/ + $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) + +Makefile: ImageViewer.pro ../../../../Qt5.3.0/5.3/clang_64/mkspecs/macx-clang/qmake.conf ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/spec_pre.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/qdevice.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/device_config.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/shell-unix.conf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/unix.conf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/mac.conf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/macx.conf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/gcc-base.conf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/gcc-base-mac.conf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/clang.conf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/clang-mac.conf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/qconfig.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_bluetooth.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_bluetooth_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_bootstrap_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_clucene_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_concurrent.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_concurrent_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_core.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_core_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_dbus.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_dbus_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_declarative.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_declarative_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_designer.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_designer_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_designercomponents_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_enginio.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_enginio_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_gui.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_gui_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_help.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_help_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_macextras.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_macextras_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_multimedia.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_multimedia_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_multimediawidgets.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_multimediawidgets_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_network.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_network_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_nfc.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_nfc_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_opengl.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_opengl_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_openglextensions.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_openglextensions_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_platformsupport_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_positioning.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_positioning_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_printsupport.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_printsupport_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_qml.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_qml_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_qmldevtools_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_qmltest.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_qmltest_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_quick.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_quick_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_quickparticles_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_quickwidgets.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_quickwidgets_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_script.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_script_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_scripttools.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_scripttools_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_sensors.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_sensors_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_serialport.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_serialport_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_sql.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_sql_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_svg.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_svg_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_testlib.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_testlib_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_uitools.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_uitools_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_webkit.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_webkit_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_webkitwidgets.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_webkitwidgets_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_websockets.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_websockets_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_widgets.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_widgets_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_xml.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_xml_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_xmlpatterns.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_xmlpatterns_private.pri \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/qt_functions.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/qt_config.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/macx-clang/qmake.conf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/spec_post.prf \ + .qmake.stash \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/exclusive_builds.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/default_pre.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/mac/default_pre.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/resolve_config.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/default_post.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/mac/sdk.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/mac/default_post.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/mac/objective_c.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/warn_on.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/qt.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/resources.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/moc.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/unix/opengl.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/uic.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/unix/thread.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/mac/rez.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/testcase_targets.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/exceptions.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/yacc.prf \ + ../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/lex.prf \ + ImageViewer.pro \ + /Users/nash/Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/QtWidgets.prl \ + /Users/nash/Qt5.3.0/5.3/clang_64/lib/QtGui.framework/QtGui.prl \ + /Users/nash/Qt5.3.0/5.3/clang_64/lib/QtCore.framework/QtCore.prl + $(QMAKE) -o Makefile ImageViewer.pro +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/spec_pre.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/qdevice.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/device_config.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/shell-unix.conf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/unix.conf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/mac.conf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/macx.conf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/gcc-base.conf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/gcc-base-mac.conf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/clang.conf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/common/clang-mac.conf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/qconfig.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_bluetooth.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_bluetooth_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_bootstrap_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_clucene_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_concurrent.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_concurrent_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_core.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_core_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_dbus.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_dbus_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_declarative.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_declarative_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_designer.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_designer_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_designercomponents_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_enginio.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_enginio_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_gui.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_gui_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_help.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_help_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_macextras.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_macextras_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_multimedia.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_multimedia_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_multimediawidgets.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_multimediawidgets_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_network.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_network_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_nfc.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_nfc_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_opengl.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_opengl_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_openglextensions.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_openglextensions_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_platformsupport_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_positioning.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_positioning_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_printsupport.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_printsupport_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_qml.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_qml_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_qmldevtools_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_qmltest.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_qmltest_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_quick.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_quick_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_quickparticles_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_quickwidgets.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_quickwidgets_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_script.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_script_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_scripttools.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_scripttools_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_sensors.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_sensors_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_serialport.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_serialport_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_sql.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_sql_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_svg.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_svg_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_testlib.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_testlib_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_uitools.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_uitools_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_webkit.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_webkit_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_webkitwidgets.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_webkitwidgets_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_websockets.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_websockets_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_widgets.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_widgets_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_xml.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_xml_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_xmlpatterns.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/modules/qt_lib_xmlpatterns_private.pri: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/qt_functions.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/qt_config.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/macx-clang/qmake.conf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/spec_post.prf: +.qmake.stash: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/exclusive_builds.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/default_pre.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/mac/default_pre.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/resolve_config.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/default_post.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/mac/sdk.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/mac/default_post.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/mac/objective_c.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/warn_on.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/qt.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/resources.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/moc.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/unix/opengl.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/uic.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/unix/thread.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/mac/rez.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/testcase_targets.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/exceptions.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/yacc.prf: +../../../../Qt5.3.0/5.3/clang_64/mkspecs/features/lex.prf: +ImageViewer.pro: +/Users/nash/Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/QtWidgets.prl: +/Users/nash/Qt5.3.0/5.3/clang_64/lib/QtGui.framework/QtGui.prl: +/Users/nash/Qt5.3.0/5.3/clang_64/lib/QtCore.framework/QtCore.prl: +qmake: FORCE + @$(QMAKE) -o Makefile ImageViewer.pro + +qmake_all: FORCE + +ImageViewer.app/Contents/PkgInfo: + @test -d ImageViewer.app/Contents || mkdir -p ImageViewer.app/Contents + @$(DEL_FILE) ImageViewer.app/Contents/PkgInfo + @echo "APPL????" >ImageViewer.app/Contents/PkgInfo +ImageViewer.app/Contents/Resources/empty.lproj: + @test -d ImageViewer.app/Contents/Resources || mkdir -p ImageViewer.app/Contents/Resources + @touch ImageViewer.app/Contents/Resources/empty.lproj + +ImageViewer.app/Contents/Info.plist: + @test -d ImageViewer.app/Contents || mkdir -p ImageViewer.app/Contents + @$(DEL_FILE) ImageViewer.app/Contents/Info.plist + @sed -e "s,@SHORT_VERSION@,1.0,g" -e "s,@TYPEINFO@,????,g" -e "s,@ICON@,,g" -e "s,@BUNDLEIDENTIFIER@,com.exampleImageViewer,g" -e "s,@EXECUTABLE@,ImageViewer,g" -e "s,@TYPEINFO@,????,g" ../../../../Qt5.3.0/5.3/clang_64/mkspecs/macx-clang/Info.plist.app >ImageViewer.app/Contents/Info.plist +dist: + @test -d .tmp/ImageViewer1.0.0 || mkdir -p .tmp/ImageViewer1.0.0 + $(COPY_FILE) --parents $(DIST) .tmp/ImageViewer1.0.0/ && $(COPY_FILE) --parents ImageViewer.h .tmp/ImageViewer1.0.0/ && $(COPY_FILE) --parents ImageViewer.cpp main.cpp .tmp/ImageViewer1.0.0/ && (cd `dirname .tmp/ImageViewer1.0.0` && $(TAR) ImageViewer1.0.0.tar ImageViewer1.0.0 && $(COMPRESS) ImageViewer1.0.0.tar) && $(MOVE) `dirname .tmp/ImageViewer1.0.0`/ImageViewer1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/ImageViewer1.0.0 + + +clean:compiler_clean + -$(DEL_FILE) $(OBJECTS) + -$(DEL_FILE) *~ core *.core + + +distclean: clean + -$(DEL_FILE) -r ImageViewer.app + -$(DEL_FILE) Makefile + + +####### Sub-libraries + +mocclean: compiler_moc_header_clean compiler_moc_source_clean + +mocables: compiler_moc_header_make_all compiler_moc_source_make_all + +check: first + +compiler_objective_c_make_all: +compiler_objective_c_clean: +compiler_rcc_make_all: +compiler_rcc_clean: +compiler_moc_header_make_all: +compiler_moc_header_clean: +compiler_moc_source_make_all: +compiler_moc_source_clean: +compiler_uic_make_all: +compiler_uic_clean: +compiler_rez_source_make_all: +compiler_rez_source_clean: +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: + +####### Compile + +ImageViewer.o: ImageViewer.cpp ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/QtWidgets \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qaccessiblewidget.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qcolordialog.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qdialog.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qerrormessage.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qfiledialog.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qfilesystemmodel.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qfontdialog.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qinputdialog.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qmessagebox.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qprogressdialog.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qwizard.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qgraphicseffect.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qgraphicsanchorlayout.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qgraphicsgridlayout.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qgraphicsitem.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qgraphicsitemanimation.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qgraphicslayout.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qgraphicslayoutitem.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qgraphicslinearlayout.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qgraphicsproxywidget.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qgraphicsscene.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qgraphicssceneevent.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qgraphicstransform.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qgraphicsview.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qgraphicswidget.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qabstractitemdelegate.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qabstractitemview.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qcolumnview.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qdatawidgetmapper.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qdirmodel.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qfileiconprovider.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qheaderview.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qitemdelegate.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qitemeditorfactory.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qlistview.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qlistwidget.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qstyleditemdelegate.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qtableview.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qtablewidget.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qtreeview.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qtreewidget.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qtreewidgetitemiterator.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qaction.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qactiongroup.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qapplication.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qboxlayout.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qdesktopwidget.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qformlayout.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qgesture.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qgesturerecognizer.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qgridlayout.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qlayout.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qlayoutitem.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qshortcut.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qsizepolicy.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qstackedlayout.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qtooltip.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qwhatsthis.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qwidget.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qwidgetaction.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qkeyeventtransition.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qmouseeventtransition.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qcommonstyle.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qdrawutil.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qproxystyle.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qstyle.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qstylefactory.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qstyleoption.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qstylepainter.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qstyleplugin.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qcolormap.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qcompleter.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qscroller.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qscrollerproperties.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qsystemtrayicon.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qundogroup.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qundostack.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qundoview.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qabstractbutton.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qabstractscrollarea.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qabstractslider.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qabstractspinbox.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qbuttongroup.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qcalendarwidget.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qcheckbox.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qcombobox.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qcommandlinkbutton.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qdatetimeedit.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qdial.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qdialogbuttonbox.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qdockwidget.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qfocusframe.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qfontcombobox.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qframe.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qgroupbox.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qkeysequenceedit.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qlabel.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qlcdnumber.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qlineedit.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qmainwindow.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qmdiarea.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qmdisubwindow.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qmenu.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qmenubar.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qplaintextedit.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qprogressbar.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qpushbutton.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qradiobutton.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qrubberband.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qscrollarea.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qscrollbar.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qsizegrip.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qslider.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qspinbox.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qsplashscreen.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qsplitter.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qstackedwidget.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qstatusbar.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qtabbar.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qtabwidget.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qtextbrowser.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qtextedit.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qtoolbar.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qtoolbox.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qtoolbutton.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qtwidgetsversion.h \ + /usr/local/include/opencv2/imgproc/imgproc.hpp \ + /usr/local/include/opencv2/imgproc.hpp \ + /usr/local/include/opencv2/core.hpp \ + /usr/local/include/opencv2/core/cvdef.h \ + /usr/local/include/opencv2/core/version.hpp \ + /usr/local/include/opencv2/core/base.hpp \ + /usr/local/include/opencv2/core/cvstd.hpp \ + /usr/local/include/opencv2/core/ptr.inl.hpp \ + /usr/local/include/opencv2/core/traits.hpp \ + /usr/local/include/opencv2/core/matx.hpp \ + /usr/local/include/opencv2/core/types.hpp \ + /usr/local/include/opencv2/core/mat.hpp \ + /usr/local/include/opencv2/core/bufferpool.hpp \ + /usr/local/include/opencv2/core/mat.inl.hpp \ + /usr/local/include/opencv2/core/persistence.hpp \ + /usr/local/include/opencv2/core/operations.hpp \ + /usr/local/include/opencv2/core/cvstd.inl.hpp \ + /usr/local/include/opencv2/core/utility.hpp \ + /usr/local/include/opencv2/core/optim.hpp \ + /usr/local/include/opencv2/highgui/highgui.hpp \ + /usr/local/include/opencv2/highgui.hpp \ + /usr/local/include/opencv2/imgcodecs.hpp \ + /usr/local/include/opencv2/videoio.hpp \ + ImageViewer.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/QWidget + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ImageViewer.o ImageViewer.cpp + +main.o: main.cpp ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/QApplication \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qapplication.h \ + ImageViewer.h \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/QWidget \ + ../../../../Qt5.3.0/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/qwidget.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp + +####### Install + +install: FORCE + +uninstall: FORCE + +FORCE: + diff --git a/opencv-qt-integration-1/README.md b/opencv-qt-integration-1/README.md new file mode 100644 index 0000000..2c9aa5b --- /dev/null +++ b/opencv-qt-integration-1/README.md @@ -0,0 +1,2 @@ +OpenCV - Qt Integration +======================= diff --git a/opencv-qt-integration-1/main.cpp b/opencv-qt-integration-1/main.cpp new file mode 100644 index 0000000..0993f8c --- /dev/null +++ b/opencv-qt-integration-1/main.cpp @@ -0,0 +1,10 @@ +#include <QApplication> +#include "ImageViewer.h" + +int main(int argc, char** argv) +{ + QApplication app(argc, argv); + ImageViewer viewer; + viewer.show(); + app.exec(); +} diff --git a/opencv-qt-integration-1/python/ImageViewer.py b/opencv-qt-integration-1/python/ImageViewer.py new file mode 100644 index 0000000..1525f21 --- /dev/null +++ b/opencv-qt-integration-1/python/ImageViewer.py @@ -0,0 +1,45 @@ +#!/usr/bin/env python +# encoding: utf-8 + +import os +import sys + +try: + from PyQt5.QtCore import * + from PyQt5.QtGui import * + from PyQt5.QtWidgets import * + import cv2 +except ImportError: + print("Please install the required packages.") + sys.exit() + +class ImageViewer(QWidget): + + def __init__(self): + QWidget.__init__(self) + self.filename = "../../assets/flughahn.jpg" + self.setup_ui() + + def setup_ui(self): + img = cv2.imread(self.filename) + self.image_label = QLabel() + if img is None: + self.image_label.setText("Cannot load the input image.") + else: + img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) + img_ = QImage(img.data, img.shape[1], img.shape[0], QImage.Format_RGB888) + self.image_label.setPixmap(QPixmap.fromImage(img_)) + self.quit_button = QPushButton("Quit") + self.quit_button.clicked.connect(self.close) + self.main_layout = QVBoxLayout() + self.main_layout.addWidget(self.image_label) + self.main_layout.addWidget(self.quit_button) + self.setLayout(self.main_layout) + self.setWindowTitle("OpenCV - Qt Integration") + + +if __name__ == "__main__": + app = QApplication(sys.argv) + viewer = ImageViewer() + viewer.show() + app.exec_() |