Re: [Interest] Mysterious C++/QML compilation bug

2023-06-12 Thread Thiago Macieira
On Monday, 12 June 2023 07:20:55 PDT Alexander Dyagilev wrote: > Where are this cached files located? In the regular cache dir, which you can find using qtpaths or QStandardPaths. $ qtpaths --paths CacheLocation /home/tjmaciei/.cache/ $ du ~/.cache/plasmashell/qmlcache 4924/home/tjmaci

Re: [Interest] Mysterious C++/QML compilation bug

2023-06-12 Thread Alexander Dyagilev
Sorry, I forgot to mention that in this particular case I'm using Qt 5.12.12. Maybe this is a known issue, or it's already fixed or even never existed in Qt 6.x. On 6/12/2023 5:26 PM, Alexander Dyagilev wrote: Please note, that this is not something occasional. I'm able to 100% reproduce thi

Re: [Interest] Mysterious C++/QML compilation bug

2023-06-12 Thread Alexander Dyagilev
Please note, that this is not something occasional. I'm able to 100% reproduce this issue. I.e. : 1. I modify C++ header (adding some enum value in the middle of the enum). 2. Perform full rebuild of the app. 3. Launch app - it's broken. 4. Make fake modifications in QML files using enum (e.g.

[Interest] Mysterious C++/QML compilation bug

2023-06-12 Thread Alexander Dyagilev
Hello, In C++ I'm using Q_NAMESPACE + Q_ENUM_NS and export enum to QML (in QML I use it like MyCoolEnum.MyCoolValue). I've found a weird issue: I've inserted a new value in the middle of my enum. And all was suddenly broken. I spent 1 hour trying to understand what is going on. Full rebuil