octave-maintainers
[Top][All Lists]
Advanced

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

Re: GUI on MacOS X !


From: Ben Abbott
Subject: Re: GUI on MacOS X !
Date: Sun, 24 Sep 2017 19:54:24 -0400

> On Sep 24, 2017, at 19:13, Mike Miller <address@hidden> wrote:
> 
>> On Sun, Sep 24, 2017 at 19:09:08 -0400, Ben Abbott wrote:
>> I’ve made progress, but am seeing this
>> "QAbstractItemModel::beginResetModel not found; disabling Qt GUI”
>> 
>> Apparently beginResetModel is obsolete?
> 
> It's not. I think you will have to debug this closer or post more info
> from your config.log.
> 
> In my config.log:
> 
>   configure:70604: checking for QAbstractItemModel::beginResetModel in 
> <QAbstractItemModel>
>   configure:70659: g++ -c -fPIC -g -O2 -pthread -fopenmp ...
>   configure:70659: $? = 0
>   configure:70675: result: yes
> 
> Are you trying to build with Qt 5 now? Are you running configure with
> --with-qt=5 or letting it autodetect?
> 
> -- 
> mike

I am setting qt=5 (4 and 5 coexist for me). I was setting QT_LIBS using 
pkg-config, but now leaving this to configure.

In any event, the additional info from config.log is below.

configure:70547: checking for QAbstractItemModel::beginResetModel in 
<QAbstractItemModel>
configure:70602: /sw/var/lib/fink/path-prefix-libcxx/c++ -std=gnu++11 -c -fPIC 
-O2 -g -fno-omit-frame-pointer -D_THREAD_SAFE -pthread  
-I/sw/lib/qt5-mac/lib/QtCore.framework/Headers 
-I/sw/lib/qt5-mac/lib/QtGui.framework/Headers 
-I/sw/lib/qt5-mac/lib/QtNetwork.framework/Headers 
-I/sw/lib/qt5-mac/lib/QtOpenGL.framework/Headers 
-I/sw/lib/qt5-mac/lib/QtWidgets.framework/Headers 
-I/sw/lib/qt5-mac/lib/QtPrintSupport.framework/Headers 
-I/sw/lib/qt5-mac/include -fPIC -I/sw/include conftest.cpp >&5
In file included from conftest.cpp:769:
In file included from 
/sw/lib/qt5-mac/lib/QtCore.framework/Headers/QAbstractItemModel:1:
/sw/lib/qt5-mac/lib/QtCore.framework/Headers/qabstractitemmodel.h:43:10: fatal 
error: 'QtCore/qvariant.h' file not found
#include <QtCore/qvariant.h>
         ^~~~~~~~~~~~~~~~~~~
1 error generated.

I can verify that qvariant.h is the QtCore framework, i.e. it is in 
QtCore.framework/Versions/5//Headers

Ben


reply via email to

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