Retour au classement

ra3xdh/qucs_s

C++ra3xdh.github.io

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

electronicscircuitsimulationmodellingngspicexyceqtqt5qt6
Croissance des étoiles
Étoiles
1.3k
Forks
162
Croissance hebdomadaire
Issues
24
5001k
juil. 2017juil. 2020juil. 2023juil. 2026
README

Qucs-S: Quite universal circuit simulator with SPICE

Boosty Telegram Website Packaging status

About Qucs-S

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

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

See the https://ra3xdh.github.io/ for more details. Qucs-S is based on original Qucs code: https://github.com/Qucs/qucs

Donation

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

Binary installation

The instruction how to install binary version could be found on this wiki page: https://github.com/ra3xdh/qucs_s/wiki/Installation

Qucs-S supports Linux, Windows, FreeBSD, and MacOS.

Build instructions

Use CMake to build Qucs-S. Install all necessary dependencies: GCC, Qt, Flex, Bison and SPICE (optional). Install ngspice 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 time dependencies. 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 dos2unix
sudo 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 libqt6opengl6-dev

Fedora

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

Compiling

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

git submodule init
git submodule update
mkdir builddir
cd builddir
cmake ..  -DCMAKE_INSTALL_PREFIX=/your_install_prefix/
make
make 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 if CMAKE_INSTALL_PREFIX is not defined.

Qt5/Qt6 support

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

Running

Then run qucs-s executable to launch the application:

cd /your_installation prefix/bin
./qucs-s

clangd LSP support

Clangd looks for compile_commands.json file in parent folders of the file it processes. compile_commands.json should be generated along with other build configuration files when you run cmake as part of building routine:

mkdir builddir
cd builddir
cmake ..  -DCMAKE_INSTALL_PREFIX=/your_install_prefix/

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

cd project_root
ln -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.

Dépôts similaires
m3y54m/Embedded-Engineering-Roadmap

Comprehensive roadmap for aspiring Embedded Systems Engineers, featuring a curated list of learning resources

Creative Commons Attribution Share Alike 4.0 Internationalembeddedembedded-systems
12.4k1.3k
kitspace/awesome-electronics

A curated list of awesome resources for Electronic Engineers and hobbyists

Creative Commons Zero v1.0 Universalawesomeelectronics
7.9k523
EmenstaNougat/ESP32-BlueJammer

The ESP32-BlueJammer (Bluetooth jammer, BLE jammer, WiFi jammer, RC jammer) disrupts 2.4GHz communications. Using an ESP32 and nRF24 modules, it generates noise and unnecessary packets, causing interference between the devices communicating, making them unable to work as intended. Ideal for controlled disruption and security testing.

Otherbluetoothbt
esp32-bluejammerflasher.pages.dev
7k776
Kaustubh-Natuskar/moreThanFAANGM

This repository contains opportunities for you to apply to more than 400 product base companies(NOT JUST FAANGM) & good start-ups.

MIT Licensejobsfaang
kaustubh-natuskar.github.io/moreThanFAANGM/
5.2k1k
atopile/atopile

Design circuit boards with code! ✨ Get software-like design reuse 🚀, validation, version control and collaboration in hardware; starting with electronics ⚡️

PythonPyPIMIT Licensecadeda
atopile.io
3.5k219
LibrePCB/LibrePCB

A powerful, innovative and intuitive EDA suite for everyone!

C++GNU General Public License v3.0edaelectronics
librepcb.org
2.9k330
KiCad/kicad-source-mirror

This is an active mirror of the KiCad development branch, which is hosted at GitLab (updated every time something is pushed). Pull requests on GitHub are not accepted or watched.

C++GNU General Public License v3.0kicadwxwidgets
gitlab.com/kicad/code/kicad
2.8k673
issus/altium-library

Open source Altium Database Library with over 200,000 high quality components and full 3d models.

3d-modelsaltium
altiumlibrary.com
2.4k1k
tscircuit/tscircuit

Create real electronics with Typescript and React

TypeScriptnpmMIT Licensecadeda
tscircuit.com
2.3k292
Part-DB/Part-DB-server

Part-DB is an Open source inventory management system for your electronic components

PHPPackagistGNU Affero General Public License v3.0part-dbsymfony
docs.part-db.de
1.7k217
devbisme/skidl

SKiDL is a library that lets you design electronic circuits using Python.

PythonPyPIMIT Licensekicadeda
devbisme.github.io/skidl/
1.6k177
jamisonderek/flipper-zero-tutorials

See README.md for link to Discord & YouTube. I will use this repository for my Flipper Zero projects & wiki.

CMIT Licenseelectronicsflipper
1.4k116