summaryrefslogtreecommitdiffstats
path: root/qmake/examples/precompile/myobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/examples/precompile/myobject.cpp')
-rw-r--r--qmake/examples/precompile/myobject.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/qmake/examples/precompile/myobject.cpp b/qmake/examples/precompile/myobject.cpp
new file mode 100644
index 0000000..4f1d1d8
--- /dev/null
+++ b/qmake/examples/precompile/myobject.cpp
@@ -0,0 +1,14 @@
+#include <iostream>
+#include <qobject.h>
+#include "myobject.h"
+
+MyObject::MyObject()
+ : QObject()
+{
+ std::cout << "MyObject::MyObject()\n";
+}
+
+MyObject::~MyObject()
+{
+ qDebug("MyObject::~MyObject()");
+}