Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
How can I fix the linking errors when compiling
CodeNoob last edited by
I keep getting below error when compiling.
cannot find -lCore
cannot find -lTextEditor
cannot find -lAggregation
cannot find -lExtensionSystem
cannot find -lUtils
Where can I obtain those libraries?
I am trying to compile this plugin.
hskoglund last edited by
Hi, your plugin refers to those .so files from the Qt Creator installation, they can be found there (libCore.so and libTextEditor.so are standard Qt Creator plugins, the other 3 are normal .dll/.so files).
To build successfully, set the QTC_BUILD env. variable in the .pro file to where your Qt Creator is installed, usually that's /home/yourname/Qt/Tools/QtCreator
Note: usually it's recommended that you download and compile/build Qt Creator yourself and set QTC_BUILD to point to that Qt Creator build, but when I compile my plugin, I usually cheat and just reuse the Qt Creator installation from the distribution (saves 20 minutes of waiting for gcc :-)