summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-15 08:52:25 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-15 08:52:25 +0200
commit864910a1fb753629d2852a91ffae4ebba374358c (patch)
tree7fbee6d32dd5312e592ab3a41219a7daa9cf56ae /facetracknoir
parenta73f49c89299ec69dda73e3e7a16cebe76da373e (diff)
fix trackers for qt5
Assorted changes: - make filenames unique, since automoc made a boo-boo - adjust include paths, "QtGui" -> "" - use std::shared_ptr in c++11 mode (thanks Patrick!) - make class names unique, automoc sucks, but saves typing - add a dummy class in one file since moronic automoc thinks every target contains Q_OBJECTS!!!
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/qt-moc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/facetracknoir/qt-moc.h b/facetracknoir/qt-moc.h
new file mode 100644
index 00000000..467370f9
--- /dev/null
+++ b/facetracknoir/qt-moc.h
@@ -0,0 +1,10 @@
+#include <QObject>
+
+// this file exists only such that cmake qt automoc is appeased
+
+class AutomocMe {
+ Q_OBJECT
+private:
+ virtual void foo() = 0;
+ AutomocMe() = delete;
+};