Tuesday, January 31, 2012

Programming with Qt Quick Video presentation

While back I have posted an article about videos I found about Qt Quick and QML. They were from Qt Developer Days 2010. Today I have found a newer version of the video from October 17th 2011.
The videos are presented by: Justin Noe from ICS. I find the videos interesting and easy to follow. The examples and the presentation are the same as the last one, but slightly updated. The presenter is easy to listen. He is a native speaker and his voice won't put you to sleep :) Definitly recomend watching them if you haven't watched the video from my older posts.


Sunday, January 29, 2012

Getting Started - a Qt fast track 1/4 - Overview

I am continuing my selection of Qt educational movies from Qt Developer Days. This video is more up to date then the ones I presented earlier. It is created for Qt Developer Days 2011 that took place on October 6th 2011. The video is presented by Oliver Gutbrod from e-GITS. The video presentation is broken into 4 parts.
I have just watched first part of the four. Programming for mobile phones is not covered in this video. It is just a general video for Qt cross platform programming using C++ and not QML. Watch this video if you want to learn Qt and if you are complete beginner and if you plan on program using C++. I am not going to watch parts 2,3 and 4 because this video was kind of boring and it was too long. All the interesting parts like labs and examples weren't shown :(

Topics covered in this video
00:00:00 Introduction about e-GITS
00:03:00 Overview of the presentation
00:04:12 Fundamentals of Qt
00:05:00 Qt history
00:06:00 Qt Licence
00:08:30 Qt Architecture
00:12:12 Qt Demo & Examples that come wit Qt - This is integrated in Welcome view in QtCreator now
00:15:20 Hello World Application
00:18:00 Using command line, using qmake, copliling
00:20:40 Using Qt Creator - theory
00:24:00 Hello World app using QtCreator hands on demonstration
00:29:20 Debug mode
00:32:00 Qt Documentation
00:35:00 Modules and Include files - Project file
00:46:00 Objects in Qt (QObject, Object terr
00:51:20 Creating Objects
00:54:40 QWidget Model
00:59:40 Widgets inside the widgets
01:07:00 Objects, callbacks
01:08:50 Signals & Slots


You can find the video on:
http://developer.qt.nokia.com/videos/watch/getting-started-a-qt-fast-track-1-4-overview

Friday, January 27, 2012

How to use Button from Qt Quick Components for Symbian

In this post I will present you two videos I have created. The videos are about a simple app for Symbian^3 phones. App consists of three buttons that change the color of the rectangle and the text of the Text element on the screen.
These videos will show you how to create a button and how to detect when it was pushed. You will also learn how to position elements on screen so they look good in different orientations and screen sizes. We are using Qt Quick components in this tutorial. In this article you will also find part of the source code for this project.

Thursday, January 26, 2012

HelloWorld Qt App Explained part 2 of 2

While back I created video tutorial that explains code behind Hello World application for Symbian^3 phones. I am writing this post because I have decided to put the source code here. Maybe it will be convenient for someone to look at it. Only the modified files will be here.

In this video I have explained declarative part of the code inside QML file of the Qt Hello World app for Symbian^3 phones.
Covered in this episode:
- QML code explained


This post (and video featured in it) is 3nd part of 3 part whole. You should read 1st and 2nd article before reading this one.You can find them here:
Hello World for Symbian^3 with Qt Quick components done using Qt Creator
HelloWorld Qt App Explained part 1 of 2


Wednesday, January 25, 2012

HelloWorld Qt App Explained part 1 of 2

While back I have created a video which explains the code behind HelloWorld app for Nokia Symbian^3 phones.  I have decided to write a post about the video. In this post I will also provide the source code from the files covered in the video.

This post (and video featured in it) is 2nd part of 3 part whole. You should read first article before reading this one.You can find it here:
Hello World for Symbian^3 with Qt Quick components done using Qt Creator 

After you finished with this article you should watch part 3. You can find it here:
HelloWorld Qt App Explained part 2 of 2

In the video tutorial I will explain native code and project file of the Qt Hello World app for Symbian^3 phones.
Covered in this episode:
- project file explained: symbian:TARGET.CAPABILITY, CONFIG and SOURCES
- main.cpp file (also called native code): QApplication, QmlApplicationViewer
- using help


Thursday, January 12, 2012

ReferenceError: Can't find variable: statusBar


If you get the error:
file:///C:/QtSDK/Simulator/Qt/mingw/imports/com/nokia/symbian.1.1/PageStackWindow.qml:70: ReferenceError: Can't find variable: statusBar
In the Application Output pane you shouldn't worry about it. It is probably the bug that is harmless and will be fixed soon with some future update.
It was bothering me for some time but then I read on Nokia Developer Discussion board that it is probably the bug. You can follow the post on the link below:

http://www.developer.nokia.com/Community/Discussion/showthread.php?232315-pageStack-vs-pageStackWindow-element&p=877956&viewfull=1#post877956

I also wanted to mention that Discussion Board is great place to learn new stuff and to go to if you got questions. Of course first look for an answer and only when you make sure the same question is not asked already post new question. Visit Discussion Board about Qt

Update:
This BUG is reported. You can check comments regarding it below:
https://bugreports.qt.nokia.com/browse/QTCOMPONENTS-1217
It will be fixed in next release.

Wednesday, January 11, 2012

Video on Animations and Visual Effects in QML

This post continues from an earlier post. Be sure to check it out
Introduction to Qt Quick and User Interaction In QML Video

We are going on with videos from Nokia Qt learning
This video will help you out with Animations and Visual Effectsin in QML.

UPDATE: I have found newer versions of this video from October 17th 2011. These two video files are replaced by 3 shorter and newer ones. You can find my newer post here:

http://mobiledevvt.blogspot.com/2012/01/programming-with-qt-quick-video.html

Here is the video:
Animations and Visual Effects (part 3/4)

Tuesday, January 10, 2012

Introduction to Qt Quick and User Interaction In QML Video

Hi all,

I have found few interesting video tutorials about Qt Quick and QML. Today I will present you two of them. First video is titled "Introduction to Qt Quick (part 1/4)"
I consider it useful if you want to learn Qt Quick. Video is from Qt Developer days 2010. O.K. so it is not the new video, that is true, but if you are new to Qt Quick this will help you to understand how things work. If the documentation is boring to you this video tutorial is just for you. It has few examples so you can understand what Adam is talking about. I think it is great for beginners like myself.

Second video is titled "User Interaction In QML - User Input and States (part 2/4)"
In this video you will learn:
- to receive mouse and keyboard user inputs from Qt Quick
- signal handlers and property bindings (awareness of user's actions)
- basic understanding of states and transitions

UPDATE: I have found newer versions of this video from October 17th 2011. These two video files are replaced by 3 shorter and newer ones. You can find my newer post here:
http://mobiledevvt.blogspot.com/2012/01/programming-with-qt-quick-video.html

Friday, January 6, 2012

Hello World for Symbian^3 with Qt Quick components done using Qt Creator

Tutorial shows you how to get simple Hello world app for Symbian^3 using Qt SDK and how to run it in simulator. You will learn how to
1. create new project in Qt Creator
2. update Qt creator if there are updates available
3. save your project
4. solve QML module not found issue
5. build and run project in simulator


This code is tested on Symbian Anna and Belle phones. This code was written using QtSDK 1.4.4. and Qt Creator 2.4.0 Based on Qt 4.7.4 (32 bit) Built on Dec 16 2011 at 03:25:42. At the moment of writing this text it was latest version of QtSDK available. With newer versions of Qt the code will probably change and it will get updated. If the code changes the logic behind is will stay the same so this video will be of some use to you.