octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUI on MacOS X !


From: Daniel J Sebald
Subject: Re: GUI on MacOS X !
Date: Sun, 24 Sep 2017 20:22:49 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 09/24/2017 07:58 PM, Ben Abbott wrote:

On Sep 24, 2017, at 8:48 PM, Daniel J Sebald <address@hidden <mailto:address@hidden>> wrote:

On 09/24/2017 07:15 PM, Daniel J Sebald wrote:

Oh wait, I see there is a Headers included already:
-I/sw/lib/qt5-mac/lib/QtCore.framework/Headers
What's missing is "/Versions/5/" between the framework directory and Headers directory. Is this standard for Mac OS X? Where is the responsibility for putting that in path name?

From this post to the Qt forum:

http://www.qtcentre.org/threads/61699-Build-Qt-based-app-on-Mac-OS-X-head-file-not-found

my guess would be that you are supposed to have some links pointing from

/sw/lib/qt5-mac/lib/QtCore.framework/Headers

to

/sw/lib/qt5-mac/lib/QtCore.framework/Versions/5/Headers

etc.

But, maybe the links were deprecated on Mac OS X.  I don't know.

Dan

The location I posted earlier was what I found via MacOS gui. From the command line ...

$ ls -l /sw/lib/qt5-mac/lib/QtCore.framework/Headers
lrwxr-xr-x 1 root wheel 24 Jan 23 2017 /sw/lib/qt5-mac/lib/QtCore.framework/Headers -> Versions/Current/Headers

ls -l /sw/lib/qt5-mac/lib/QtCore.framework/Headers/qvariant.h
-rw-r--r-- 1 root wheel 29027 Dec 23 2016 /sw/lib/qt5-mac/lib/QtCore.framework/Headers/qvariant.h

Hmmm.  There's no

  /sw/lib/qt5-mac/lib/QtCore.framework/Headers/QtCore

directory?  From your original error, the included file is

#include <QtCore/qvariant.h>
         ^~~~~~~~~~~~~~~~~~~

But what's interesting is that the GUI source code doesn't have many <QtCore/XYZ.h> files... except the

libgui/qterminal/libqterminal/unix/

directory, which I think Mac OS X doesn't use.

So perhaps this directory structure is only something important for configure???

Anyway, that <QtCore/qvariant.h> is originating from the Qt header files themselves. No changing that. So something about your environment is not setting up the proper path or links or something. You have:

/sw/lib/qt5-mac/lib/QtCore.framework/Headers/qvariant.h

but qvariant.h has to be located in some directory

/.../QtCore/qvariant.h

Dan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]