Thanks Simon.
3,027 2020-06-02 18:03:37
Re: deprecated fix patch files (32 replies, posted in Code)
Merged, thanks.
3,028 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,029 2020-06-01 11:54:15
Re: deprecated fix patch files (32 replies, posted in Code)
Merged, thanks.
3,030 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,031 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,032 2020-05-31 23:18:04
Re: Section et couleur fils (43 replies, posted in FR : Aide, suggestions, discussions, ...)
eh bien, soit !
Enjoy !
3,033 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,034 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,035 2020-05-30 11:50:00
Re: deprecated fix patch files (32 replies, posted in Code)
I see, thanks.
3,036 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,037 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,038 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,039 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.
3,040 2020-05-29 15:03:40
Re: deprecated fix patch files (32 replies, posted in Code)
Merged (all), thanks Simon.
I tried quickly on old projects and did not notice any major problems.
Of course, this is a devel version, it's time to clean up the old code a bit.
I finally managed to build the cross-compilation MXE environment with KDE Framework (KF5_VERSION 5.70) for Qt 5.15.0 (only x86_64-w64-mingw32 now for checking).
Well, is time for me to try Qt 5.15.0 under MS Windows and saw if I can provide packages with this Qt version..
https://qelectrotech.org/forum/viewtopi … 561#p10561
Edit: same font issue only for MS Windows again ... .element text "Sans Serif" fonts are blurred..
A workaround to fix this issue on MS Windows with >=Qt 5.12.0 is to replace all Sans Serif default font by MS Shell Dlg 2 in all elements and all collections XML.. Btw users need hack our XML project also and replace Sans Serif police.
https://docs.microsoft.com/en-us/window … hell-dlg-2
It's really a shame to be stuck on Qt 5.12.0 for Windows packages, and not to take advantage of the advances in the framework ..
3,041 2020-05-28 15:56:10
Re: fix deprecated warning QSet<T>::toList() Use values() instead. (5 replies, posted in Code)
Merged, thanks Simon.
3,042 2020-05-28 15:07:51
Re: fix deprecated warning QSet<T>::toList() Use values() instead. (5 replies, posted in Code)
Hello, thanks for the patch, but in the Qt documentation I see the follwing note:
Note: Since Qt 5.14, range constructors are available for Qt's generic container classes and should be used in place of this method.
for both QList<T> QSet::toList() const and QList<T> QSet::values() const.
May be it's will be better to use range constructor, because values will probably be deprecated in future.
Hmm since Qt 5.14.... but I build QET packages for Debian Buster (Qt 5.11.x), Debian Sid (Qt 5.12.5) Ubuntu Bionic( Qt 5.9.).., etc... Only AppImage, macOS packages use Qt 5.14.2..maybe Flatpak and Snap.
For Qt 5.15 LTS it's still too early, I have a lot of problems with it.
/Qt/5.15.0/gcc_64/include/QtCore -Irelease -isystem /usr/include/libdrm -I. -I../../Qt/5.15.0/gcc_64/mkspecs/linux-g++ -o release/qetarguments.o ../sources/qetarguments.cpp
../sources/qetapp.cpp:44:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
#include <KAutoSaveFile>
^
compilation terminated.
Edit ; fixed
And sphinx error with ECM on MXE like this (No module named 'sphinxcontrib)
https://bugs.debian.org/cgi-bin/bugrepo … bug=955117
https://www.qt.io/blog/qt-online-instal … 3-released
argh ... I don't want to move to Qt shared libs for Windows is a pain for deploying under a cross-environment like MXE.
3,043 2020-05-27 21:30:52
Re: Présentation c'est par ici. (130 replies, posted in Bar Fourre-tout)
Bonjour Guilhem et bienvenu,
bon courage pour septembre, et encore merci pour les compliments.
Version 0.8dev sous windows 10, pour pouvoir tester les fonctions d'export CSV, nomenclature et borniers ...
Super. ;-)
3,044 2020-05-27 19:58:40
Re: j'ai honte mais.. (2 replies, posted in Bar Fourre-tout)
Corrigé, essayes de te connecter avec ce nouveau login.
3,045 2020-05-27 19:51:59
Re: Présentation c'est par ici. (130 replies, posted in Bar Fourre-tout)
Bonjour et bienvenu,
tu as quelques vidéos sur notre chaîne YouTube qui permettent de découvrir le logiciel ainsi que https://qelectrotech.org/forum/viewtopic.php?id=1075
https://www.youtube.com/user/scorpio8101/videos
;-)
3,046 2020-05-27 16:32:39
Re: déplacer une sélection (1 replies, posted in FR : Aide, suggestions, discussions, ...)
Bonjour,
tu parles de déplacer un symbole dans le folio ou dans l’éditeur de symbole?
Dans les deux cas suffit de sélectionner l’élément puis de le déplacer avec la souris ou avec les flèches du clavier.
Les raccourcis clavier ctrl C/ctrl V, ctrl A, etc fonctionne aussi.
3,047 2020-05-27 12:38:32
Re: problème impression avec la version 0.7.0 (36 replies, posted in FR : Aide, suggestions, discussions, ...)
Te suffit de la rendre exécutable et voila.
3,048 2020-05-27 12:23:42
Re: problème impression avec la version 0.7.0 (36 replies, posted in FR : Aide, suggestions, discussions, ...)
En dépannage tu peux te servir de l'AppImage.
https://download.qelectrotech.org/qet/builds/AppImage/
3,049 2020-05-27 12:21:06
Re: problème impression avec la version 0.7.0 (36 replies, posted in FR : Aide, suggestions, discussions, ...)
Alors oui, Max a fait quelques changements dernièrement.
https://git.tuxfamily.org/qet/qet.git/c … 2decb3c8cb
3,050 2020-05-27 11:36:45
Re: problème impression avec la version 0.7.0 (36 replies, posted in FR : Aide, suggestions, discussions, ...)
Bonjour,
quelle version 0.7 ou 0.8-dev?