-
Notifications
You must be signed in to change notification settings - Fork 212
/
README
107 lines (74 loc) · 3.09 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
--
-- README
--
-- Copyright (C) 2003, 2005, 2011 Stefan Jahn <stefan@lkcc.org>
--
-- This is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2, or (at your option)
-- any later version.
--
-- This software is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this package; see the file COPYING. If not, write to
-- the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
-- Boston, MA 02110-1301, USA.
--
Description
===========
Qucs is a circuit simulator with graphical user interface. The
software aims to support all kinds of circuit simulation types,
e.g. DC, AC, S-parameter and harmonic balance analysis. For
details see homepage:
http://qucs.sourceforge.net
Requirements
============
Qucs needs Qt version 5 or later. For simplicity, the Qt configuration is
currently obtained through pkg-config, which you need to install in addition
to Qt.
Qt packages have strange names. Try these for Qt5/6 respectively
# apt install qtbase5-dev qttools5-dev libqt5svg5-dev
# apt-install qt6-base-dev qt6-svg-dev
Development
===========
Qucs source code is stored in a git repo. Two build systems are included.
The traditional autotools build system needs to be created by developpers,
when not using a tarball. Run ./bootstrap after cloning. The CMake build
system does not require this step. Choose your pick.
Installation
============
Unpack the distribution tarball:
$ tar xvzf qucs-<version>.tar.gz (using GNU tar)
$ gzip -cd qucs-<version>.tar.gz | tar xvf - (using another tar)
Change into the source directory:
$ cd qucs-<version>
Configure the source package for your system,
$ ./configure
Configure the source package, but use Qt6
$ ./configure --with-qt-name=Qt6
Now compile the package:
$ make
Qt6 wants a newer standard, use the following.
$ make CXXFLAGS=-std=c++17
Install Qucs:
$ make install
You must have root privileges if you want to install the package in the
standard location (/usr/local) or in any location that is only writable
by root.
For further information on installing the package, please consult the
file INSTALL included in this distribution.
Please note: Users of the FreeBSD OS may use a GNU make (probably gmake)
to compile and install the package.
Getting the latest Git snapshot
===============================
You can always get the latest Qucs version from our Git repository.
Please use an official release if you want to work with Qucs. The Git
version might not even compile.
$ git clone http://git.code.sf.net/p/qucs/git qucs-git
Press 'Enter' when asked for a password. Run `sh bootstrap' and `configure'
(see above) with the appropriate options. Maintainance currently requires
Autoconf version 2.57 and GNU automake 1.7.0.