https://git.tuxfamily.org/qet/qet.git/c … 73d0fcd2f4
https://download.qelectrotech.org/qet/b … 1-04-21-1/

Tu peux essayer de rajouter dans le script de démarrage
-platform windows:dpiawareness=0

https://bugs.launchpad.net/mudlet/+bug/1652413

https://qelectrotech.org/wiki_new/doc/o … config-dir

2,479

(236 replies, posted in News)

- Log -----------------------------------------------------------------
commit b6cfc8c755a70f2e1b98fe0b991c7599d25a5679
Author: joshua <Joshua@>
Date:   Sun Apr 18 20:03:13 2021 +0200

    Improve element collection loading time
   
    According to Qt creator flame graph, call QSettings take lot of time.
    When loading the element collection, each items of the collection get
    the current language by calling the function QString
    QETApp::langFromSetting().
    This function instantiate a QSettings object each time and take a lot of
    time.
    Now the QSettings is instantiate only at the first call, and the value
    is stored in memory, then all other call of the function don't
    instantiate a QSettings, but just return the value in memory.


you see time improvement of loading on Windows?

Chose étrange, l'éditeur d'éléments ne présente pas ce problème! De même, lors de l'exportation en PDF, pas de problème.

https://qelectrotech.org/bugtracker/view.php?id=150
https://git.tuxfamily.org/qet/qet.git/t … w.cpp#n188

Si tu peux tester en rajoutant dans le main.cpp
qputenv("QT_ENABLE_HIGHDPI_SCALING", "1");
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);

https://doc.qt.io/qt-5/qt.html#HighDpiS … olicy-enum


--- sources/main.cpp
+++ sources/main.cpp
@@ -175,6 +175,13 @@ int main(int argc, char **argv)
#pragma message("@TODO remove code for QT 6 or later")
#endif
#endif
+
+#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
+qputenv("QT_ENABLE_HIGHDPI_SCALING", "1");
+QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
+#endif
+
+
     SingleApplication app(argc, argv, true);
#ifdef Q_OS_MACOS
     //Handle the opening of QET when user double click on a .qet .elmt .tbt file





Compiler QET sur Windows
https://qelectrotech.org/forum/viewtopi … 999#p12999
https://qelectrotech.org/wiki_new/doc/qt_pour_windows

ou
https://qelectrotech.org/wiki_new/winstatic/winstatic

https://doc.qt.io/qt-5/highdpi.html
https://lists.qt-project.org/pipermail/ … 37434.html
https://programmersought.com/article/27635311665/

The QT_ENABLE_HIGHDPI_SCALING environment variable, introduced in Qt 5.14, enables automatic scaling based on the pixel density of the monitor. Replaces QT_AUTO_SCREEN_SCALE_FACTOR.

The QT_SCALE_FACTOR_ROUNDING_POLICY environment variable and QGuiApplication::highDpiScaleFactorRoundingPolicy API, introduced in Qt 5.14, makes it possible to control if and how the device pixel ratio should be rounded to the nearest integer. This is relevant for configurations like Windows at 150% scale. Possible values are Round, Ceil, Floor, RoundPreferFloor, PassThrough. See the Qt::HighDpiScaleFactorRoundingPolicy enum documentation for a full description of the options.

Paquet Windows de tests :
https://download.qelectrotech.org/qet/s … 1-04-17-1/

Je viens de faire quelques petits tests sur mon portable (écran UHD) et j'ai branché dessus un écran 1920x1080 sur le port HMI Windows affichage en mode étendu.

QET sur l’écran HMI

100% ok
125% pareil que toi, les bornes sont décalées, certains éléments débordent du cartouche.
150% ok
200% pas essayé

Il me semble avoir lu ici quelqu'un qui justement signalait un problème de rendu sur Win10 avec une mise à l’échelle justement de 125% avec un écran externe branché sur un portable.

andrea70ds wrote:

I solved my little problem , I changed resolution on left monitor , en fact on the left was 100 % and on PC right was 125% . In these case they must be the same .Thanks to Scorpio810 for suggestion .Many thanks .

https://qelectrotech.org/forum/viewtopic.php?id=1449

J'ai aussi fait le test de modification du script de démarrage mais ça n'a pas réglé le problème. Au passage, je n'ai pas vu de différence sur les polices...

Intéressant, merci.
Je testerai sans le "-platform windows:fontengine=freetype" plus tard, peut-être que chez Qt ils ont corrigé ce soucis depuis..
Pour information : le problème portait sur le rendu des polices textes des éléments affichés dans les folios.
https://qelectrotech.org/forum/viewtopi … 561#p10561

Merci pour ces renseignements qui ont le mérite pour la première fois d’être clair.
Un écran UHD dans le lot? style écran 4K sur le portable?

Have you renamed plugin to qet_tb_generator.exe, on your C:\Users\RedBaron\Application Data\qet\
?

2,487

(53 replies, posted in Videos howto)

Hi,

because on snap QET run in a sandboxed environment?

Edit :
https://forum.snapcraft.io/t/home-path- … 1000/15415
https://forum.snapcraft.io/t/kde-neon-s … 00/19103/4

Bonjour,

tu n'es hélas pas le premier, ce souci à déjà été reporté par d'autres, comme celui-ci récemment:
https://qelectrotech.org/forum/viewtopic.php?id=2011

Çà semble toujours se produire avec un PC portable connecté à plusieurs écrans et résolutions différentes.
D’après le peu d'information remontée il semble que ça touche que Windows?

Bonjour,

oui vous avez tout à fait le droit d'utiliser QET à titre professionnel, nous sommes très très nombreux à le faire tous comme nous, Joshua et moi même.
Et non pas de License à payer,  par contre un petit don nous motivent et nous aident à acheter du hardware pour le projet.

Buongiorno,

What is your problem?
Edit and change titleblock?
Use your new titlteblock?


Qual è il tuo problema?
Modificare e cambiare il cartiglio?
Usa il tuo nuovo cartiglio?

2,492

(32 replies, posted in News)

Hi,
qet-tb-generator addon was now added in my devel 0.9-dev flatpak package, but there is still work to integrate the DXF converter into the flatpak.
Thanks kevinsmia1939 for his work, and Thomas for add  tkinter Python module to flatpak sdk :
https://gitlab.com/freedesktop-sdk/free … uests/4569

Le fichier log aiderai mieux a cerner le problème, peux tu le fournir?

Hi,
like this?

Bonjour,

quelle version?

Sorry, is stalesfile file to delete,
manual delete files on C:\Users\Dmitriy\AppData\Local\stalefiles\QElectroTech\

Il faut entrer un nom pour la nouvelle règle et si le type est chiffre mettre une donnée dans le champ valeur, soit 1.
https://download.qelectrotech.org/qet/forum_img_2/jesus2.png

Hi,
you can delete it yourself by Windows explorer, see PATH in the dialog box.

Bonsoir,

une fois les règles crées il faut choisir celle a appliquer dans l'onglet, ça permet de switcher rapidement d'une règle à l'autre.

https://download.qelectrotech.org/qet/forum_img_2/jesus.png

Same hacks if you want to add online pdf link in your generated project pdf, or internal pdf page for documentation parts or process.
Or add image, but isn't useful since version 0.3.