Closed patricklodder closed 2 months ago
Do you have a system in mind where only Qt4 is available? Asking for a friend who is comfortable writing his own Dockerfile
to test that case too.
Do you have a system in mind where only Qt4 is available?
You can test Qt4 with Debian 10 (final Debian version where that was shipped) and simply not install Qt5.
Asking for a friend who is comfortable writing his own Dockerfile to test that case too.
No need to write another Dockerfile - I provided one a few weeks ago with #3427
With that Dockerfile
, I see as expected:
configure: error: Qt dependencies not found
Removes Qt4 from
bitcoin_qt.m4
, so that the build fails at configuration when no Qt5 is found.The result is that
./configure
on a system where only Qt4 is installed fails with:Note that this retains most now-single-option conditionals intact, as those could be helpful for future Qt6 adoption. As an exception to this, I've removed the condition around
Widgets
andPrintSupportPlugin
as those were only conditional because Qt4 doesn't have these modules, but for Qt5 and onward they are mandatory.This can be done independently from #3462