Nokia QT: How to lock the phone orientation
I’m playing with QT to make a couple of apps for Nokia phone, here the first snippet: “How to lock the phone orientation”, in this case I will lock in Portrait position, even when the user rotate the phone, the screen won’t rotate The complete code:
include "QWebView" fail?
You maybe want to do this: #include QWebView and you get an error like “QWebView: No such file or directory”, The solucion is simple, you need to add the reference to the library in you your_project.pro file, just write: QT += webkit Save and Run
PHP: How to make time more readable?
If you need to transform php time (seconds) to a more “friendly” format, this is perfect, you can transform “251″ to “4 minutes, 11 seconds”
PHP: Como solucionar "Call to undefined function: json_encode()"
En PHP 5.2 y siguientes estan disponibles las funciones json_encode() y json_decode() donde pasando una arrary asociativo se puede generar el JSON con los datos, si estamos usando una version anterior (ya sea la 5.0) estas librerias no estan disponibles. Por suerte podemos usar estas librerias para los usuario que todavian tengan versiones viejas de PHP jsonwrapper.tar Una vez descargadas solo necesitamos: require ‘jsonwrapper.php’;
Indie Game... The Movie
Indie Game: The Movie is a feature documentary about video games, their creators and the craft. The film follows the dramatic journeys of indie game developers as they create their games, and as they release those works, and themselves, to the world http://www.kickstarter.com/projects/blinkworks/indie-game-the-movie-the-final-push