Saturday, October 16, 2010

Qt Quick Demos in Qt Creator


Demonstration of how to import Qt Quick projects and showing off the nice QML demos included in Qt 4.7

Wednesday, October 6, 2010

Qt SDK 2010.05.1 for Linux released

The now released Qt SDK 2010.05.1 for Linux is only available for x86 (32-bit) and x86_64 (64-bit) Linux environments. This version include GTK style plugin, it make Qt to have look native on Gnome.

Source: http://labs.qt.nokia.com/2010/10/06/qt-sdk-2010-05-1-for-linux-released/

On Linux/Unix, you need to make the file executable in order to run it. You can either do this with your desktop's file manager or, at the command line, type:

chmod u+x qt-sdk-linux-x86-opensource-2010.05.1.bin

You should now be able to execute the file as normal. You can do this from the command line by typing:

./qt-sdk-linux-x86-opensource-2010.05.1.bin

Sunday, October 3, 2010

Security announcement - Qt Creator 2.0.0 for desktop platforms

A vulnerability has been found in Qt Creator 2.0.0 and previous versions. The vulnerability occurs because of an insecure manipulation of a Unix environment variable by the "qtcreator" shell script. It manifests by causing Qt or Qt Creator to attempt to load certain library names from the current working directory.

This could cause certain Unix shared libraries to be loaded by Qt Creator from the current working directory. The issue does not affect Windows or Mac OS X. It also does not affect the most recent Qt Creator 2.0.1 release.

The issue has been assigned the identifier CVE-2010-3374. See http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-337

Recommendation

To nullify any risk posed by this issue, we recommend users of Qt Creator 2.0.0 or earlier upgrade to the most recent release, Qt 2.0.1. It can be downloaded from get.qt.nokhttp://www.blogger.com/img/blank.gifia.com

Users unable to upgrade at this time can replace their "qtcreator" scripts

with the qtcreator.bin binary found in the package distribution, or with the updated script found in the public Qt Creator repository.

The link to the updated script is: http://www.qt.gitorious.org/qt-creator/qt-creator/blobs/3c00715c8e90c57953ec4a8716110f6954e524e4/bin/qtcreator



Source: http://qt.nokia.com/about/news/security-announcement-qt-creator-2.0.0-for-desktop-platforms

Saturday, September 25, 2010

Qt: Locale not supported on X server

After installed new Nokia Qt SDK 1.0.1/Qt 4.7.0 on Ubuntu 10.04, I tried to run my first application on emulator. The error message "Qt: Locale not supported on X server" was shown on Application Output.

As my understanding, it's because the X server cannot understand the language of the locale setting; depends on what the default LANG setting. It can be ignored, English will be used as locale language.

If you really want to remove the error message, you can change your locale setting:

edit file /etc/default/locale with root's right

$sudo gedit locale

replace the LANG setting with:

LANG="en_US.UTF8"

And re-start your system to make it take effect.

Friday, September 24, 2010

Introduction to the QML language

QtCreator 2.0.1 already comes with a full-blown QML text editor and integration of the qmlviewer.

Introduction to the QML language

QML is a declarative language designed to describe the user interface of a program: both what it looks like, and how it behaves. In QML, a user interface is specified as a tree of objects with properties.

This introduction is meant for those with little or no programming experience. JavaScript is used as a scripting language in QML, so you may want to learn a bit more about it (JavaScript: The Definitive Guide) before diving deeper into QML. It's also helpful to have a basic understanding of other web technologies like HTML and CSS, but it's not required.



Thursday, September 23, 2010

Qt 4.7.0 now available


You can download source and binary packages for Qt 4.7.0 (and binaries for the corresponding Qt SDK 2010.05) from the Qt Download Page. Alternatively, you can grab the source directly from the public repository, where the “v4.7.0″ tag matches the released packages. You can also check out the Qt 4.7 documentation.

Tuesday, September 14, 2010

Nokia Qt SDK 1.0.1 released

Nokia Qt SDK 1.0.1 is released, the focus has been on quality and bug fixing rather than adding new features.

Nokia Qt SDK web site

Description
The Nokia Qt SDK leverages the power of the Qt framework and tools, combining them with tools designed to streamline the creation of apps for Symbian and the Maemo platform.
The SDK includes the Qt Simulator, which enables apps for Symbian and Maemo devices to be tested on a computer.