|
| 1 | +README for the Reliance Edge configuration tool source code project |
| 2 | + |
| 3 | +Project |
| 4 | +------- |
| 5 | + |
| 6 | +The configuration tool is a Qt project, built in Qt Creator 3, open source |
| 7 | +edition. The compiled executable for Windows may be downloaded from |
| 8 | +http://www.datalight.com/reliance-edge. |
| 9 | + |
| 10 | +Building |
| 11 | +======== |
| 12 | + |
| 13 | +The configuration tool is designed for Windows and Linux. The build processes |
| 14 | +described here have been tested on Windows 7 and on Ubuntu 12.04, respectively. |
| 15 | + |
| 16 | +The most basic thing you will need is a C++ compiler. On Windows, you can |
| 17 | +obtain one by downloading and installing a free version of Visual Studio, such |
| 18 | +as Visual Studio Community Edition (see visualstudio.com). Versions older than |
| 19 | +2010 may not be compatible. On Ubuntu, you can use GCC; however, you will need |
| 20 | +to install GCC 4.8 to compile without errors. This can be done from the |
| 21 | +console: |
| 22 | + |
| 23 | + sudo add-apt-repository ppa:ubuntu-toolchain-r/test |
| 24 | + sudo apt-get update |
| 25 | + sudo apt-get install gcc-4.8 g++-4.8 |
| 26 | + |
| 27 | +Next, you will need the Qt Creator package. This can be downloaded from |
| 28 | +www.qt.io/download-open-source/. If you already have an older version of Qt |
| 29 | +Creator installed, you may have to upgrade your Qt packages to version 5.x. |
| 30 | + |
| 31 | +Once Qt Creator and a C++ compiler are both installed, open the file |
| 32 | +redconfig.pro in Qt Creator. You may need to set up the compiler, Qt version, |
| 33 | +and build kit before installing. These can be found in Tools -> Options -> |
| 34 | +Build & Run. |
| 35 | + |
| 36 | +To build the tool, select Build -> Build All, or just click the green play |
| 37 | +button in the lower left-hand corner. |
| 38 | + |
| 39 | +Running |
| 40 | +======= |
| 41 | + |
| 42 | +The executable generated by the build process relies on dynamic linking to |
| 43 | +several libraries in order to run. On Windows, unless the tool is started from |
| 44 | +Qt Creator, the following files must be included in the same folder as the |
| 45 | +executable: |
| 46 | + |
| 47 | + icudt53.dll |
| 48 | + icuin53.dll |
| 49 | + icuuc53.dll |
| 50 | + Qt5Core.dll |
| 51 | + Qt5Gui.dll |
| 52 | + Qt5Widgets.dll |
| 53 | + platforms/qwindows.dll |
| 54 | + |
| 55 | +In a standard Qt installation, these files should be found in Qt's bin |
| 56 | +directory, except qwindows.dll, which is found in the plugins directory. The |
| 57 | +ICU DLL files are not needed if Qt was compiled with the option -no-icu. |
| 58 | + |
0 commit comments