Home » U++ Library support » U++ Core » GetSmartTextSize() fails with QTF text
Re: GetSmartTextSize() fails with QTF text [message #61526 is a reply to message #61509] |
Tue, 04 March 2025 08:05   |
 |
mirek
Messages: 14261 Registered: November 2005
|
Ultimate Member |
|
|
Didier wrote on Thu, 27 February 2025 23:44Hello Mirek,
I think I found something interesting: when compiling in "verbose", all paths to UppHub packages get included although I have only included one in my application package dependencies.
So if I have same packages present in UppHub and in another nest (both nests present in nest config paths) ... things will probably get nasty
OK, so let's analyse this:
"regular" nests includes should always precede hub nests (unless the main package is from the hub, e.g. example package, then single hub nest can be before regular nest). At the same time, when looking for package, nests are searched in the same order as is the order of nest includes. I would argue that this leaves little place for things to get nasty...
Possible problems I have found: Internal includes are added for all packages (e.g. plugin/sundials). That is probably unnecessary, but I am sort of afraid to fix that. Build methods includes are added at the end of list. That IMO is OK....
|
|
|
|
|
|
Re: GetSmartTextSize() fails with QTF text [message #61554 is a reply to message #61546] |
Sun, 16 March 2025 18:24  |
Didier
Messages: 728 Registered: November 2008 Location: France
|
Contributor |
|
|
Quote:Hey, so I have found and fixed one problem with dependencies:
In Win32, include file names can have different case from actual files (e.g. Header.h and #include "header.h"). There is a caching mechanism for filetimes to speed things up that was not ready to cope with this.
Now fixed: https://github.com/ultimatepp/ultimatepp/commit/4315ff493bc2 94e2dc2707062be95b998376768f
Can this be the problem?
Sorry for not replying faster, I didn't have much free time lately
Thanks, I will, update my windows version
|
|
|
Goto Forum:
Current Time: Mon Jun 09 21:50:47 CEST 2025
Total time taken to generate the page: 0.04391 seconds
|