Página 1 de 1

Atualização da GtQtc

Enviado: 07 Fev 2026 18:48
por lucimauro

Código: Selecionar todos

2026-02-06 13:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
  * contrib/gtqtc/gtqtc1.cpp
  * contrib/gtqtc/gtqtc1.cpp
    * use default GT startup code (#include "hbgtreg.h")
    ! removed ChildRemoved event from list of events ending resize process,
      it should fix resizing problem with current WMs.
    + added small hack to easy detect QT version used to compile GTQTC
    + added compile time switch HB_QTC_NO_HIGHDPI_SCALING
      It's dirty hack to "fix" problem with font scaling in QT6 but it's
      nit real solution. The same effect can be achieved by setting an
      environment variable QT_ENABLE_HIGHDPI_SCALING=0 before application
      using GTQTC is started so it's rather a marker to signal the problem.

  * contrib/hbzebra/tests/pclqr.prg
    * removed trailing spaces

Re: Atualização da GtQtc

Enviado: 07 Fev 2026 18:49
por lucimauro
Mais atualização

Código: Selecionar todos

2026-02-07 20:58 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
  * contrib/gtqtc/gtqtc1.cpp
    * set HighDpiScaleFactorRoundingPolicy to Round for new QT versions
      except Android builds.
      It fixes problem with proportional fonts in QT6 though in some
      environments it may not give the optimal results.
      This setting can be overwritten at runtime by
      QT_SCALE_FACTOR_ROUNDING_POLICY environment variable.

best regards
Przemek