Simon De Backer
c88d1ef6bb
Refactoring Cmake
...
cleaning up the Cmake code
2020-12-13 00:40:43 +01:00
Simon De Backer
d2fb0d8ad1
Fix stop the run autotests of kcoreaddons
...
see
https://invent.kde.org/frameworks/kcoreaddons/-/blob/master/CMakeLists.txt#L98
issue:
CMake Error at /usr/share/ECM/modules/ECMAddTests.cmake:89 (add_executable):
Cannot find source file:
see
https://qelectrotech.org/forum/viewtopic.php?pid=13929#p13929
2020-12-11 23:57:17 +01:00
Simon De Backer
0207390ced
Revert "Remove all qm files"
...
This reverts commit c2acbc88ed06e6ff14bde199ffda1d2084de8112.
i will have to find another way for cmake
2020-12-11 23:43:15 +01:00
Simon De Backer
ce5cc25186
Fix stop the run autotests of kcoreaddons
...
see
https://invent.kde.org/frameworks/kcoreaddons/-/blob/master/CMakeLists.txt#L98
issue:
CMake Error at /usr/share/ECM/modules/ECMAddTests.cmake:89 (add_executable):
Cannot find source file:
see
https://qelectrotech.org/forum/viewtopic.php?pid=13929#p13929
2020-12-11 22:41:30 +01:00
Simon De Backer
74b112a4bb
Mod KF5 v5.76.0 => v5.70.0
...
see https://qelectrotech.org/forum/viewtopic.php?pid=13924#p13924
2020-12-11 18:05:21 +01:00
Simon De Backer
c2acbc88ed
Remove all qm files
...
why:
they are created at compile time,
but the existing ones in src dir prevent the ones created in the buid dir
=> no qm files are shipped
2020-12-11 17:41:10 +01:00
Simon De Backer
6ec9a04fda
Fix translation in Cmake
2020-12-11 17:29:05 +01:00
Simon De Backer
35ad994471
Mod more Cmake
2020-12-11 16:17:15 +01:00
Simon De Backer
83d802adf7
Mod Cmake first working build
2020-12-11 14:55:11 +01:00
Simon De Backer
aacbe57d51
Mod Pro file to close the gap with Cmake
2020-12-11 08:08:12 +01:00
Simon De Backer
62b71c0ba5
Fix more Cmake + Mod pragma message
2020-12-11 00:45:43 +01:00
Simon De Backer
eb49977c75
Fix som Cmake (add_definitions)
...
add_definitions(-DGIT_COMMIT_SHA=${GIT_COMMIT_SHA})
-DGIT_COMMIT_SHA=GIT_COMMIT_SHA
2020-12-11 00:16:49 +01:00
Simon De Backer
6da9c58458
Wip Fix preprocessor on Cmake
2020-12-10 21:19:45 +01:00
Simon De Backer
234f468f15
Fix GIT_COMMIT_SHA in Cmake
2020-12-10 21:18:42 +01:00
Simon De Backer
ed938c82cd
Mod Cmake
2020-12-10 19:03:36 +01:00
Simon De Backer
6aa30d5f57
Add QPointF code did not build
2020-12-10 18:52:20 +01:00
Simon De Backer
d15443cf93
Wip Fix preprocessor on Cmake
2020-12-10 18:49:35 +01:00
Simon De Backer
3fe0adc66e
QT6 QChar and int build error remove code for QT 6 or later!
...
this will have to be restored later.
2020-12-10 16:12:04 +01:00
Simon De Backer
d0c129478e
Mod Cmake en preprocessor
2020-12-10 00:08:26 +01:00
Simon De Backer
4de9c1d922
Add Test google mock
...
for imitating QET on tests (a file, a netwerk link, ...)
2020-12-09 10:48:38 +01:00
Simon De Backer
d89d1088a3
Cmake for UI files auto link
...
this is one of the errors:
the ui files must be linked and changed to h files
so the h files found in the code by preprocessor
2020-12-09 10:40:12 +01:00
Simon De Backer
6556fbaf38
Add QT test to tests
2020-12-08 21:00:43 +01:00
Simon De Backer
c83388c1d5
Add Test files
2020-12-08 20:44:50 +01:00
Simon De Backer
10c4c3d528
Wip Fix preprocessor on Cmake
2020-12-08 19:57:35 +01:00
Simon De Backer
1871b7ad12
Add more Cmake
2020-12-08 15:20:48 +01:00
Simon De Backer
6cd6efaca9
Add Catch2 and Google Test on Cmake
...
ToDo:
- Add compiling QElectroTech on Cmake (help needed)
- more Tests?
- Qt Test
- Boost Test
to test
run qtcreator
File > open => CMakeLists.txt
2020-12-08 12:18:20 +01:00
plc-user
b70775bc84
added elements to WAGO and corrected typo
2020-12-07 10:15:17 +01:00
Simon De Backer
cffec76018
Fix warning: implicit conversion from 'int' to 'float'
...
changes value from 2147483647 to 2147483648
/* The largest number rand will return (same as INT_MAX). */
#define RAND_MAX 2147483647
(static_cast<float>(quint32) / int * 8)
why cast an int to a float to then divide by an int?
just divide the int by an int.
2020-12-05 08:24:35 +01:00
Lars Biskupek
ebe22f1131
Update qet_de.ts
...
Translation string for "Tension / Protocole" set from unfinished to translated.
2020-12-05 03:56:55 +01:00
Lars Biskupek
f3888be8a6
Updated somne elements I created earlier
2020-12-05 03:56:55 +01:00
Simon De Backer
53aaa03967
fix QT DEPRECATED VERSION 5.15.2 and QT6
...
-QPrinter
2020-12-04 22:46:11 +01:00
Claveau Joshua
b22741732b
Minor fix : folio-report information 'tension_protocol' isn't displayed
...
When a folio report have a text item witch must display the information
'tension protocol' the text is empty.
Replace the string 'tension/protocol' by 'tension_protocol' in
QETInformation namespace.
Move the static QStrings of the namespace QETInformation from
qetinformation.cpp to qetinformation.h to be use everywhere in the code.
2020-12-04 21:07:42 +01:00
Simon De Backer
77e6248ac9
fix QT DEPRECATED VERSION 5.15.2 and QT6
...
-QPrinter
2020-12-04 18:15:37 +01:00
Simon De Backer
ccd76f902d
fix QT DEPRECATED VERSION 5.15.2
...
-Qt::MidButton
2020-12-04 18:13:48 +01:00
Lars Biskupek
945b690430
Update of German Language File
2020-12-03 18:02:15 +01:00
Claveau Joshua
0f86685ebe
Remove duplicated elements
2020-12-02 20:04:01 +01:00
Claveau Joshua
862f311f5a
Remove duplicated elements
2020-12-02 19:07:58 +01:00
Claveau Joshua
abc6b35d4c
Remove duplicated elements
2020-12-02 18:57:08 +01:00
Claveau Joshua
ada563719b
Minor fix
2020-12-02 18:47:28 +01:00
Laurent Trinques
ed455609d5
Add new symbols, thanks Mario
2020-12-02 14:27:27 +01:00
Laurent Trinques
2f004c271f
Update displayed version to release candidate
0.8.rc
2020-12-01 15:45:48 +01:00
gleissonjoaquim3
bafe7a39db
Fixed spelling error on Translation PT_BR
2020-12-01 07:44:47 +01:00
gleissonjoaquim3
0b1e012a32
Updated translation PT_BR
2020-12-01 07:44:47 +01:00
Claveau Joshua
e0a03e7353
Remove duplicated elements
2020-11-29 12:49:04 +01:00
Claveau Joshua
68215d099c
Remove duplicated elements
2020-11-29 12:37:56 +01:00
Claveau Joshua
3b472591b6
Remove duplicated elements
2020-11-29 11:59:20 +01:00
Claveau Joshua
d3cb7ef08c
Remove duplicated elements
2020-11-29 11:51:16 +01:00
Claveau Joshua
049848737b
Remove duplicated elements
2020-11-29 11:44:02 +01:00
Claveau Joshua
d3348e25be
Remove duplicated elements
2020-11-29 11:06:06 +01:00
Claveau Joshua
764cdfea53
Remove duplicated elements
2020-11-29 11:00:04 +01:00