Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Qucs-S is a circuit simulation program with Qt-based GUI

License

NotificationsYou must be signed in to change notification settings

ra3xdh/qucs_s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BoostyTelegramWebsitePackaging status

About Qucs-S

Qucs-S provides a fancy graphical user interface for a number of popular circuit simulationengines. Qucs-S contains instruments for schematic capture, visualization and provides differentspassive and active components including device library. The following simulation kernels are supported:

  • Ngspice (recommended)
  • Xyce
  • SpiceOpus
  • Qucsator (non-spice)

See thehttps://ra3xdh.github.io/ for more details. Qucs-S is basedon original Qucs code:https://github.com/Qucs/qucs

Donation

Qucs-S accepts donation using Boosty platform:https://boosty.to/qucs_s

Build instructions

Use CMake to build Qucs-S. Install all necessary dependencies: GCC, Qt, Flex, Bison and SPICE(optional). Installngspice that is not needed for build, but serves as the simulation kernel.

Dependencies

Qucs-S requires Qt6 libraries including QtCharts, CMake, flex, bison, gperf, and dos2unix as compile timedependencies. Install these packages using the package manager of your distribution before compiling Qucs-S.Ngspice is not required at compile time, but it is required as runtime dependency to run the simulation.

Here are some examples for the popular Linux distributions.

Ubuntu or Debian

sudo apt-get install ngspice build-essential git cmake flex bison gperf dos2unixsudo apt-get install qt6-base-dev qt6-tools-dev qt6-tools-dev-tools libglx-dev linguist-qt6 sudo apt-get install qt6-l10n-tools libqt6svg6-dev libgl1-mesa-dev qt6-charts-dev libqt6opengl6-dev

Fedora

sudo dnf install gcc-c++ cmake git flex bison gperf dos2unix ngspicesudo dnf install qt6-qtbase-devel cmake qt6-qtsvg-devel qt6-qttools-devel qt6-qtcharts-devel

Compiling

After installing the dependecies, clone this git repository and execute in the top directory:

git submodule initgit submodule updatemkdir builddircd builddircmake ..  -DCMAKE_INSTALL_PREFIX=/your_install_prefix/makemake install

Since the v25.1.0 the Qucs-S will be configured with Qt6 by default. Substutute the/your_install_prefix/as desired installation directory. Substitute any desire path (for example$HOME/qucs-s) here.You may omit this option and installation steps. Default installation directory will be/usr/local ifCMAKE_INSTALL_PREFIX is not defined.

Qt5/Qt6 support

Qt5 support has been dropped since v25.1.0. Only Qt6 libraries are supported. Set theWITH_QT6=ONcmake flag if compiling the Qucs-S versions before v25.1.0

Running

Then runqucs-s executable to launch the application:

cd /your_installation prefix/bin./qucs-s

clangd LSP support

Clangd looks forcompile_commands.json file in parent folders of the file it processes.compile_commands.json should be generated along with other build configuration fileswhen you runcmake as part of building routine:

mkdir builddircd builddircmake ..  -DCMAKE_INSTALL_PREFIX=/your_install_prefix/

Ifcompile_commands.json is already there, create a symbolic link to it from project root dir:

cd project_rootln -s ./builddir/compile_commands.json compile_commands.json

It may take some time to index files at first run. Clangd configuration is in.clangd file.


[8]ページ先頭

©2009-2025 Movatter.jp