Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt5 - how to find the headers files using GNU make?
Forum Update on Monday, May 27th 2025

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

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 693 Views
  • 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 Offline
    S Offline
    shamok
    wrote on 14 Nov 2014, 14:10 last edited by
    #1

    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
    0

    1/1

    14 Nov 2014, 14:10

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved