Running Qt C++ Programs on the XGrid

From dftwiki3
Revision as of 10:33, 3 June 2010 by Thiebaut (talk | contribs) (Created page with '{| | width="40%" | __TOC__ | <bluebox> right | 100px This short How-To page shows how to deploy a Qt3 C++ application on the XGrid. The problem addres…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
XgridLogo.png

This short How-To page shows how to deploy a Qt3 C++ application on the XGrid. The problem addressed is that the Qt libraries might not be installed on the XGrid client, which will make the application fail when it starts running on a client. One option is to link the Qt application statically, but this may not be feasible or desirable. The approach illustrated here packages the C++ executable with all the non-standard library it relies on in a batch file.

The Problem

  • We have an executable generated by compiling a C++ program using the Qt 3.6 libraries.
  • Want to run the Qt executable on the XGrid.
  • Qt 3.6 is not installed on the XGrid clients
  • Qt was installed assuming its libraries would be loaded dynamically.
  • We don't want to reinstall or reconfigure Qt.

The solution