At attempt to compile the project the error takes off
cannot find -lQt5Cored
How to solve this problem? Thanks in advance.
At attempt to compile the project the error takes off
cannot find -lQt5Cored
How to solve this problem? Thanks in advance.
Good evening. The most likely causes of this error are as follows:
The libQt5Cored.a file is missing. This file should be in the lib folder of your compiler, which is in turn in the folder with Qt installed. For example, I have this: C: \ Qt \ 5.5 \ mingw492_32 \ lib. If this file is not there, you can download it manually, but the best option would be to reinstall Qt.
It is possible that the path to this file is incorrect. You can see this in the file makefile.debug, located in the folder with the build of your project. Open it in a text editor and find the line LIBS. It shows the way. It should be similar to that specified in paragraph 1. If it is different, then first try to delete all the makefiles, clean and rebuild the project. If the path does not change to the correct one, change it manually.
Hope to help. Anyway, sign up.
Source: https://ru.stackoverflow.com/questions/536177/
All Articles
Qt5CoredorQt5Core? - PinkTux