summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2012-02-07 20:55:35 +0200
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2012-02-07 20:56:14 +0200
commit9bce0cf9e5fab59eb780c3bdbc9256fea3f31efb (patch)
treed5efd293a6429e65a49968cb24cc524364f8ad01
parentb2b5259da306f61605e8d4e5da574fc7b24f12a9 (diff)
Fix some problematic moc includes to work properly with cmake's automoc
-rw-r--r--examples/qmlplayer/player.cpp2
-rw-r--r--examples/recorder/main.cpp2
-rw-r--r--examples/voip/main.cpp2
3 files changed, 4 insertions, 2 deletions
diff --git a/examples/qmlplayer/player.cpp b/examples/qmlplayer/player.cpp
index a459a4d..68f3c19 100644
--- a/examples/qmlplayer/player.cpp
+++ b/examples/qmlplayer/player.cpp
@@ -103,3 +103,5 @@ void Player::onBusMessage(const QGst::MessagePtr & message)
break;
}
}
+
+#include "moc_player.cpp"
diff --git a/examples/recorder/main.cpp b/examples/recorder/main.cpp
index 66c31a4..3edcc79 100644
--- a/examples/recorder/main.cpp
+++ b/examples/recorder/main.cpp
@@ -319,4 +319,4 @@ int main(int argc, char *argv[])
return app.exec();
}
-#include "recorder.moc"
+#include "main.moc"
diff --git a/examples/voip/main.cpp b/examples/voip/main.cpp
index 77f2f3e..05088ab 100644
--- a/examples/voip/main.cpp
+++ b/examples/voip/main.cpp
@@ -287,4 +287,4 @@ int main(int argc, char *argv[])
return app.exec();
}
-#include "voipexample.moc"
+#include "main.moc"