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.