diff options
author | Tor Arne Vestbø <tor.arne.vestbo@nokia.com> | 2010-10-15 13:57:57 (GMT) |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@nokia.com> | 2010-10-18 09:38:35 (GMT) |
commit | 8033d331b0e96b52b01f6e918ba61812998c8b85 (patch) | |
tree | bd4bdc18a815de55ff07bb800380cddafdffd430 /tests/auto/moc | |
parent | 28dd8ee71bdb4b69d86ea85ef18afc47cc7f2853 (diff) | |
download | Qt-8033d331b0e96b52b01f6e918ba61812998c8b85.zip Qt-8033d331b0e96b52b01f6e918ba61812998c8b85.tar.gz Qt-8033d331b0e96b52b01f6e918ba61812998c8b85.tar.bz2 |
tst_moc: Include the right files for Clang and LLVM
We #include "os9-newlines.h" and "win-newlines.h" if Q_CC_GNU is
defined, which is the case for Clang and LLVM, so we have to
also include the headers in the pro file to run moc on them.
Reviewed-by: Fabien Freling <fabien.freling@nokia.com>
Diffstat (limited to 'tests/auto/moc')
-rw-r--r-- | tests/auto/moc/moc.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/moc/moc.pro b/tests/auto/moc/moc.pro index a89ff07..4fb9ac4 100644 --- a/tests/auto/moc/moc.pro +++ b/tests/auto/moc/moc.pro @@ -17,7 +17,7 @@ HEADERS += using-namespaces.h no-keywords.h task87883.h c-comments.h backslash-n escapes-in-string-literals.h cstyle-enums.h qprivateslots.h gadgetwithnoenums.h \ dir-in-include-path.h single_function_keyword.h task192552.h task189996.h \ task234909.h task240368.h pure-virtual-signals.h -if(*-g++*|*-icc*):!irix-*:!win32-*: HEADERS += os9-newlines.h win-newlines.h +if(*-g++*|*-icc*|*-clang|*-llvm):!irix-*:!win32-*: HEADERS += os9-newlines.h win-newlines.h SOURCES += tst_moc.cpp QT += sql network svg |