From a0aad0b1b2e2222472ea5030b47785d402ebfac6 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 18 Apr 2012 15:56:26 +0200 Subject: Add a functionality test for DirectFB to ensure it compiles. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- config.tests/unix/directfb/directfb.pro | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 config.tests/unix/directfb/directfb.pro (limited to 'config.tests/unix/directfb/directfb.pro') diff --git a/config.tests/unix/directfb/directfb.pro b/config.tests/unix/directfb/directfb.pro new file mode 100644 index 0000000000..958ced7bea --- /dev/null +++ b/config.tests/unix/directfb/directfb.pro @@ -0,0 +1,3 @@ +SOURCES = directfb.cpp +CONFIG -= qt +mac:CONFIG -= app_bundle -- cgit v1.2.3