path: root/config.tests/unix/directfb/
diff options
authorThiago Macieira <>2012-04-18 15:56:26 +0200
committerQt by Nokia <>2012-04-19 11:07:25 +0200
commita0aad0b1b2e2222472ea5030b47785d402ebfac6 (patch)
treec08a0a4a265e4da1b376fd10d15e7132643e3765 /config.tests/unix/directfb/
parent197aa9f67fadc7218c118dcafb4dc4154ce2502b (diff)
Add a functionality test for DirectFB to ensure it compiles.
Some versions of the DirectFB headers are unclean and will cause Qt compilation failures. So blacklist those versions. Version 1.5.3 (present in Fedora 16) is known to be buggy and gets disabled by this patch. The compile error was: qurlquery.h:169:5: error: ‘typeof’ was not declared in this scope (qplatformcursor_qpa.h includes qevent.h which includes qurl.h which includes that) The error comes from the Q_FOREACH expansion. Note that Q_FOREACH uses __typeof__, so it's supposed to be safe, unless someone ill-advised goes and defines the GCC "safe" macro (double underscores on both sides) to something else. Change-Id: Ida41ee3b3c2fcba86a7e12182e7055123166693b Reviewed-by: Oswald Buddenhagen <>
Diffstat (limited to 'config.tests/unix/directfb/')
1 files changed, 3 insertions, 0 deletions
diff --git a/config.tests/unix/directfb/ b/config.tests/unix/directfb/
new file mode 100644
index 0000000000..958ced7bea
--- /dev/null
+++ b/config.tests/unix/directfb/
@@ -0,0 +1,3 @@
+SOURCES = directfb.cpp
+CONFIG -= qt
+mac:CONFIG -= app_bundle