I added to the repository a set of CMake configuration files to build
the qucs GUI components (not qucs-core and qucs-doc).
The intention in not (yet) to replace the autotools. CMake typically
builds out-of-tree and should not interfere with the existing build system.
The main reason to add these files is that they can be used on Qt
Creator as an existing project. It helps a lot to have code completion,
online help and a debugger.
You can either build all components or each one individually.
qucs/CMakeLists.txt : build all the GUI components
qucs/qucs/CMakeLists.txt : build only qucs and can be used as project on
The same goes for qucs-attenuator, qucs-edit, qucs-filter,
qucs-filter-v2, qucs-lib and qucs-transcalc.
On Qt Creator you can "Open File or Project..." and point to the
"CMakeLists.txt" for the component you want to work.
It will then propose a build directory and ask you to run CMake. Once it
is done it will parse the source and it should be ready to go.
One more thing. It is good to have a working installation elsewhere,
then you can add a QUCSDIR variable on Qt Creator pointing to that
location. It will then find all the icons and bitmaps used on run time.
Have a look on Projects > Build Environment.
To test the installation I typically do:
$mkdir build; cd build
$cmake .. -DCMAKE_INSTALL_PREFIX=~/local/qucs_devel
$make -j 8
In the hope it will be useful to someone.