![]() ![]() The result is just the version of the specified module. When writing a configuration script, you may want to make use of the pkg-config tool (at least under Linux and Cygwin): It will tell you which version of the Qt library it is using. One of the simplest way is to use qmake as in: Short of something specific to your software, the only way to really know would be to do a search of the entire file system. Still, it's not a definitive answer to the problem. However, trying to run qmake is a solution to test whether Qt is accessible. Under MS-Windows, Qt may be installed anywhere and qmake may not be in the PATH variable. Under Debian (.deb), it is qt5-qmake and under RedHat (RPM) it is qmake-qt5. Note that since Qt5, the name of the package with qmake has changed. You may want to check a different package if you need specific functionality. This should also work under Mac/OS and other Unix systems.Īnother method under Debian is to query with dpkg-query as in: That being said, under a Linux system we can simply use the following script to determine whether Qt is installed:Įcho "error: This script requires Qt to be installed." Many script depend on qmake being installed to check the Qt version which is why in most cases it get installed automatically. Other architectures are likely to use different package names, but you certainly get a similar effect. Debian and Ubuntu use the qt5-default package which directly depends on qtchooser which includes qmake. ![]() Qmake is pretty much always installed whenever you install Qt. There are a few I use:īefore testing the version, you probably want to verify that Qt is installed. QtWebEngine component in bugreports.qt.The Qt library version can be retrieved in all sorts of ways, using your command line or C++ code. QtWS15 - QtWebEngine – Taming the beast, Kai Köhne (video) () QtWS15 - Qt's Web Offering- An Overview, Allan Jensen (video) () News from the Qt WebEngine Team (blog post) () QTDD14 - QtWebEngine: learning to walk - Pierre Rossi (video) () ![]() Qt WebEngine Technology Preview available (blog post) () QtDD13 - Pierre Rossi - Introducing QtWebEngine (video) () For LTS releases of Qt we might also update Chromium in a patch level release.Įxperimenting with Chromium and Qt (blog post) () After a release some bug fixes and security patches are backported. We do update to the latest Chromium version in use before a Qt release.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |