It brings the 'quick' back into 'quick response'!
Objective-C C++ Logos
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
QuickQR.xcworkspace
Tweak
layout/DEBIAN
theos @ 9c43891
.gitignore
.gitmodules
LICENSE
Makefile
README.md

README.md

QuickQR

This project integrates a QR code reader into Apple's Camera application. It brings the 'quick' back into 'quick response'!

For more information, read the blog post.

The project uses ZXing to read QR codes, and Theos as its build system.

Getting Started

Prequisites

  • Xcode 4.6, which includes the iOS 6.1 SDK
  • A jailbroken device running iOS 5 or later

Building

The first step to build the project is to clone the repository and initialize all of its submodules:

git clone git://github.com/conradev/QuickQR.git
cd QuickQR
git submodule update --init

The next step is to build the C++ port of ZXing

cd Tweak/zxing/cpp
xcodebuild -project ios.xcodeproj -target zxing -sdk iphoneos6.1 -configuration Release -arch armv7 -arch armv7s OTHER_CPLUSPLUSFLAGS="-Wno-unused-private-field"
cd ../../..

To build the project, you need only run

make

Installing

To install this on a jailbroken device, some additional tools are needed.

The first tool is ldid, which is used for fakesigning binaries. Ryan Petrich has a build on his Github mirror:

curl -O http://cloud.github.com/downloads/rpetrich/ldid/ldid.zip
unzip ldid.zip
mv ldid theos/bin/
rm ldid.zip

To build a Debian package, dpkg is required. You can install it from Homebrew:

brew install dpkg

To build a package in the project directory, you can run:

make package

and to automatically install this package on your jailbroken device (over SSH), you can run:

make package install THEOS_DEVICE_IP=xxx.xxx.xxx.xxx

License

QuickQR is available under the MIT license. See the LICENSE file for more info.