Tíquete #46575

Qt: qapp static, but expected globally available

: 2023-01-21 21:50 Última Atualização: 2023-01-24 04:17

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
4

Details

Qt gui_main.cpp has 'qapp' as a static variable. Number of other source files use it as 'extern'. We've been lucky (or unlucky?) that it has been working so far. Now I got linking error with clang64 toolchain on msys2 because of this.

Ticket History (3/7 Histories)

2023-01-21 21:50 Updated by: cazfi
  • New Ticket "Qt: qapp static, but expected globally available" created
2023-01-22 00:04 Updated by: cazfi
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
Comentário

Patches for all branches, including S2_6, attached.

2023-01-24 04:17 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Resolução Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Login