Home
Developer Resources
Technical Articles

QNX Technical Articles

QNX® SDK for Apps and Media 1.1—QNX Qt 5.3.1 Development Framework for Windows: Installation Note

Electronic edition published: Tuesday, June 2, 2015

This package contains the Qt runtime engine for development in a Windows host environment.

Note: The pre-built Qt distribution available with the QNX SDK for Apps and Media 1.1 is an optimized port of the Qt Community version and has been made available as a convenience for our customers. Although this version of Qt is not a QNX commercially licensed product, you can obtain Qt support from QNX under a Custom Services Plan (CSP). Qt Enterprise and support for Qt Enterprise is available from The Qt Company (http://www.qt.io). For more information about Qt licensing, see http://www.qt.io/licensing/.
Note: Before you install this archive, you should already have installed the following on your host:
  • QNX Software Development Platform 6.6
  • QNX SDK for Apps and Media 1.1

Host OS

You can install this package on one of the following development hosts:

  • Microsoft Windows 8 Professional 64-bit
  • Microsoft Windows 7 Professional 64-bit
  • Microsoft Windows XP Professional SP3

Installing the QNX QT Development Framework

To install the QNX QT Development Framework:

  1. Log in to your myQNX account on our website, then go to the Download area.
  2. Download the package qt-5.3.1-datestamp.exe. The package is an executable (.exe) file.
  3. Verify that the checksum of the package matches the one given in the Download area.
  4. Double-click on the archive or run it from the command line.
  5. Follow the instructions on your screen.

Installing Qt Creator

Qt Creator is the IDE that you use to develop Qt apps. The IDE includes a code editor, visual debugger, and integrated UI layout and forms designer. This release supports apps written with version 3.2.1 or higher of Qt Creator.

To install Qt Creator:

  1. Go to http://www.qt.io/download-open-source/#section-2 and click Show All Downloads.
  2. Scroll down to the Qt Creator section.
  3. Download the appropriate package for your host system and follow the associated instructions to install it.

Samples

The QNX SDK for Apps and Media includes a number of sample Qt projects to help you get started quickly. This sample source code is in base_directory/source/appsmedia_qt_source_v1_1.zip, where base_directory is where you installed the QNX SDK for Apps and Media.

Building Qt applications from the command line

To build Qt applications on the command line:

  1. Set up the environment by typing the following at the command prompt:
    base_directory\qnx660-env.bat

    where base_directory is where you installed QNX SDP 6.6.

  2. Change to your Qt project's directory.
  3. Run qmake to generate your project's make files.
    qt_install_directory\target_arch\bin\qmake project.pro

    where qt_install_directory is where you installed the Qt Development Framework, and target_arch is the subdirectory that matches your target board's architecture.

  4. Run make to compile and link your project:
    make

Uninstalling

To uninstall QNX Qt 5.3.1 Development Framework:

  1. Open the Control Panel.
  2. Depending on your version of Windows, select Programs > Programs and Features or Add/Remove Programs or Uninstall a program.
  3. Select Qt 5.3.1 from the program list and click Uninstall.
  4. Follow the instructions on your screen.

Where to go for more information

For more information, see the Qt Developer's Guide in the QNX Momentics IDE's help system (Help > Help Contents). The documentation is also available on our website: http://www.qnx.com/developers/docs/.