Qt Weekly #14 Testing Accessibility on OS X

Published Friday June 20th, 2014 | by

When talking about accessibility, the question of how blind people interact with computers often comes up. This article will explain the basics and take OS X as an example to let you test an application. There are many tools to help people with low vision, for example magnifiers. Here it helps a lot when applications provide sufficient contrast and use clear fonts. But magnification can only get you so far, and at some point it’s not enough to effectively use a computer anymore. This is where screen readers come into the picture.

A screen reader is an application that presents the screen contents to the user in a non-visual way, either using speech output or using braille displays. For testing it is usually enough to deal with the speech output of the screen reader, braille will usually work if speech works. OS X comes with VoiceOver out of the box which makes testing applications easy. For a full description of VoiceOver, head over to the documentation, we’ll just mention the most essential keyboard shortcuts here. There is also a tutorial for VoiceOver that is a fun way to get started. To test a Qt application just run the application and turn on VoiceOver (Command-F5). For OS X, accessibility support in Qt has improved a lot lately, so make sure to use Qt 5.3 at least.

Read more…

Comments Off


Posted in Accessibility, Mac OS X | Tags: , ,

Qt Weekly #13: QStringLiteral

Published Friday June 13th, 2014 | by

QStringLiteral is a macro that allows you to create QString objects from string literals with little to no runtime overhead. However, its usage can be tricky especially in code that must compile with different compilers, like the Qt code itself. This blog post lists some guidelines to help you avoid the pitfalls.

QString is the ubiquitous representation for a Unicode string in Qt. A common source for a QString are literals hard-coded into the application. In Qt 4, any such creation of a QString from a literal required creating the QString object on the heap, and then translating the literal characters from its run-time character codec to UTF-16. Since Qt 5.0, QStringLiteral allows to avoid this overhead by creating the object and doing the conversion at compile time.

Enable C++11 in your project

QStringLiteral is only optimized if the C++ compiler both supports lambdas and unicode literals. This is the case for Microsoft Visual Studio 2010 and newer, but GCC and Clang need to be told that they should support all C++11 features. When using qmake, this can be achieved by
Read more…

13 Comments


Posted in C++, Qt | Tags: , ,

Qt Cloud Services at Contributors Summit

Published Wednesday June 11th, 2014 | by

Greetings from Qt Contributors Summit!

How’s it going? We just had a session about Qt Cloud Services here at Qt Contributors Summit and it was great! In our session, we demoed the brand new Managed Runtime service and got very good feedback from the people. With our Managed Runtime service you can write and deploy your server-side software written with Qt or a number of other programming languages in a matter of minutes.

Want to see how it works? Check the video at https://vimeo.com/97709588.

In case you want to know more details, check the Qt Contributors Summit presentation at http://www.slideshare.net/qtcloudservices/qtc-managedruntimes.

The service will become available for public by end of June 2014. If you want early access, sign-up at https://qtcloudservices.com/early-access.

Hope to see you in Qt cloud soon! If you have any questions, just let me know!

2 Comments


Posted in Cloud, Qt, Qt Cloud Services | Tags:

Hello from Qt Contributors’ Summit

Published Tuesday June 10th, 2014 | by

Berlin has been scorching hot with Qt Contributors’ Summit in town and temperatures going up to 35 C.

Lars on the state of the project

Lars on the state of the project

The Qt Contributors’ Summit program is filled with interesting sessions, so many that it is impossible to attend all the sessions one would like to take part in. True to the Contributors’ Summit tradition, the program has been living all day, with sessions being moved around to avoid topic clashes.

In one day it has been possible to hear and discuss about mobile platforms, Qt Cloud Services, touch and gesture implementation and other interesting topics.

The day began with chief maintainer Lars Knoll presenting the state of the project, with the maintainers who are present, giving a short update on their areas. Qt 5.3 has achieved really impressive download numbers, getting 300k downloads in the first week, showing a strong and growing interest in Qt. The contributions to Qt have also stayed strong. As part of his presentation, Lars talked about the need to bring the Qt community even more together, by combining the commercial and open source aspects of the project.

Session

We will be bringing Lars’ session to you on our Youtube channel once we get back from the event and a bit of time to edit the video. Also the slides will be made available, to make it easier to follow the talk.

Overall the first day has been full of interesting talks, great sessions and good coffee break discussions.

A big thank you goes to all our sponsors, Digia, Froglogic, BasysKom, Intel, Canonical, Pelagicore, ICS, KDAB and e-GITS, for making this possible!

Tomorrow will continue with a lot of sessions, and more discussions on the state and future of Qt.

2 Comments


Posted in Uncategorized

Qt Weekly #12: Qt Quick Controls’ Calendar

Published Friday June 6th, 2014 | by

With the release of Qt 5.3, the Calendar control was added to Qt Quick Controls, providing a Qt Quick counterpart to QCalendarWidget. Although it is still quite a young control, Calendar can already cover many use-cases. We’ll show an example of Calendar used in a touch application. Note that a CalendarStyle has not yet been written for touch devices (styling for Android is currently in the works). Thanks to the versatile styling API, however, we can do this ourselves.

Calendar

The Calendar control.

Read more…

5 Comments


Posted in Uncategorized

Qt Showroom – Calling all application developers

Published Friday June 6th, 2014 | by

Qt Showroom

We are setting up a gallery to present the best Qt applications. The gallery is called Qt Showroom. And currently we are looking for applications that should be presented.

Qt Showroom will be hosted under qt-project.org at showroom.qt-project.org.

Qt Showroom will feature cross-platform applications or applications that demonstrate and portray great use of the Qt technology. Right now we have MuseScore as an example of a beautiful application running on multiple desktop and mobile platforms.

Your application in the Qt Showroom?

Right now we are looking for applications that should be in the Qt Showroom.

We are looking for applications that:

  • Run on multiple platforms
  • Present a user interface that is intuitive and lets the user do the key tasks with ease
  • Use several aspects of Qt to it’s benefit
  • Are easily available to users

If you have an application that you think should be presented in the Qt Showroom, please submit your application for review!

All applications will be evaluated before they are approved into the Qt Showroom. Initially this screening will be done by the Qt Online Community Manager with help from Qt developers.

Looking forward to your great applications in the Qt Showroom!

6 Comments


Posted in Uncategorized

May 2014 Qt Hackathon

Published Wednesday May 28th, 2014 | by

With Qt 5.3 successfully released we decided to relax a bit and got together for a Qt Hackathon. In similar manner as with the previous Qt Hackathon we arranged in December, teams from all our main development sites joined together to see who can make the greatest, most awesome new project in just 24 hours. Rules of the game are: team work, new innovation, all created during 24 hours.

This time the prize categories were:

  • #1 Best solution for developer productivity gain
  • #2 Greatest graphics ninja work
  • #3 Most creative use of Qt

After 24 hours of happy hacking we voted for the winners. It was very tight match and interestingly we got a tie in two of the categories.
Read more…

6 Comments


Posted in Qt

Qt Enterprise Embedded Updated to Qt 5.3

Published Thursday May 22nd, 2014 | by

We are happy to release an update to Qt Enterprise Embedded with lots of new features based on the recently released Qt 5.3

What is Qt Enterprise Embedded?

Qt Enterprise Embedded is a full solution for creating embedded devices, with Qt Enterprise libraries, using a fully integrated development environment, along with a pre-built Qt-based software stack – called Boot to Qt.

Read more…

Comments Off


Posted in Embedded, Releases

Qt 5.3 Released

Published Tuesday May 20th, 2014 | by

I’m happy to announce that Qt 5.3 has been released. The main focus for this release was performance, stability and usability. Nevertheless, Qt 5.3 has also gotten a fair amount of new features that help make developers’ lives easier.

Qt 5.2 has been a tremendous success, having been downloaded over 1 million times. With Qt 5.2, we delivered on our promise that Qt is a true cross-platform framework by adding Android and iOS support. Qt 5.3 is building on that foundation, and adding to it.
Read more…

75 Comments


Posted in Qt, QtCreator, Releases, RTOS, WinRT

Qt Weekly #11: Getting started with WinRT

Published Tuesday May 20th, 2014 | by

With Qt for WinRT in Beta status for 5.3.0, you can now get started with the new port and package your application for the Windows and Windows Phone Stores.

This tutorial video walks through opening an existing project in Qt Creator, generating a project file for Visual Studio, and deploying the application to the various WinRT targets. Finally, we cover some packaging details for the Windows marketplaces.

Read more…

7 Comments


Posted in Debugging, QtCreator, Tutorial, Visual Studio, WinRT

  1. Pages:
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. 6
  8. 7
  9. ...
  10. 159