...but of course on the same machine.
If I already have a QT 4.0.1 DLL installed on a machine, can I safely replace it with a QT 4.5.2 DLL? Is compatibility assured, or a matter of how lucky you are?
...but of course on the same machine.
If I already have a QT 4.0.1 DLL installed on a machine, can I safely replace it with a QT 4.5.2 DLL? Is compatibility assured, or a matter of how lucky you are?
4.0 is not compatible with 4.5 as far as i remember.
The easiest way is to simply try In general it should work although the application may behave differently due to changes in the libraries.
Unfortunately, it's not as simple as that. Oh, as long as I am just a developer, tinkering around, it is. But once I start to think about deployment, things could get ugly.
Consider Application Suite A, written by company X with QT 4.0
Consider Application Suite B, written by company Y with QT 4.5
If I deploy my App Suite B, I can't just ruin App Suite A by installing the new DLLs, especially when both applications are expected to work together. I also can't just "hope" that things will work with the new DLL version, this would have to be verified with (probably) weeks of testing.
If the DLLs are not compatible, Trolltech (or QT Software or whatever name they have right now) would do well to give the DLLs different names, so you can use them in parallel.
But I see this is something to discuss with them directly prior to obtaining a commercial license.
Both applications can have their own Qt libs. Just copy the version you want to be used to the directory containing the application binary and it will use it. But anyway 4.0 and 4.5 should be binary compatible (of course it won't work the other way round).
Well... obviously classes introduced in Qt 4.5 were not present in Qt 4.0 dlls
No, that's true about minor version. They are binary compatible (both ways).
Yes, it's possible this way (at least should be) as Qt keeps backward binary compatibility across minor versions too.So it should be possible to replace an older release with a newer one (if not, I would consider this a bug...)
Bookmarks