Qt Creator

Qt Creator is a cross-platform C++ development environment which is part of the Qt SDK. As Ultrasonix moving to cross-platform development, starting V6.0, SDK packages include Qt project files to be easily compiled with Qt Creator.

Installation

 * Qt Creator can be downloaded from the official website.
 * Version 2.5 is released at time of this writing.

Opening SDK Files
All SDK packages starting Veriosn 6.X includes all the Qt project files in order to compile them in Qt Creator. Qt Creator project file has the extension of .pro. Each SDK will have a qt.pro file that can be used to open the project.

To open a project:
 * Open Qt Creator -> File -> Open File or Project
 * Browse in the directory of the SDK, and select file qt.pro



Compiling Demo Files




Qt will ask for the setup options for the project:
 * Select Desktop and un-select every other option.
 * Create Build Configuration for One Qt Version and One Release
 * Choose the appropriate Qt Version installed on your machine(Currently 4.8.1). Then Click Finish

Once the project is opened, click on the RUN to start building the project and running it.

Note: qt.pro file should have all the correct project Path to link all the necessary libraries. If you get an error about linking to library, please check the path in the file and correct it.

Another error that might be generated for some of the SDK has to do with connecting to the .dll files in the bin directory. In order to fix the error is first checking the path is correct in the qt.pro file. If the error still issued, then copy the files in the bin folder to the debug folder that is generated by Qt Creator to build the project.