Tried to Merge https://github.com/qelectrotech/qelectr … or/pull/48 Martin pull request.
Building in Debug mode build , but failing in Release Mode build..
3,201 2020-06-14 05:56:24
Re: code no longer compiles for Qt5.15 (8 replies, posted in Code)
3,202 2020-06-13 16:17:03
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
1280 x 768 en 14 " en 2020 c'est sur c'est pas génial surtout sur QET.
3,203 2020-06-13 15:56:59
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
tout à fait Galexis
Une capture d’écran, stp?
3,204 2020-06-13 15:12:43
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
Si tu affiches trop de champs dans tes tables, il est clair que si les dimensions de tes folios sont pas énormes ça va dépasser.
L'outil d'ajustement a ces limites pour redimensionner le tableau....
3,205 2020-06-13 15:05:22
Re: deprecated fix patch files for Qt5.15 (14 replies, posted in Code)
Fixed, but I don't understand why git am can't apply sources/nomenclature.cpp:66, not tried git apply..
Maybe :
https://stackoverflow.com/questions/241 … introduced
3,206 2020-06-12 20:26:11
Re: deprecated fix patch files for Qt5.15 (14 replies, posted in Code)
Application de fix deprecated warning QTextStream& QTextStreamFunctions::endl(QTextStream&)
error: le patch a échoué : sources/nomenclature.cpp:66
error: sources/nomenclature.cpp : le patch ne s'applique pas
le patch a échoué à 0001 fix deprecated warning QTextStream& QTextStreamFunctions::endl(QTextStream&)
3,207 2020-06-12 14:54:44
Re: Installation photovoltaïque (20 replies, posted in FR : Aide, suggestions, discussions, ...)
Ce serait pas plus simple de les re dessiner depuis QET, beaucoup de folios?
Un workaround serait de convertir chaque page de ton PDF en DXF, puis de la passer dans le convertisseur DXF, mais ton folio sera vu que comme un seul élément.
3,208 2020-06-12 14:32:12
Re: deprecated fix patch files for Qt5.15 (14 replies, posted in Code)
Merged, thanks Simon.
https://git.tuxfamily.org/qet/qet.git/c … 1cdec1f1b2
3,209 2020-06-11 20:30:54
Re: AREI graphic symbols (Belgium) (12 replies, posted in Elements)
For domestic symbols
the folder Home installation contains 265 elements, parts in 16 folders.
Path of collection : common://10_electric/11_singlepole/500_home_installation
Path in the file system : /usr/share/qelectrotech/elements/10_electric/11_singlepole/500_home_installation
For architectural symbols
the folder Architectural contains 77 elements, parts in 0 folders.
Path of collection : common://10_electric/11_singlepole/500_home_installation/30_architectural
Path in the file system : /usr/share/qelectrotech/elements/10_electric/11_singlepole/500_home_installation/30_architectural
3,210 2020-06-09 10:35:58
Re: Import Probleme (4 replies, posted in Import DXF)
Work with an older DXF converter version like 2020-03-16.
3,213 2020-06-02 18:03:37
Re: deprecated fix patch files (32 replies, posted in Code)
Merged, thanks.
3,214 2020-06-01 11:55:27
Re: deprecated fix patch files (32 replies, posted in Code)
FYI, AppImage use now Qt 5.15.0.
https://invent.kde.org/sdk/kdesrc-build/-/issues/45
3,215 2020-06-01 11:54:15
Re: deprecated fix patch files (32 replies, posted in Code)
Merged, thanks.
3,216 2020-06-01 11:50:55
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
Le 2
3,217 2020-06-01 11:38:37
Re: Section et couleur fils (43 replies, posted in FR : Aide, suggestions, discussions, ...)
Faites des tests avec les renvois de folios en supprimant un renvoi, édition d'un conducteur puis rajout de couleur ou section, relier de nouveau, suivant si la case était coché ou pas lors de l’édition du conducteur vous n'aurez pas les memes messages de liaisons.
Bref, je continue à penser que ce n'est pas une bonne idée.
Apres si vos tableaux sont câblés en fonction d'une norme de couleur précise dans la recherche de renvois a relier vous pourrez maintenant chercher aussi par section et ou couleur.
3,218 2020-05-31 23:18:04
Re: Section et couleur fils (43 replies, posted in FR : Aide, suggestions, discussions, ...)
eh bien, soit !
Enjoy !
3,219 2020-05-31 11:50:27
Re: deprecated fix patch files (32 replies, posted in Code)
Merged, thanks.
for "fix deprecated -Wdeprecated-copy (C++11)"
I prefer saw some deprecated function warnings marked during compilation and still don't have much time to see them (Linux time make -j49 ~ 16 seconds, Catalina VM ~ 20 seconds..cross-compile for Windows ~20 seconds, rather than silently adding new bugs which will be hard to find.
3,220 2020-05-31 07:43:29
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
- Log -----------------------------------------------------------------
commit 0897ed43fe532cc50c04b2ae03bf043e9805f0bf
Author: Claveau Joshua <Joshua@>
Date: Sat May 30 20:18:44 2020 +0200
Add table dialog : table config can saved and loaded.
The dialog used to edit the configuration of QetGraphicsTable item can
now save and load a configuration from graphics_table.json file located
in the user config dir.
3,221 2020-05-30 11:50:00
Re: deprecated fix patch files (32 replies, posted in Code)
I see, thanks.
3,222 2020-05-30 10:03:09
Re: deprecated fix patch files (32 replies, posted in Code)
I tried "0001-fix-deprecated-Wdeprecated-copy.patch" is reduce warnings 50 to 6, but I don't know if I can push it?
First patch in attached patch reduce warnings 50 -> ~20.
3,223 2020-05-30 07:15:43
Re: deprecated fix patch files (32 replies, posted in Code)
I had to revert it
https://git.tuxfamily.org/qet/qet.git/c … e91882a445
Edit : ok I understood, I use Qt version 5.12.5 and this function was introduced in Qt 5.13.
3,224 2020-05-29 18:41:02
Re: deprecated fix patch files (32 replies, posted in Code)
For the warnings: Qt prepares the future and Qt 6, that is understandable and therefore marks a lot of obsolete method, if you compile it in an old version of Qt, you do not see any warning.
Thanks a lot for your work.
3,225 2020-05-29 18:31:14
Re: deprecated fix patch files (32 replies, posted in Code)
My goal is to understand why the content of the .qet file always changes when saving, because this makes it difficult for git.
(everything is always different)
Qt save XML attributes in a random order each time, this is one of the reasons why we added UUID to control the versions of the elements.
https://qelectrotech.org/forum/viewtopi … 4283#p4283
Attributes
For some time and over the succeeding versions of Qt, it became obvious that the attributes in the XML definition of the elements were not always be read and saved in the same order on each QET startup.
A Qt class compares attributes to know if a newly dragged/dropped element on the diagram already exists in the project. In this case, the class compares all the attributes.
For some speed reasons, this method compares the whole attributes string: if the position of an attribute is changed, the element is considered as different (new).Among all possible solutions, the one which seems to us to be the easiest one is the generation of an universal unique identifier (UUID) for each element of the collection. In this way, only the UUID attributes of the files must be compared and not the whole XML attributes strings.
The elements editor generates automaticaly an UUID during the saving of the element file.The database speeds up the loading of numberous elements by managing changes of element thumbnails in tables. To update the thumbnails cache, the database does no longer compare the modification date of these files, only the UUID attributes.
The official collection was patched to add the new UUID attribute.
Script bash unpretentious, for those on GNU/Linux who want to patch their own collection.
