109 Commits

Author SHA1 Message Date
Krasilnikov Sergey
b1681daaab fix multiple enum definition 2023-06-16 16:20:34 +03:00
Vadim Kuznetsov
c9dac25b20 Change required CMake version to ensure compatibility with Ubunutu22.04 #264 2023-05-25 09:09:49 +03:00
Vadim Kuznetsov
c6dec8391f Set explicit locale for QDoubleValidator 2023-03-25 20:12:58 +03:00
dsm
a22e4ba234 add msvc build support. - added msvc compiler flags. - fixed wrong file encoding. - change VLA to fixed or dynamic array for msvc. - succesfully build with qt6.5.0 and vs2019 on win10 native. 2023-02-28 14:49:51 +03:00
dsm
3dc306a611 fixed fPIC and corrected cmake qt5 package find. 2023-02-14 09:52:43 +03:00
dsm
d8bd72206b cmake update
1. cmake minimum version updated to 3.18
2. find_package qt updated no need for  -DWITH_QT6
2023-02-13 21:50:15 +03:00
Vadim Kuznetsov
4e782ec31e Set -fPIC using CMake 2023-02-13 15:28:36 +03:00
Muhammet Şükrü Demir
834ea4d19a compiler options more generic now 2023-02-13 13:25:30 +03:00
Vadim Kuznetsov
6616ff4ffb Attenautor and Filter compiles with Qt6 2023-01-26 12:12:21 +03:00
Vadim Kuznetsov
764bf9ff85 Provide options to build utilities with Qt6 2023-01-26 11:15:02 +03:00
Krasilnikov Sergey
2a76359bfd fix qucs setShorcuts() deprecation 2023-01-14 22:02:59 +03:00
Vadim Kuznetsov
98b1ca187d Merge branch 'master' into current 2022-10-30 12:34:50 +03:00
Vadim Kuznetsov
2111e52606 Fix equation type for auto-generated filter circuit #148 2022-09-10 16:59:43 +03:00
Vadim Kuznetsov
20d3207c8b Hide microstrip filters when Ngspice is set as default #96 2022-08-06 16:26:45 +03:00
luz paz
10c1ee639c Fix various typos (including documenation)
Found via `codespell -q 3 -S *.ts,./qucs/ChangeLog -L ba,coul,inout,leaded,nd,numer,ro`
2022-07-05 07:08:28 -04:00
Vadim Kuznetsov
4a10052fa1 Update minimum cmake version 2022-04-26 16:40:35 +03:00
Vadim Kuznetsov
8e148581ea Fix CMakeLists
1. Remvove invalid option -Wno-deprecated-register
2. Supress messages form qDebug() when Release mode activated
2022-02-19 12:04:51 +01:00
Vadim Kuznetsov
c9ffce91a7 Fixed default font in utilities 2022-02-18 19:47:32 +01:00
Vadim Kuznetsov
680e69e3e2 Qucs-filter compiled and run on Qt5 2022-02-14 22:24:38 +01:00
Vadim Kuznetzov
c56cfe6a15 Disable Autotools 2017-10-21 15:03:09 +03:00
Vadim Kuznetzov
a62186403b Further remove WITH_SPICE... 2017-10-20 18:23:21 +03:00
Vadim Kuznetzov
9a1a7b17ec Remove WITH_SPICE CMake switch 2017-10-20 17:37:13 +03:00
Vadim Kuznetzov
d1bd120d41 Don't use QUCSDIR with QUCS-S 2016-12-08 11:04:16 +03:00
Vadim Kuznetzov
5e9ceffa49 Fixed after merge of release-0.0.19 2016-11-05 17:54:15 +03:00
Vadim Kuznetzov
080af2931e Added icons set and manpages for Qucs-S to avoid rewriting existing ones after installation 2016-07-22 15:00:25 +03:00
Vadim Kuznetzov
5bb55b9562 Replaced hardcoded resurces paths
Resources paths at $prefix/share/qucs/ are defined now via QUCS_NAME
marcro from config.h
2016-07-22 15:00:25 +03:00
Vadim Kuznetzov
eba11e32ea Implemented building of two apllications with CMake
1. Added WITH_SPICE CMake variable. If it is not set usual Qucs will be
built. Application name is set to "qucs". If it is set, Qucs-S will be
built. Application name will be to "qucs-s".
2. Removed hardoced resources paths in "/usr/share/qucs", etc and
application names. Now resource paths depends on application name.
Resources will be installed into PREFIX/share/qucs-s/ for Qucs-S
3. Introduced a special definition QUCS_NAME in config.h. It will store
real application name.
4. Disabled default Debug mode for CMake
5. Exclude qucsattenuator, qucsedit, qucsresocdes, qucstrans, and qucshelp
(except docs) from the build system when building with WITH_SPICE switch
2016-07-22 14:57:44 +03:00
in3otd
9951c6045b Instantiate QApplication sooner so applicationDirPath() is valid
applicationDirPath() was used before a QApplication was instantiated
so it returned an empty path. This caused the application language
files path to be computed incorrectly.
2016-04-17 22:27:51 +02:00
Guilherme Brondani Torri
7d0feb8b08 Remove LANGUAGEDIR definition.
The language files are installed into
  [prefix]/share/qucs/lang
regardless of the definition of LANGUAGEDIR.
2016-04-08 22:03:37 +02:00
Guilherme Brondani Torri
ea38769bda Avoid using LANGUAGEDIR definition.
To have qucs in a relocatable directory (in Windows) it cannot rely
the prefix given at build time. This is actually a bug.

This patch let each tool find the language files at runtime, relative
to the location of the executable.
2016-04-08 22:03:37 +02:00
Guilherme Brondani Torri
da81c032b1 DOCDIR only matters to qusc-help 2016-02-06 05:44:26 +01:00
Guilherme Brondani Torri
f656794a31 LIBRARYDIR only relevant to qucs-lib 2016-02-06 05:40:52 +01:00
Guilherme Brondani Torri
a3bbbfdf92 remove traces of OCTAVEDIR 2016-02-06 05:37:32 +01:00
Guilherme Brondani Torri
915b1bd125 remove references to BINARYDIR 2016-02-06 05:33:38 +01:00
Guilherme Brondani Torri
7530640d99 remove references to BITMAPDIR 2016-02-06 05:31:03 +01:00
Guilherme Brondani Torri
46bf4668e7 Remove deprecated/unmaintained .ap build scripts.
[skip ci]
2016-01-28 21:21:11 +01:00
Felix Salfelder
25f7544f74 make distcheck work in qucs
- add SUFFIXES for .h->.moc.cpp rule
- add various _HEADERS
- distribute qucs.qrc
- add several qrc files
- add more filter headers
- sort out qm rule
- add translation files to dist
2015-09-28 22:03:45 +02:00
andresmmera
c901b18a39 Quarter wave filters added to qucs-filter
In order to add more filter topologies to qucs-filter tool, quarter\wave
structures for bandpass and notch masks were included. Since TL_filter class
provides microstrip line synthesis, microstrip quarter wave filters were also
implemented. Given the desired filter parameters, the quarterwave_filter class
calculates the impedance/width and length of the transmission lines using [1].
qucs-filter.cpp was also modified to call quarter_wave_filter class.

On the other hand, the basic design equations of the filter were added to the
technical documentation "qucs-doc/technical/synthesis.tex"

Quarter wave filters added to qucs-filter

In order to add more filter topologies to qucs-filter tool, quarter\wave
structures for bandpass and notch masks were included. Since TL_filter class
provides microstrip line synthesis, microstrip quarter wave filters were also
implemented. Given the desired filter parameters, the quarterwave_filter class
calculates the impedance/width and length of the transmission lines using [1].
qucs-filter.cpp was also modified to call quarter_wave_filter class.

On the other hand, the basic design equations of the filter were added to the
technical documentation "qucs-doc/technical/synthesis.tex"

[1] Microwave Engineering. David M Pozar. John Wiley and Sons Inc. Pg 437-441"

Quarter wave bandpass and notch filter added to qucs-filter tool

Quarter wave bandpass and notch filter added to qucs-filter tool

New sources added to Makefile.am

1) Added quarter wavelength bandpass and notch filters to qucs-filtertool. Both the transmission line and the microstrip are available.2) Corrected the text case of a schematic text block. Minor change.3) Filter equations added to qucs-doc/technical/synthesis.texIn order to add more filter topologies to qucs-filter tool, quarterwave structures for bandpass and notch masks were included. SinceTL_filter class provides microstrip line synthesis, microstrip quarterwave filters were also implemented.Given the desired filter parameters, the quarterwave_filter class\
calculates the impedance/width and length of the transmission lines\
using [1]. qucs-filter.cpp was also modified to call\
quarter_wave_filter class. On the other hand, the basic equations of\
the filter were added to the technical documentation qucs-doc/

1) Added quarter wavelength bandpass and notch filters to qucs-filter\tool. Both the transmission line and the microstrip are available.\2) Corrected the text case of a schematic text block. Minor change.\3) Filter equations added to qucs-doc/technical/synthesis.tex\4) New sources added to Makefile.am\In order to add more filter topologies to qucs-filter tool, quarter\wave structures for bandpass and notch masks were included. Since\TL_filter class provides microstrip line synthesis, microstrip quarter\wave filters were also implemented.\Given the desired filter parameters, the quarterwave_filter class\calculates the impedance/width and length of the transmission lines\ using [1]. qucs-filter.cpp was also modified to call\ quarter_wave_filter class. On the other hand, the basic equations of\ the filter were added to the technical documentation qucs-doc/technical/synthesis.tex\[1] Microwave Engineering. David M Pozar. John Wiley and Sons Inc. Pg 437-441

1) Added quarter wavelength bandpass and notch filters to qucs-filter\tool.
Both the transmission line and the microstrip are available.
2) Corrected the text case of a schematic text block. Minor change.
3) New sources added to Makefile.am
4) Filter equations added to qucs-doc/technical/synthesis.tex
5) Corrected misspelling at 'synthesis.tex'

In order to add more filter topologies to qucs-filter tool, quarter\wave
structures for bandpass and notch masks were included. Since TL_filter class
provides microstrip line synthesis, microstrip quarter wave filters were also
implemented. Given the desired filter parameters, the quarterwave_filter class
calculates the impedance/width and length of the transmission lines using [1].
qucs-filter.cpp was also modified to call quarter_wave_filter class.

On the other hand, the basic design equations of the filter were added to the
technical documentation "qucs-doc/technical/synthesis.tex"

[1] Microwave Engineering. David M Pozar. John Wiley and Sons Inc. Pg 437-441"

GPL license

I cannot see the conflicts... Trying to solve them by commiting this...
2015-09-28 08:08:41 +02:00
Guilherme Brondani Torri
dbf6ef26e1 [cmake] remove unrecognized compiler flag.
warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default]

This is unknown to mingw 4.8.2 and MSVC10.
2015-07-03 17:12:25 +02:00
Guilherme Brondani Torri
b311f8ab22 filter: further cleanup of M_PI, and others 2015-01-20 16:34:14 +01:00
Guilherme Brondani Torri
fdb0680f13 filter: move from macro to function: coth, sech 2015-01-20 11:01:26 +01:00
Guilherme Brondani Torri
9ac577f98c filter: use static const, rename constants
* avoid clash with math.h
2015-01-20 10:56:54 +01:00
Guilherme Brondani Torri
08521cb1ac sort list of file 2015-01-20 10:54:08 +01:00
Guilherme Brondani Torri
44072decc6 filter: cmake track headers 2015-01-20 10:53:30 +01:00
Guilherme Brondani Torri
8a909775ca filter: move math defines to typed constants 2015-01-20 10:37:40 +01:00
Guilherme Brondani Torri
ecc521fd7b Fix compilation on mingw32.
* cmath does not have the math.h defines (ex. M_PI)
2015-01-20 10:37:40 +01:00
yodalee
648081b5a4 add Wno-deprecated-register C++flags
disable noisy warning
2015-01-10 08:06:46 +08:00
Guilherme Brondani Torri
a8c734b147 replace remaining 'math.h' by 'cmath' header 2015-01-09 13:53:16 +01:00
Vadim Kuznetzov
a7a742fe25 Added to qucs-tools CMakeLists.txt 2015-01-08 18:54:39 +03:00
global667
77df7c5bdd Formattings and comment deletion
Some comments was delete. No code changes!
2014-11-27 20:16:14 +01:00