QConf allows you to have a nice configure script for your qmake-based project. It is intended for developers who don’t need (or want) to use the more complex GNU autotools. With qconf/qmake, it is easy to maintain a cross-platform project that uses a familiar configuration interface on unix.
Part of the rationale for qconf is to piggyback on what Qt already knows. Qt has solved much of the various unix platform differences, in the areas of files, sockets, and even data types. These differences were acknowledged during Qt’s configuration process, and dealt with already, relieving us from this responsibility. For example, no qconf check is needed to determine which data type should be used for an unsigned 32bit integer. Q_UINT32 is your answer. With less checks to perform, qconf is generally faster than the average autoconf script, and has less output.
What features are supported?
· Tested under GNU, BSD, and Solaris environments
· Dependency checking
· Ability to add custom processing
How does it work?
The QConf project generates a ‘configure’ script that you can copy into your project (it is the only file needed). Running the script will perform some checks, create conf.pri, and run qmake on your .pro file. None of your project files are modified. It is up to you to include conf.pri in your .pro file. See the README for more details.