Qt4 source download version
-
The Qt4 open source source download version seems to be 4.8.6. Various Linux distros claim they contain Qt 4.8.7. Is a Qt4 open source download version 4.8.7 available somewhere, or is 4.8.7 not an official Qt product? Please explain. Thanks very much.
-
@Jim-Jensen said in Qt4 source download version:
Is a Qt4 open source download version 4.8.7 available somewhere
See https://download.qt.io/official_releases/qt/4.8/4.8.7/
Cheers
-
Thank you very much, Paul. I'm embarassed that I couldn't find it myself. On the other hand the Qt home page "get Qt/go open source" points to a network download (not a tarball) that yields 4.8.6. Puzzling. Any theory why?
-
Hi and welcome to devnet,
Can you describe precisely how you got to the Qt 4 downloads ?
-
Greetings, and thanks for the fast response. Here's how I got there: Qt.io Home Page/Start Free Trial/Get Qt/Open Source/Go Open Source/Install Qt/Your Download/Qt Online Installer for Linux (64 bit). The URL is
https://www.qt.io/download-qt-installer?hsCtaTracking=9f6a2170-a938-42df-a8e2-a9f0b1d6cdce|6cb0de4f-9bb5-4778-ab02-bfb62735f3e5Please understand I'm not complaining. I just thought it was surprising. There seems to be no mention while traversing the above pages what version is going to be downloaded. BTW, this forum is a class act. I really appreciate the quick responses I'm getting!
-
@Jim-Jensen said in Qt4 source download version:
Thank you very much, Paul. I'm embarassed that I couldn't find it myself.
Hi Jim, I don't think you have anything to be embarrassed about, as the page is not easy to find on the current website. I only know it exists because of previous experience.
But anyway, may I ask why you want to use Qt 4.8.7? Are you maintaining a legacy product? If not, I highly recommend using Qt 5.10.1 (latest stable) or Qt 5.9.4 (long-term support) instead.
-
Thanks for the response. I'm maintaining a couple of open source projects on sourceforge: cim and editAV. I'm running Mint 18.3, on which Qt 5.51 is provided. There seem to be conflicts with the definition of Bool in Xlib.h. Workaround is to replace "Bool" with "int" in Xlib.h--not a satisfactory solution because I don't want to distribute a modified Xlib.h with my apps. Since I'm distributing source tarballs, which must be built (probably by novice users) I want to stick with software (including Qt versions) provided in current popular distros. Thanks for your question. Any suggestions?
-
@Jim-Jensen said in Qt4 source download version:
There seem to be conflicts with the definition of Bool in Xlib.h. Workaround is to replace "Bool" with "int" in Xlib.h
What is the exact error message for the conflict? C++ has had the standard
bool
type from day 1, so I'd be very surprised if the conflict is with Qt code.See https://www.x.org/releases/X11R7.6/doc/libX11/specs/libX11/libX11.html -- Xlib requires a specific order for including headers. Perhaps this might be related to your issue?
I want to stick with software (including Qt versions) provided in current popular distros.
You'll be relieved to hear that Qt promises source- and binary-compatibility within major versions, so software written for Qt 4.7 should compile and run just fine with Qt 4.8, for example. (However, there are breaking changes between Qt 4.x and Qt 5.x)