Archive

Posts Tagged ‘Qt’

Creating a Benchmark

September 15th, 2009 No comments

To create a benchmark, follow the instructions for crating a test and then add a QBENCHMARK macro to the test function that you want to benchmark.

class MyFirstBenchmark: public QObject
{
  Q_OBJECT;
  private slots:
   void myFirstBenchmark()
   {
     QString string1;
     QString string2;
     QBENCHMARK
     {
       string1.localeAwareCompare(string2);
     }
   }
};

The code insde the QBENCHMARK macro will be measured, and possibly also repeated several times in order to get an accurate measurement. This depends on the selected measurement back-end. Several back-ends are available an can be selected on the command line.

Documentation

Tags:

Qt Certification Program

September 10th, 2009 No comments

The Qt Certification Program will be launched at Developer Days 2009. This is a Nokia official brand and a certification level that allows you to prove your knowledge and skills as a Qt developer.

The Qt Certification Program will evolve in the future to encompass more certification levels from beginner to advanced.

Pricing

The price for taking a Qt certification vary worldwide. The suggested price is 149EUR / 199USD per examination.

Availability

The certification service will be delivered by Pearson VUE – a leading provider of global computer-based testing solutions. After launch you will be able to take the exam in most major towns and cities worldwide at one of Pearson VUE’s local test centers.

Home page

Pearson VUE

Tags: ,

Styling Scrollbars

March 22nd, 2009 No comments

WebKit now supports styling of the scrollbars in overflow sections, listboxes, dropdown menus and textareas. For those who want to skip the article and just go right to the source, here is an example:

Read more…

Tags: ,

Qt 4.5 Overview

February 21st, 2009 No comments

Qt State-Machine Engine with SCXML

January 17th, 2009 No comments

The Qt SCXML engine is a state-machine engine using Qt. It’s based on W3C’s SCXML standard. It allows for:

  • Bullet-proof business logic
  • Decoupling application flow from graphics/data/engine
  • Dealing with complex asynchronous systems.

Example uses:

  • Implementing system rules. e.g. ‘stop the media-player when an incoming call comes in’
  • Eliminating modal dialogs with a well-defined state flow
  • “Go Back” functionality for easy menu navigation.

Link

Tags: