Check Qt4 code for backward compatibility - qt

I am wondering if there is a tool to check a Qt4 project (C++) for backward compatibility with a specific older Qt version. For example, my project uses version 4.8.4 and I would like to run it on 4.5.3.
I am thinking of a compatibility check on the basis of the source code. I would prefer a solution which does not rely on QtCreator (but please name it anyway if any ;)
Thank you for any hint.

Related

Is Qt3D a part of Qt5?

I have installed Qt5 libraries in windows but there is no document about Qt3D in Qt assistant.
Is Qt3D a part of Qt5 or it has been removed from release version 5?
Yes. Qt 3D became a standard Qt library in the Qt 5.7 release.
With Qt 5.7, we are bringing in the Qt 3D module. This module has been
available as a Technology Preview for two releases now, and I’m happy
to announce that it has now reached the state where it is becoming a
fully supported member of the Qt family!
This addition was a long time coming. Roughly 4.5 years ago, they announced they were dropping it from the Qt 5.0 release. Since then, it's undergone significant rework. Now, seven minor versions later, it's finally made it back in.
The other answer & comments were correct at the time, but the situation has now changed.
As of Qt5.5, Qt3D is now included as a "technology preview" (I interpret this phrase as an indication that it's not deployment-ready, so there could be some bugs and the API could change).
It's very important to note that the Qt3D that was available for previous versions of Qt has been Qt3D 1.0, while the version included with Qt5.5 is v2.0, which has been developed by a different software team and has a very different API.
More info from the new developers available here.
Note also that Qt3D v1.0 was never actually included 'properly' with Qt in any version, though was (apparently) reasonably easy to build along with Qt if checked out from git from v5.0 through 5.4.

Is it still possible to use WebKit with Qt when building the latter with the -static option?

Static linking of WebKit has been disabled as of Qt 4.7. However, I am wondering if it is somehow possible to still use WebKit with my Qt project by building a shared library and linking to that - so that I am only distributing my executable and one shared library (the WebKit one).
Does anyone know if this is possible and if so how I might go about doing it? I am targeting the Windows platform if it helps.

Binary of the latest Qt framework (with MingW32) working out-of-the-box for COM/ActiveX programming

Can someone point to me where I can find binary distribution of the latest Qt Framework 4.8.0. (with MingW32) ready for Office automation?
MinGW32 is not recommended if you want to do COM/ActiveX. Use VS2008 or VS2010.
QAxObject is your friend.
Here; you get MinGW separately, as well as any third-party component which integrates with Office.

Making firefox addon using Qt

I wanted to ask whether it is possible to make an firefox addon using Qt.If possible how can I do that ?
See the Qt Browser Plugin example from Nokia/Digia/etc. Was part of Qt Solutions (now discontinued, but is under the BSD license and since it used Qt 4.x when it was supported, should still be usable, just a little dusty. Expect a bit of work to compile it at first, though).
It supports creating a NPAPI plugin. You can find the READEME at http://qt.gitorious.org/qt-solutions/qt-solutions/blobs/master/qtbrowserplugin/README.TXT - and all the other files are in the same directory.
The documentation is also available: http://doc.qt.digia.com/solutions/4/qtbrowserplugin/

Is it possible to replace Qt's Phonon with a more recent version?

I have some issues with Qt/Phonon that I think might be related to it being a bit outdated.
NokiaSoft doesn't care much about Qt for desktop, since the Phonon framework shipped with Qt has been untouched for several releases. No update from 4.6.x or 4.7.x has touched it, AFAICT.
So, have anyone attempted to recompile Qt/PyQt using a new(er) Phonon version, and are there any gotchas for this?
To get the latest you can check out official phonon repos here:
https://projects.kde.org/projects/kdesupport/phonon

Resources