aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2012-12-29 18:35:33 -0500
committerMorten Johan Sørvig <morten.sorvig@digia.com>2013-01-02 08:09:51 +0100
commit4ef2e076e16836031216bc5f7de31726b501f0dc (patch)
tree3de58992377ca46ebd7f6c47f381fdc87bfbb893 /examples
parent628bacf30d87e2744321b87ff28e5a47c0071ea1 (diff)
Provide compatibility with both Qt 4 and Qt 5.
This mostly only requires header changes. Classes are also now forward declared wherever possible. Change-Id: I0ba19e2e1364b475280aebe93185b71afd2af1e2 Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/macunifiedtoolbar/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/macunifiedtoolbar/main.cpp b/examples/macunifiedtoolbar/main.cpp
index f39720b..417792a 100644
--- a/examples/macunifiedtoolbar/main.cpp
+++ b/examples/macunifiedtoolbar/main.cpp
@@ -41,6 +41,7 @@
#include "qtmacunifiedtoolbar.h"
#include <QApplication>
+#include <QWidget>
int main(int argc, char **argv)
{