Friday, December 27, 2013

On your mark, get set, Qt 5.2 released!

Qt 5.2 was released a couple of weeks ago, just in advance of the holidays, being the most feature rich version so far.

Monday, September 2, 2013

Qt 5.1.1 released, the first patch release for the Qt 5.1 series


The guys at Digia were quite busy after Qt 5.1.0 and now they announced the release of Qt 5.1.1the first patch release for the Qt 5.1 series.

Don't let Qt Creator foolish you while creating Android projects

If you are using Qt Creator before 2.8.x and you like to create a new project for Android, please take into account that the "Mobile Application" kit is a left-over from older Qt versions, and should not be used anymore. In Qt Creator 2.8.x it has been removed to avoid this confusion. So you just use any of the usual templates such as "Qt GUI Application", "Qt Quick 2 Application" or "Empty Qt Project".

Friday, August 30, 2013

Enabling C++ 11 support in Qt 5.x

Since the support of most the new features of the C++11 language standard is quite spread in most of recent C++ compilers (see this comparison for instance), still several of such compilers need command line options to enable C++11 support. While using qmake as your build system, you can add the following line to your qmake project file in order to produce a make file with suitable options for your compiler: "CONFIG += c++11".

Tuesday, July 30, 2013

Getting started with Qt 5 for Android

Are you interested in develop Qt 5 applications for Android platform? Are you  a seasoned Qt developer willing to port your applications to this hot platform? are you a newcomer both to Qt 5 and Android? If any of your answers is yes to any (or all) the above questions, you may want to watch on demand this webinar brought to us by people from Digia.

Tuesday, June 25, 2013

Coming soon to a serial port next to you: QtSerialPort

One of the new modules that will be officially available with Qt 5.1.0 is QtSerialPort, a way to have support for serial ports such as those that follow the RS-232 standard. As described previously in my post, serial port modules for Qt have existed for some time (QExtSerialPort likely the most known of them) however none of them were officially part of Qt.

Thursday, May 30, 2013

QtInsights, a place for new audiences to learn about Qt

QtInsights is new website now available with the aim to help new audiences learn about Qt – the cross-platform development framework – through dialog with the Qt community.  Calling all Qt Developers, Designers and Project Managers Help the rest of the world learn... There is also a new Twitter account (@QtInsights) - so you might want to follow them to stay up to date. If you tweet about them please use the #qtinsights hashtag. 

Wednesday, May 15, 2013

New Qt 5.1 Beta available


For the intrepid ones, and those willing to have a taste of Qt on Android, Digia has provided the Beta release of Qt 5.1 with pre-built binaries for Android hat can be bundled in with your application.

Tuesday, April 30, 2013

Qt Framework Installer to the rescue

For those of you developing and distributing desktop applications that target multiple platforms (i.e. Windows, Linux, Mac OS X) and struggling to have a common installer tool for such platforms, you may want to consider the Qt Framework Installer, the same installer Qt itself uses.

Thursday, April 25, 2013

Several Qt Solutions already ported to Qt 5.x

If it happens that you were already relying on some of the Qt Solutions to develop/extend your own applications (I for instance currently use QtSingleApplication to allow the user to run just one instance of my application) and you're porting your application to Qt 5.x you may notice that  the Qt Solution component(s) you're using must be also ported...

Porting applications to Qt 5.x but keeping Qt 4.x compatible

I think most of you are aware that existing applications developed for Qt 4.x must be ported to be used with Qt 5.x (if not, this is worth reading). The main visible changes to do to existing C++ code are:
  1. modify your C++ files (.h and/or .cpp) so
    • #include <QtGui> changes into #include <QtWidgets>
  2. add QT += widgets towards the end of the project file (.pro)
By making such changes your code now be built using Qt 5.x But wait a minute... By making such changes your code cannot be built using Qt 4.x anymore... If you want to be able to build your applications with each of Qt versions, here's a simple trick

Using variables from project file (.pro) into C++ code

Have you ever wonder if any of the variables you have defined in your project file (.pro) can be used in your C++ source code? The answer is yes, and the process is straightforward.

Preliminary support for Android and iOS in Qt 5.1

With the availability of Qt 5.1 Alpha we're ready to develop for both OS just now, since all the qtbase is already implemented. However, there are still a few limitations (parts of Multimedia aren't fully implemented and Qt Quick is not working under iOS yet). 

Wednesday, January 9, 2013

Where did my QPrinters go?

Are you already migrating your applications from Qt 4.x to latest Qt 5.0 framework just released? And do your applications involve the use QPrinter class? If you answered YES to both questions, make you a favor to avoid further building problems...