You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Qt 6 is now released, and obviously Addle should be ported to use it. Qt has gone to great lengths to make the transition from 5 to 6 as painless as possible, so for Addle this will largely mean that some of our junk-drawer utilities will be obsoleted in favor of supported framework features.
Qt Concurrent now provides Tasks and Promises (with progress reporting?) which theoretically obsoletes the AsyncTask class.
Compile-time support for Qt MetaTypes is expanded, and I think that was a problem in a couple of places
Qt Graphics Framework is still supported in 6, but Graphics Effects have been obsoleted, which is further indication that it's probably better to switch to Qt Quick. AFAIK Quick still requires JavaScript and that is not likely to change in the near future.
Perhaps of greater significance, Qt 6 raises the minimum required C++ standard to 17, which means I really have no reason to drag my heels any longer. C++17 library features like any, optional, and variant are ready (though not drop-in) replacements for their Boost equivalents currently in use. constexpr if will greatly simplify a lot of things where previously convoluted enable_if functions had to be used.
I will also re-examine the C++14 libraries I had previously ruled out for dependency injection and high-order range functions. But, I suspect they will still not quite fulfill my needs. Boost Hana will be available as a replacement for MPL and Fusion, but I think I may end up going with MP11 instead of Hana to share components with another project (not currently on my GitHub) that may still want to support C++11.
The text was updated successfully, but these errors were encountered:
Qt 6 is now released, and obviously Addle should be ported to use it. Qt has gone to great lengths to make the transition from 5 to 6 as painless as possible, so for Addle this will largely mean that some of our junk-drawer utilities will be obsoleted in favor of supported framework features.
Qt Graphics Framework is still supported in 6, but Graphics Effects have been obsoleted, which is further indication that it's probably better to switch to Qt Quick. AFAIK Quick still requires JavaScript and that is not likely to change in the near future.
Perhaps of greater significance, Qt 6 raises the minimum required C++ standard to 17, which means I really have no reason to drag my heels any longer. C++17 library features like
any
,optional
, andvariant
are ready (though not drop-in) replacements for their Boost equivalents currently in use.constexpr if
will greatly simplify a lot of things where previously convolutedenable_if
functions had to be used.I will also re-examine the C++14 libraries I had previously ruled out for dependency injection and high-order range functions. But, I suspect they will still not quite fulfill my needs. Boost Hana will be available as a replacement for MPL and Fusion, but I think I may end up going with MP11 instead of Hana to share components with another project (not currently on my GitHub) that may still want to support C++11.
The text was updated successfully, but these errors were encountered: