How to compile/link my apps with my Qt 6.7 installation?
Solved
Installation and Deployment
-
I'm installing Qt 6.7.x on my ubuntu 22.04 system with online installer. I follow these installation instructions and at the end of the process have these subdirectories in my designated installation directory:
6.7.0/ dist/ Examples/ installer.dat junk Licenses/ MaintenanceTool.dat network.xml components.xml Docs/ InstallationLog.txt installerResources/ licenseInfo.txt MaintenanceTool* MaintenanceTool.ini Tools/
OK, but now how do I utilize these installed libraries and headers when building with cmake elsewhere on my system?
Thanks!
-
If you use QtCreator you should have a new Kit for that version. If not add a new Kit and configure it to use that Qt version.
-
Hi,
You also have the option to call the qt-cmake wrapper that can be found in the bin folder of your Qt installation.
-