summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@nokia.com>2009-12-16 09:52:47 +0100
committerMorten Johan Sørvig <morten.sorvig@nokia.com>2009-12-16 09:52:47 +0100
commit699daead3a607972e0e7422f40d71ad73cc27e64 (patch)
tree68388479bcddd291f7cf65363823ab8b07d4015c
parent32ba1890cb03f5c8f54e2d96257f294817a2cf52 (diff)
add readme
-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