145 Commits

Author SHA1 Message Date
ThomasZecha
0d97f032bb Fix compiler warnings
Qt6 QTranslator::load() uses [[nodiscard]] which currently leads to
compiler warnings. This is fixed using static_cast<void>.

Signed-off-by: ThomasZecha <zecha@ihp-microelectronics.com>
2025-01-07 12:11:57 +01:00
Vadim Kuznetsov
6b39fda03c Remove WITH_QT6; switch to Qt6 by default 2025-01-03 22:06:56 +03:00
Muhammet Şükrü Demir
fb686be61f add some compiler opt. flag 2024-11-26 21:05:14 +00:00
Integral
30f8ddd583
refactor: replace non-empty QString constructors with QStringLiteral() 2024-11-04 15:53:11 +08:00
dsm
4f8a7aac01 for continous build switch nightly versioning. 2024-08-26 20:20:18 +03:00
dsm
95786c2647 fixed MSVC build crash. 2024-07-31 12:02:41 +03:00
dsm
51330f176b changed cpp standard before qt6.7 cpp17 otherwise cpp20 2024-07-31 12:02:41 +03:00
dsm
c89b84b306 cmake refactoring.
- cmake files refactored for different compiler and only enable warnings for debug build.

- switch c++17 to c++20 so recent Qt version support C++20.
2024-07-31 12:02:41 +03:00
Vadim Kuznetsov
83e3598ef4 Switch to C++17 everywhere 2024-07-15 09:00:58 +03:00
Vadim Kuznetsov
30c24ab5ad Revert WITH_QT6 flag 2024-03-06 10:21:32 +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
Adam Strzelecki
e4b93b0313 macOS: Fix bundle fixup 2023-02-12 22:44:48 +01:00
Adam Strzelecki
ea1531bc8f macOS: Deploy plugins only for non-static builds 2023-02-12 22:44:48 +01:00
Vadim Kuznetsov
e3b226a1b6 Transcalc compiles with Qt6 2023-01-26 13:36:39 +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
de259450cb Fix qucstrans build 2022-08-31 19:46:53 +03:00
Vadim Kuznetsov
3b0ddb0509 Import transcalc utility from Qucs Qt4 package 2022-08-26 15:55:54 +03:00
Vadim Kuznetzov
68fbaebf6e Remove duplicated tools from Qucs 2017-10-21 14:59:34 +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
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
Felix Salfelder
e4dc3ca3c7 Merge branch 'in3otd-issue_372' into release-0.0.19 2016-04-17 13:17:14 +01:00
in3otd
90d2e23060 Use QSettings to set the working and home directory
Qucs Transcalc was using a fixed path (~/.qucs) to store and
retrieve the GUI input values, ignoring the QucsHomeDir that
could have been defined by the main GUI
2016-04-17 12:05:45 +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
andresmmera
0547f55205 Fixed impedance equation in transcalc
The wave impedance equation was wrong. As given by Pozar's book (Page
113, Equation 3.86):
Z_{TE} = k * eta / beta
where k is the wave number, beta is the propagation constant and eta is
the intrinsic impedance of the waveguide. The problem was that eta was
calculated for e_r = 1 and mu_r = 1
2016-02-18 22:29:54 +01: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
bbda8e5b79 Fixed missing wire
It was missing a wire when generating a microstrip line in Transcalc.
This happened because the line 1249 at 'qucstranscalc.cpp' was
commented.

Steps to reproduce:
1) Open Transcalc (Ctrl+4)
2) Select 'Microstrip line' at the 'Transmission line type' combobox
3) Execute->Copy to clipboard
4) Paste in the Qucs schematic.
5) The vertical wire on the right is missing
2015-09-20 09:09:05 +02:00
in3otd
e1cea8177b Correct CPW formulae in QucsTranscalc and qucsator
The coplanar waveguide characteristics formulae were incorrect, mainly
due to an incorrect usage of the algorithm used to compute the complete
elliptic integral of the first kind K(); the argument passed to the
function was the elliptic modulus k, while the function was expecting
the parameter m=k^2.
The function providing K(k) was rewritten, in a slightly simpler form,
to accept the elliptic modulus k as input parameter.
The same formulae were corrected in both QucsTranscalc and qucsator.
The Technical Papers document was updated with a short description
of the algorithm used to compute K(k).
2015-07-12 15:35:07 +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
9246b219c9 fix various warnings of unused variable, arguments... 2015-01-20 16:32:12 +01:00
Guilherme Brondani Torri
fd0c8dcd94 transcalc: use static const, rename constants
* avoid clash with math.h names
2015-01-20 10:49:50 +01:00
Guilherme Brondani Torri
f78d84c0a4 sort list of files 2015-01-20 10:43:20 +01:00
Guilherme Brondani Torri
2643fa8435 cmake: track transcalc headers 2015-01-20 10:41:53 +01:00
Guilherme Brondani Torri
5b4fc3bb3d transcalc: silence warning of unused variable 2015-01-20 10:37:40 +01:00
Guilherme Brondani Torri
f95a5ac036 transcalc: move math defines to unit.h 2015-01-20 10:37:40 +01:00