Determining if the Q_WS_WIN exist failed with the following output: Change Dir: /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec1961859032/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec1961859032.dir/build.make CMakeFiles/cmTryCompileExec1961859032.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec1961859032.dir/CheckSymbolExists.cxx.o /usr/lib/ccache/c++ -I/usr/lib/qt4/include -o CMakeFiles/cmTryCompileExec1961859032.dir/CheckSymbolExists.cxx.o -c /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function 'int main(int, char**)': /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: 'Q_WS_WIN' was not declared in this scope return ((int*)(&Q_WS_WIN))[argc]; ^ make[1]: Leaving directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' make[1]: *** [CMakeFiles/cmTryCompileExec1961859032.dir/CheckSymbolExists.cxx.o] Error 1 make: *** [cmTryCompileExec1961859032/fast] Error 2 File /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_WIN return ((int*)(&Q_WS_WIN))[argc]; #else (void)argc; return 0; #endif } Determining if the Q_WS_QWS exist failed with the following output: Change Dir: /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec3949416285/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec3949416285.dir/build.make CMakeFiles/cmTryCompileExec3949416285.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec3949416285.dir/CheckSymbolExists.cxx.o /usr/lib/ccache/c++ -I/usr/lib/qt4/include -o CMakeFiles/cmTryCompileExec3949416285.dir/CheckSymbolExists.cxx.o -c /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function 'int main(int, char**)': /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: 'Q_WS_QWS' was not declared in this scope return ((int*)(&Q_WS_QWS))[argc]; ^ make[1]: Leaving directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' make[1]: *** [CMakeFiles/cmTryCompileExec3949416285.dir/CheckSymbolExists.cxx.o] Error 1 make: *** [cmTryCompileExec3949416285/fast] Error 2 File /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_QWS return ((int*)(&Q_WS_QWS))[argc]; #else (void)argc; return 0; #endif } Determining if the Q_WS_MAC exist failed with the following output: Change Dir: /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec2495783102/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec2495783102.dir/build.make CMakeFiles/cmTryCompileExec2495783102.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec2495783102.dir/CheckSymbolExists.cxx.o /usr/lib/ccache/c++ -I/usr/lib/qt4/include -o CMakeFiles/cmTryCompileExec2495783102.dir/CheckSymbolExists.cxx.o -c /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function 'int main(int, char**)': /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: 'Q_WS_MAC' was not declared in this scope return ((int*)(&Q_WS_MAC))[argc]; ^ make[1]: Leaving directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' make[1]: *** [CMakeFiles/cmTryCompileExec2495783102.dir/CheckSymbolExists.cxx.o] Error 1 make: *** [cmTryCompileExec2495783102/fast] Error 2 File /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_MAC return ((int*)(&Q_WS_MAC))[argc]; #else (void)argc; return 0; #endif } Determining if the system is big endian passed with the following output: Change Dir: /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec883179237/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec883179237.dir/build.make CMakeFiles/cmTryCompileExec883179237.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec883179237.dir/TestEndianess.c.o /usr/lib/ccache/cc -o CMakeFiles/cmTryCompileExec883179237.dir/TestEndianess.c.o -c /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/TestEndianess.c Linking C executable cmTryCompileExec883179237 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec883179237.dir/link.txt --verbose=1 /usr/lib/ccache/cc CMakeFiles/cmTryCompileExec883179237.dir/TestEndianess.c.o -o cmTryCompileExec883179237 -rdynamic make[1]: Leaving directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' TestEndianess.c: /* A 16 bit integer is required. */ typedef unsigned short cmakeint16; /* On a little endian machine, these 16bit ints will give "THIS IS LITTLE ENDIAN." On a big endian machine the characters will be exchanged pairwise. */ const cmakeint16 info_little[] = {0x4854, 0x5349, 0x4920, 0x2053, 0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000}; /* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN." On a little endian machine the characters will be exchanged pairwise. */ const cmakeint16 info_big[] = {0x5448, 0x4953, 0x2049, 0x5320, 0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_little[argc]; require += info_big[argc]; (void)argv; return require; }