Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Where are Qt5 libs on Mac?
i try to port my application from linux to macos.
I use gnu Make no qmake.
On linux under QT_INSTALL_PATH/5.x/gcc_64/lib are all the libs to link against.
On my mac i can not find the qt libs. libQt5Core*
Please could somebody explain me what's going on here?
Thank you very much.
I think on Mac Qt is shipped as Frameworks. Maybe this entry will help https://doc.qt.io/qt-5/osx-deployment.html
But somewhere should be the libs from Qt?
I do not want to deploy the application for now.
I just want to get it linked and run it locally on my dev machine.
If i use linker command -lQt5Core like on linux i need to specify where this lib is.
But when i search inside Qt installation i can not find it for clang (for ios and android the libs exist)...
You don't link Mac frameworks with -L or -l, you should do it with -F, clang understands it. Here is some additional info: https://stackoverflow.com/questions/3513907/linking-mac-framework-to-qt-creator
As mentioned in the article I linked (I know you don't want to deploy, but still that article contains some info that can help you), libs are in:
What build system are you using ? Both cmake and qmake abstracts that away so you don't need to care whether Qt is using Frameworks or libraries.
nando76 last edited by nando76
I have my own Makefiles (gnu Make) and must add libs there somehow.
@sierdzio Thank you i will check this.
Out of curiosity, why ?