-
Couldn't load subscription status.
- Fork 1.5k
replaced deprecated qt_wrap_ui() with AUTOUIC property
#7835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
a38d9e1 to
fca9982
Compare
fca9982 to
b4702d4
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No cmake changes until #7658 is merged first.
|
We did things wrong and doing it right somehow doesn't really work although it should. The Qt documentation is unfortunately not helpful on the surface because you are supposed to use helpers but those appear to mess with the global project state which is not what we want. So cleaning that up first could help to find potential issues with your changes. |
Sure, but #7658 doesn't change that.
#7658 works fine, you are just creating more work for me for no reason. Those changes should be merged in already, its been almost 3 months now. For now, we should hold off on any cmake changes until #7658 is merged in. |
That is not clear because I haven't gotten this to work yet and did not try your changes on top.
Just because it builds doesn't mean that it is fine. Especially if you make those changes on top of something which is is improperly done or tested. And it has not been long. I have sometimes been waiting longer than that just to get a single comment. (That is actually not something to brag about - it's just horrible). Also what was the point of those changes? There was a small issue which was easily fixed and somehow it triggered you to do these unnecessary changes which will fix no known issues. And your CMake refactoring is actually creating more work for me. This modern (which is often not equal to "better") CMake (C++, Python etc.) is great to easily on-board people which have no idea what they are doing by providing puzzle parts they only need to arrange. If makes things cleaner and by the obfuscation it introduces it makes things actually much harder to understand if you have to change something internally. It is much better for a user of it but not for a developer. Qt did this a few versions back and now they have some big init function you are supposed to call and sets all things up in the project but does not consider not all that the Qt application might only be a small part of a bigger project. And on top of that is basically no documentation on what it actually does because you don't have to know anymore but it does everything for you. So if something breaks and I have no idea to do it with the modern stuff and cannot be properly in the modern way, it would be up to you. So you basically just took "ownership" of the CMake maintenance with your cleanup. |



this was deprecated in CMake 3.14: https://cmake.org/cmake/help/latest/command/qt_wrap_ui.html