Qt Framework

70 readers
1 users here now

A community for the Qt software for creating GUIs and cross platform applications. https://www.qt.io/

founded 8 months ago
MODERATORS
1
 
 

I've been trying to style my Qt apps since I discovered the old Motif-look Style Plugin still exists; maybe I can have software not made in 1994 that looks like it was!

In the process, I noticed an odd behaviour.

I set up QT_QPA_PLATFORMTHEME=qt5ct so I could use qt5ct to do the basic configuration.

If I set the "general" font as bold, and the "fixed width" value as non-bold, when I reload qt5ct, it's switched to bold. This can also be seen in other Qt programs.

If I manually force the issue by editing qt5ct.conf, manually setting up a block like this, the bold fixed-width font still shows

[Fonts]

fixed="Go Mono,11,-1,5,75,0,0,0,0,0,Regular"

general="Helvetica,11,-1,5,75,0,0,0,0,0,Bold"

I thought this might be some weirdness due to the specific fonts I chose, but swapping in "Liberation Sans" and "Courier 10 Pitch" produce the same situation.

The only way I can have my fixed-width font be "regular" is to also leave the general font as "regular". This is not a connection I expected.

Is this a known issue? Is there a workaround?

2
3
4
5
6
7
8
9
 
 
10
11
12
13
14
15
 
 

From the Qt World Summit 2021, but it mentions cool things like avoiding unqualified access, string interpolation, interaction signals and object names.

Not sure about ?? and ?. though...

16
 
 
  • Granularity Filters
  • Aggregate Functions Filters
  • Line Meter View
  • New Average Funnel Completion Time
  • New UI Look and Feel
  • Usability and Analytics Query Fixes
17
18
 
 

Cool stuff:

Qt 6.7 introduces convenience improvements for implementing typical RESTful/HTTP client applications. The goal was/is to reduce the repeating networking boilerplate code by up to 40% by addressing the small but systematically repeating needs in a more convenient way.

These include a new QHttpHeaders class for representing HTTP headers, QNetworkRequestFactory for creating API-specific requests, QRestAccessManager class for addressing small but often-repeating pieces of code, and QRestReply class for extracting the data from replies and checking for errors. QNetworkRequestFactory, QRestAccessManager, and QRestReply are released as Technical Previews in Qt 6.7.

19
20
21
22
23
24
25
view more: next โ€บ