Quantum Construct (qC++)

Getting Started...

 


There are a number of ways to get going with qC++, as there are multiple ways to compile and build C++ libraries. Choosing the right one for you is a matter of choice, taste and convenience. I will list 3 ways to get started with using qC++, or for any other library for that matter (as similar methods can be applied to other libraries). Firstly, one must note that majority of the C++ programming and building is done through Makefiles, consequently there are many ways to reduce the problem of writing make files yourself, the following methods are some examples of this.

IDE's

The Integrated Development Environment (IDE) essentially combines the text editor, make file generator, project manager and compiler into one software package. Notable IDE's are MS Visual Studio .Net, kDevelop, Code::Blocks, MinGW Developer Studio and Dev-Cpp. The latter three are free and the latter two are Platform Independent. I recommend the latter two, as they are easy to setup and port with. More exact details for these IDE's will be provided soon...

QMake & jEdit

Qmake is the easiest way to build Trolltech QT applications. Simply install the QT and follow the instructions provided in their Help Document called QT Assistant. jEdit is a multi-platform open source text editor that supports a variety of programming languages.

Linux

1) Build/Install Blitz++ (see Blitz++ Installation instructions here)

3) Build/Install and Check QT Open Source (see QT installation instructions here).

4) Build/Install QwtPlot3D (see QwtPlot3D installation instructions here).

5) Download qC++ (You can get it here).

6) Unpack to desired location.

7) Start the command prompt/terminal and make the qC++ where you unpacked it the current working directory.

8) To build the library type "qmake qcplusplus.pro" and then "make". To build the examples, make the examples directory your current working directory and then type "qmake examples.pro" and then "make". These apply no matter what Operating System you have, that's the beauty of Qmake.

9) To install qC++ libraries, copy the files in "lib" directory to the libraries directory of your compiler (normally the /usr/local/lib directory) and the files in the "include" directory to the "include" directory of your compiler (normally /usr/local/include directory).

10) To use the qC++ library simply add the "-lqcplusplus" to your makefiles or project settings of your IDE or Makefile.

Windows

1) Install MinGW (Minimalist GNU for Windows, which can be found here)

2) Install MSYS (Minimal System, which can be found at the above MinGW site)

2) Build/Install Blitz++. Unpack to the home/username directory of MSYS. MSYS allows the emulation of the Linux Console to build applications and libraries. Consequently one can use the Blitz++ Installation instructions for Linux (which can be found here). 

3) Build/Install and Check QT (see QT installation instructions here).

4) Build/Install QwtPlot3D (see QwtPlot3D installation instructions here).

5) Download qC++ (You can get it here).

6) Unpack to desired location.

7) Start the command prompt/terminal and make the qC++ where you unpacked it the current working directory.

8) To build the library type "qmake qcplusplus.pro" and then "make". To build the examples, make the examples directory your current working directory and then type "qmake examples.pro" and then "make". These apply no matter what Operating System you have, that's the beauty of Qmake.

9) To install qC++ libraries, copy the files in "lib" directory to the libraries directory of your compiler and the files in the "include" directory to the "include" directory of your compiler.

10) To use the qC++ library simply add the "-lqcplusplus" to your makefiles or project settings of your IDE or Makefile.

Build Logs

Coming Soon.

Problems?!

Post it up on the forums or feel free to email me.

Copyright © 2005-2006, Shekhar Suresh Chandra.

All trademarks are properties of their respective owners.