Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt5 - how to find the headers files using GNU make?
shamok last edited by
0 down vote favorite
I have a issue for mac OsX
before, I was using Qt4 which installed itself in /Library/Frameworks for all Users. So, I had a generic makefile for my all my Osx Users... using this informations.
But since, Qt5 asks you to install itself where you want with the version number... usually somewhere like : /Users/myname/Qt5.3.2/...
What can I use or how can i find the Headers filse to compile my program using makefile (no Cmake, Qmake ...) without asking my user : where did you install your Qt5 frameworks ?
I have tried to use *.pc in the Qt5.x.x/clang64/lib/pkgconfig directory but they seem to be wrong.
pkg-config --libs Qt5Core (ok) :
@-F/Users/myname/Qt5.3.2/5.3/clang_64/lib -framework QtCore@
pkg-config --cflags Qt5Core (not ok) :
but I need something like :
anyone have an idea ... or this problem ? I found nothing interesting on google, because most people using Cmake or Qmake and i can't.
note : I have no problem on linux because i'm using pkg-config information.