From ecbff9208504e853c7ce98950f98c416c5a19bf8 Mon Sep 17 00:00:00 2001 From: Brad Campbell Date: Fri, 16 Aug 2013 16:45:45 -0400 Subject: [PATCH] Update build process 1. Now compiles successfully on Ubuntu. This is directly related to Issue #3. 2. Now supports `make install`. 3. Added .gitignore for built output. --- .gitignore | 5 +++++ CutyCapt.hpp | 2 ++ CutyCapt.pro | 2 ++ 3 files changed, 9 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5cf9e5c --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +CutyCapt +CutyCapt.o +Makefile +moc_CutyCapt.cpp +moc_CutyCapt.o diff --git a/CutyCapt.hpp b/CutyCapt.hpp index 15f3864..41d96ea 100755 --- a/CutyCapt.hpp +++ b/CutyCapt.hpp @@ -1,4 +1,6 @@ #include +#include +#include #if QT_VERSION >= 0x050000 #include diff --git a/CutyCapt.pro b/CutyCapt.pro index 10dda79..444a93e 100755 --- a/CutyCapt.pro +++ b/CutyCapt.pro @@ -2,6 +2,8 @@ QT += webkit svg network SOURCES = CutyCapt.cpp HEADERS = CutyCapt.hpp CONFIG += qt console +target.path = /usr/local/bin/ +INSTALLS += target greaterThan(QT_MAJOR_VERSION, 4): { QT += webkitwidgets