User Tools

Site Tools


chumbyqt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

chumbyqt [2012/11/30 11:23]
paalsteek [Bluetune, Atomix and Neptune]
chumbyqt [2013/01/15 16:01] (current)
paalsteek [openssl] section added
Line 38: Line 38:
 ===== Qt ===== ===== Qt =====
 Download Qt from {{http://trolltech.com/developer/downloads/qtopia/coregpl}}, install it to a custom folder. Make sure to install the sources! Download Qt from {{http://trolltech.com/developer/downloads/qtopia/coregpl}}, install it to a custom folder. Make sure to install the sources!
 +
 +:!: In order to use the api of mysmartgrid you need openssl. See section "openssl" for further information. :!:
 +
 <code> <code>
 cd QtSDK/QtSources/<Version>/ cd QtSDK/QtSources/<Version>/
Line 164: Line 167:
  
 To tell cmake where to find the header and library files set the environment variables BLUETUNE_HOME, ATOMIX_HOME and NEPTUNE_HOME. To tell cmake where to find the header and library files set the environment variables BLUETUNE_HOME, ATOMIX_HOME and NEPTUNE_HOME.
 +
 +==== QJson ====
 +
 +Compile and install QJson with
 +
 +<code>
 +git clone https://github.com/flavio/qjson.git
 +cd qjson
 +TOOLCHAIN_PREFIX=/usr/arm-2008q3 cmake -DCMAKE_TOOLCHAIN_FILE=../chumby-controlpanel/modules/Toolchain-arm.cmake -DCMAKE_INSTALL_PREFIX=/usr/arm-2008q3 CMakeLists.txt
 +sudo make install
 +</code>
 +
 +where CMAKE_TOOLCHAIN_FILE should be set to the toolchain file of the chumby-controlpanel, TOOLCHAIN_PREFIX and CMAKE_INSTALL_PREFIX is the location of your arm-toolchain.
 +
 +Further information regarding QJson can be found at http://qjson.sourceforge.net/
 +
 +==== Openssl ====
 +
 +In order to enable ssl support in Qt you need the openssl libraries for arm. http://wiki.chumby.com/index.php/Web_Browser#build_openssl contains instructions on building openssl. Append -openssl to the configure line of qt to force openssl support.
chumbyqt.1354271014.txt.gz ยท Last modified: 2012/11/30 11:23 by paalsteek