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.
- 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:
- Log in to your myQNX account on our website, then go to the Download area.
- Download the package qt-5.3.1-datestamp.exe. The package is an executable (.exe) file.
- Verify that the checksum of the package matches the one given in the Download area.
- Double-click on the archive or run it from the command line.
- 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:
- Go to http://www.qt.io/download-open-source/#section-2 and click Show All Downloads.
- Scroll down to the Qt Creator section.
- 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:
- 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.
- Change to your Qt project's directory.
- 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.
- Run make to compile and link your project:
make
Uninstalling
To uninstall QNX Qt 5.3.1 Development Framework:
- Open the Control Panel.
- Depending on your version of Windows, select Add/Remove Programs or Uninstall a program. or
- Select Qt 5.3.1 from the program list and click Uninstall.
- 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/.