Qt With Visual Studio 2010 Setup (SDK 6.x)

Qt is great platform that allows for easy to build GUI applications, and will help make software more portable, as perhaps the future of Ultrasonix platforms lies in multiple platform supports.

Required Programs
All these programs are required before compiling the SDK's:


 * Windows 7 or Windows XP SP3
 * Visual Studio 2010
 * | Qt Library for VS 2010
 * Version 4.8.2 is released at time of this writing
 * Qt Add-on for VS 2010
 * CMake
 * CMake is a cross-platform, open-source build system. CMake is a family of tools designed to build, test and package software.

CMake Setup
After installing CMake on your computer:
 * Run CMake (cmake-gui)
 * Add the directory of the SDK in Where is the source code: (e.g. C:\sdk6)
 * Add the directory of where the built SDK to be in Where to build the binaries: (e.g. C:\sdk6_CMake)




 * Click on Configure
 * Once configuration is successful, click on Generate

Visual Studio Setup

 * Open Visual Studio 2010.
 * Open Qt Menu -> Qt Options
 * Make sure the Qt Library's directory is linked correctly.

Once CMake has generated the built solution for the SDK, open the generated folder (e.g. C:\sdk6_CMake)


 * Open sonixsdk.sln with Visual Studio 2010.
 * You will notice the new Qt menu from the Qt Add-on installed.
 * You will have all the SDK's solution built.


 * Pick which SDK you want to run and right click and choose properties.
 * Under Configuration Properties ->Debugging -> Environment add ..\..\..\..\bin to the PATH then click OK
 * Note: If you still get an error for not linking the .dll file, then copy the file into the bin folder by the CMake. 




 * Run the SDK.