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. Qmake on Mac disks
Qt 6.11 is out! See what's new in the release blog

Qmake on Mac disks

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.3k Views 1 Watching
  • 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.
  • G Offline
    G Offline
    Guizmo
    wrote on last edited by
    #1

    I have a strange problem with a QT Project.
    I try to add "../../Include" but qmake to transform it to "../Include".
    If I change the path to something else, the problem doesn't appear.

    First test :

    nbproject/qt-Debug.pro :
    INCLUDEPATH += ../../Include

    After running "/usr/bin/qmake VPATH=. -spec macx-g++ -o qttmp-Debug.mk nbproject/qt-Debug.pro", qttmp-Debug.tmp shows :
    INCPATH = -I/usr/local/Qt4.8/mkspecs/macx-g++ -Inbproject -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/usr/include -I../Include -I. -Inbproject -I. -F/Library/Frameworks

    Second test :
    nbproject/qt-Debug.pro :
    INCLUDEPATH += ../../Include2

    After running "/usr/bin/qmake VPATH=. -spec macx-g++ -o qttmp-Debug.mk nbproject/qt-Debug.pro", qttmp-Debug.tmp shows :
    INCPATH = -I/usr/local/Qt4.8/mkspecs/macx-g++ -Inbproject -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/usr/include -I../../Include2 -I. -Inbproject -I. -F/Library/Frameworks

    I have the same behaviour running qmake on MacOSX or with qmake on Linux on Parallels accessing the Mac hard drive.
    It appears to be related to the filesystem...

    Any idea ?

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      zarnick
      wrote on last edited by
      #2

      Do you use Case Sensitive for your partitioning scheme on Mac? I know I've had a lot of strange problems when using this kind of format...

      1 Reply Last reply
      0
      • G Offline
        G Offline
        Guizmo
        wrote on last edited by
        #3

        I tryied on 2 computers with HFS case insensitive (the default).
        I also tryied "../../../Include" which is replaced by "../../Include".

        Another thing, if I copy the same folder on a NTFS partition, on the same computer, it works fine.

        1 Reply Last reply
        0

        • Login

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