Compiling Qt for Native client. Qt for Google Native Client supports building on either Mac or Linux systems. The resulting binaries run on any NaCl-enabled x86 system. After installing Native Client (and testing the installation following the instructions), make sure the gcc binaries and sel_ldr are in your path. For example: Mac: export PATH=$PATH:/path/to/ncal/build/native_client/src/third_party/nacl_sdk/mac/sdk/nacl-sdk/bin export PATH=$PATH:/path/to/ncal/build/native_client/scons-out/opt-mac-x86-32/staging/ Linux: export PATH=$PATH:/path/to/ncal/build/native_client/src/third_party/nacl_sdk/linux/sdk/nacl-sdk/bin/ export PATH=$PATH:/path/to/ncal/build/native_client/scons-out/opt-linux-x86-32/staging/ (Test by running nacl-gcc and sel_ldr, which should be in the path now) Configure Qt ./configure -nacl /path/to/nacl/build (If you get a "The target system byte order could not be detected" error message, then nacl-gcc isn`t in your path.) Build Qt cd src/tools; make ; cd ../.. (workaround to build moc etc. NOTE: edit the linker line and remove "-L"library paths poiting to the native client installation if you get linker errors.) make sub-src (should succeed) make -k (will build as many examples and demos as possible, and then fail) Test (sel_ldr) Run: sel_ldr examples/widgets/wiggly/wiggly Test (browser) Use tools/nacldemoserver to browse the examples. Nacldemoserver needs to be compiled for the host system - use a different Qt buld, not the NaCl one: cd tools/nacldemoserver /path/to/other/qmake -nocache make ./nacldemoserver Point your browser to http://localhost:5103/