summaryrefslogtreecommitdiffstats
path: root/readme-nacl
diff options
context:
space:
mode:
Diffstat (limited to 'readme-nacl')
-rw-r--r--readme-nacl22
1 files changed, 22 insertions, 0 deletions
diff --git a/readme-nacl b/readme-nacl
new file mode 100644
index 0000000000..bb46960d5b
--- /dev/null
+++ b/readme-nacl
@@ -0,0 +1,22 @@
+Compiling Qt fro Native client.
+
+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/
+
+Configure Qt
+./configure -nacl /path/to/ncal/build
+
+Build
+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)
+Build tools/nacldemoserver with a non-nacl Qt build: /path/to/qmake -nocahce && make
+Start the application (Warning: Will start a web server, make sure you're firewalled)
+Point a nacl-enabled browser to http://localhost:3001/ \ No newline at end of file