To build the project, the PocketSphinx project has to be built first. In the example project's source code that comes with this chapter, there are two Makefiles underneath the sphinx folder, one in the pocketsphinx folder and one in the sphinxbase folder. With these, the two libraries that form PocketSphinx will be built.
After this, one can build the Qt project, either from Qt Creator or from the command line, by executing the following command:
mkdir build
cd build
qmake ..
make