Qt Framework

75 readers
2 users here now

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

founded 9 months ago
MODERATORS
1
2
 
 

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?

3
4
5
5
submitted 3 months ago by mac to c/qtframework
6
7
8
9
10
9
submitted 6 months ago by mac to c/qtframework
 
 
11
12
13
14
3
submitted 7 months ago by mac to c/qtframework
15
7
Qt 6.7 Released (www.qt.io)
submitted 7 months ago by mac to c/qtframework
16
 
 

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...

17
 
 
  • Granularity Filters
  • Aggregate Functions Filters
  • Line Meter View
  • New Average Funnel Completion Time
  • New UI Look and Feel
  • Usability and Analytics Query Fixes
18
6
submitted 8 months ago by mac to c/qtframework
19
 
 

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.

20
4
submitted 8 months ago by mac to c/qtframework
21
22
23
9
submitted 9 months ago by mac to c/qtframework
24
25
5
submitted 9 months ago by mac to c/qtframework
view more: next โ€บ