Downolad Qt 4.x
-
Is it possible to download the Qt 4.x library using the Maintenance tool? Last version on the list is 5.9.0.
Is there any other way to get that version of Qt?@Milosz said in Downolad Qt 4.x:
Is there any other way to get that version of Qt?
-
@Milosz said in Downolad Qt 4.x:
Is there any other way to get that version of Qt?
@jsulm
Hi,
I got the archive and according to instructions I configured it and tried to compile - and compilation errors appeared, something like this:dialogs/qprintdialog_unix.cpp: In destructor ‘virtual QPrintPropertiesDialog::~QPrintPropertiesDialog()’:
dialogs/qprintdialog_unix.cpp:281:19: error: ‘class Ui::QPrintPropertiesWidget’ has no member named ‘cupsPropertiesPage’
281 | delete widget.cupsPropertiesPage;Could you help me, please
ps.
I need to add my system is Ubuntu 22.04 -
@jsulm
Hi,
I got the archive and according to instructions I configured it and tried to compile - and compilation errors appeared, something like this:dialogs/qprintdialog_unix.cpp: In destructor ‘virtual QPrintPropertiesDialog::~QPrintPropertiesDialog()’:
dialogs/qprintdialog_unix.cpp:281:19: error: ‘class Ui::QPrintPropertiesWidget’ has no member named ‘cupsPropertiesPage’
281 | delete widget.cupsPropertiesPage;Could you help me, please
ps.
I need to add my system is Ubuntu 22.04@Milosz said in Downolad Qt 4.x:
no member named ‘cupsPropertiesPage’
I think your problem is that 22.04's
gccis much newer than what was current during Qt4, and you need to read through https://github.com/wkhtmltopdf/packaging/issues/63it looks like Qt 4 does not compile with gcc 9 (at least the version of Qt 4 used by wkhtmltopdf). gcc 9 is the default version in Ubuntu 20.04, but gcc 7 is also available.
You may find you need to get an old version of gcc to make it possible to compile Qt4 now.
-
@jsulm
Hi,
I got the archive and according to instructions I configured it and tried to compile - and compilation errors appeared, something like this:dialogs/qprintdialog_unix.cpp: In destructor ‘virtual QPrintPropertiesDialog::~QPrintPropertiesDialog()’:
dialogs/qprintdialog_unix.cpp:281:19: error: ‘class Ui::QPrintPropertiesWidget’ has no member named ‘cupsPropertiesPage’
281 | delete widget.cupsPropertiesPage;Could you help me, please
ps.
I need to add my system is Ubuntu 22.04