Originally posted by A1B2C3
View Post
Ubuntu Hoping To Remove Qt 5 Before Ubuntu 26.04 LTS
Collapse
X
-
-
-
Originally posted by CommunityMember View PostThe goal is good, but will not be achieved by the 26.04 target unless the proposer starts contributing patches to the (what they show are to be approximately) 1000 projects on the list (asking others to do work almost never succeeds).
Comment
-
-
Originally posted by Weasel View Postgdi32 is still in Windows. 30 years old library.
Qt is a third party library which Windows doesn't ship at all, let alone in multiple versions.
What they are referring to is not the removal of a system API but of a library product from one of their app stores.
Not sure if the Windows store even has the concept of shared runtimes. At least pre-store every application package needed to include third party libraries, even if the third party was a different Microsoft division.
Comment
-
-
Originally posted by anda_skoa View Post
That is a common misconception.
MOC does not preprocess code before it gets handed over to the C++ compiler, both header and source files are directly consumed in unaltered form.
MOC is a code generator which creates standard C++ code as its output.
Originally posted by anda_skoa View PostCode generators are widely used in software projects for things like repetitive code, turning formal API or format descriptions into code, etc.
Originally posted by anda_skoa View PostFun fact: if you use Qt with Rust then the its compiler has enough built-in code generation capability to not require a helper.
Comment
-
-
Originally posted by Siuoq View Post
Linux userland is so broken, its users can't even imagine that there are people that want to be able to run software older than ~2 years.
For comparison, 10 years ago, Windows 8 was the system you would get by default.
Comment
-
-
No, its the correct way. Ubuntu can be indefinitely supported, there is no backward or forward compatibility, only breakings. Canonical won't port you newer programs on older ubuntus, or older programs to newer ubuntus. the-burrito-triangle mentioned containers in #23, those improve it _a lot_ tho, from nothing to almost full compatibility. You want to run a qt5 application? Fine, put an old ubuntu in a container. Works? Works.Last edited by Siuoq; 02 November 2024, 08:38 AM.
Comment
-
-
Originally posted by Weasel View PostThat's the entire point! They added new toolkits while keeping the old around for compatibility.
Comment
-
-
Originally posted by kpedersen View PostDisagree. Most preprocessors generate standard C++ code. MOC is no different, it merely operates on both headers and source files.
MOC is run separately, the header and sources files of a Qt application are consumed directly by the C++ compiler.
Originally posted by kpedersen View PostFor something like a GUI library where you can avoid non-standard C++, it is definately worth doing.
Multiple compilers from different vendors are used to build it in Qt's CI, even more by those using Qt for development.
Originally posted by kpedersen View PostThis is why most libraries don't use bespoke preprocessors
What Qt does (and other frameworks do as well) is ship with several tools that make the life of developers easier.
More often than not these tools generate code.
E.g. qdbusxml2cpp generates C++ code from a D-Bus introspection file, moc generates C++ code from a header file, uic generates C++ code from an XML file created by Qt's widget UI designer, qscxmlc generates C++ code from a standard state chart XML file, qrc generates C++ code from a Qt resource file and data files mentioned in them.
All these are just convenience, to move tedious and/or repetitive work from the developer's manual labor into build tools.
If someone prefers do to the manual labor that is up to them.
Have seen plenty of occurrences where one of more of these tools were not being used because the person thought they could do a better job.
Comment
-
-
Originally posted by A1B2C3 View Postwith a standard installation, you also get useful things.
Since you do not you'd have to start with a smaller core and add only the things that you specifically consider useful.
Originally posted by A1B2C3 View PostI don't want to lose them.
Originally posted by A1B2C3 View Postthis is exactly what the user needs. simplicity and convenience.
Since this is apparently not your use case you have three options
1. ignore the features which are useful to others but not to you
2. remove them
3. start with a smaller core and only install the features useful to you.
Comment
-
Comment