GQQCS

GQQCS

Gabriel's Qt/QML Cardboard Sample

Gabriel Fernandes

contact me:
http://gaf.impa.br
http://www.gabrieldesign.com.br

All the code in this app is licensed by GNU GPL 3.

As for the contents used, such as artwork, videos, audio and other materials
(maybe databases or binaries) are the property of those who made them, with
whatever license they find appropriate. So with this app you will find all
the code necessary to compile and use it, whatever way you like, and some stub art
and video, so it all works correctly.

As for the content.. well the 3D art for the Cardboard VR was made with Blender 2.75a
using MultiView (there should be a sample blender file). Other artwork such as svg
files where done on Inkscape, and stub videos where made with blender also. Any
other art thats not video or vector was done with pixelmator mac.. (great app, but not free).

If you do use this app for any purpose, be nice, and send me an email. I really like
to follow future applications and metion them on my blog. And last... respect the license.
If you don't understand it, please, take the time to read it and do a little research...

How to build:
This project was made with QtCreator, and based on the standard Qt Quick Application
template. So you should download Qt Community (best use 5.5 o later) and build the app.
If you would like a android build, you will need the Android SDK, Android NDK, Apache ANT and
JAVA JDK. These should be placed somewhere on your computer and correctly setup in the
QtCreator preferences (where there is a nice looking Android Icon). Please use the latest
of each package. For the current build I've used Android 22, NDK 11, JDK 8, ANT 193 and Qt 550 package.

The Android version uses only one permission:
<uses-permission android:name="android.permission.WAKE_LOCK"/>
You can remove the INSERT PERMISSIONS (as suggested on the standard manifest file).

Also I uncommented the following line:
<meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/logo"/>

And has the following application settings:
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation" android:name="org.qtproject.qt5.android.bindings.QtActivity" android:label="-- %%INSERT_APP_NAME%% --" android:screenOrientation="landscape" android:launchMode="singleTop">
It's the standard Qt Manifest with the added ***android:screenOrientation="landscape"***

http://www.qt.io/download-open-source/
https://developer.android.com/sdk/index.html
https://developer.android.com/tools/sdk/ndk/index.html
http://ant.apache.org
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

It should all be straight foward to anyone with decent Qt/Android knowlegde.
I believe it should all work on any desktop and ios 8 (or later), but can't be sure.

----------------------- LICENSE STUFF ---------------

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

-----------------------

Extra credit:
3d glasses icon used in logo.svg
Icon made by Freepik from www.flaticon.com is licensed by CC BY 3.0