Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt5 - how to find the headers files using GNU make?

    General and Desktop
    1
    1
    594
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      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) :
      @-I/Users/myname/Qt5.3.2/5.3/clang_64/include/QtCore -I/Users/myname/Qt5.3.2/5.3/clang_64/include@

      but I need something like :
      @-F/Users/myname/Qt5.3.2/5.3/clang_64/lib -I/Users/myname/Qt5.3.2/5.3/clang_64/lib/QtCore.framework/Headers@

      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.

      thanks

      1 Reply Last reply Reply Quote 0
      • First post
        Last post