[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qco
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists |
Date: |
Mon, 24 Dec 2018 04:58:20 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15 |
Follow-up Comment #37, bug #55187 (project octave):
I'm on macOS. With qt 5.11.2 the Qt configure process succeeds.
configure:72939: checking for QAbstractItemModel::beginResetModel in
<QAbstractItemModel>
configure:72994: g++ -std=gnu++11 -c -fPIC -g -O2 -D_THREAD_SAFE -pthread
-I/usr/local/Cellar/qt/5.11.2/include/QtNetwork
-I/usr/local/Cellar/qt/5.11.2/include
-I/usr/local/Cellar/qt/5.11.2/include/QtPrintSupport
-I/usr/local/Cellar/qt/5.11.2/include
-I/usr/local/Cellar/qt/5.11.2/include/QtHelp
-I/usr/local/Cellar/qt/5.11.2/include
-I/usr/local/Cellar/qt/5.11.2/include/QtWidgets
-I/usr/local/Cellar/qt/5.11.2/include
-I/usr/local/Cellar/qt/5.11.2/include/QtGui
-I/usr/local/Cellar/qt/5.11.2/include
-I/usr/local/Cellar/qt/5.11.2/include/QtSql
-I/usr/local/Cellar/qt/5.11.2/include
-I/usr/local/Cellar/qt/5.11.2/include/QtXml
-I/usr/local/Cellar/qt/5.11.2/include
-I/usr/local/Cellar/qt/5.11.2/include/QtCore
-I/usr/local/Cellar/qt/5.11.2/include -fPIC -I/usr/local/opt/readline/include
-I/usr/local/opt/sqlite/include -I/usr/local/opt/openssl/include
-I/usr/local/opt/gettext/include -I/usr/local/opt/icu4c/include
-I/usr/local/opt/sundials27/include -I/usr/local/opt/zlib/include conftest.cpp
>&5
configure:72994: $? = 0
configure:73010: result: yes
With qt 5.12.0 the Qt configure process fails. This may or may not be unique
to macOS.
configure:72939: checking for QAbstractItemModel::beginResetModel in
<QAbstractItemModel>
configure:72994: g++ -std=gnu++11 -c -fPIC -g -O2 -D_THREAD_SAFE -pthread
-I/usr/local/Cellar/qt/5.12.0/lib/QtNetwork.framework/Headers
-I/usr/local/Cellar/qt/5.12.0/lib/QtPrintSupport.framework/Headers
-I/usr/local/Cellar/qt/5.12.0/lib/QtHelp.framework/Headers
-I/usr/local/Cellar/qt/5.12.0/lib/QtWidgets.framework/Headers
-I/usr/local/Cellar/qt/5.12.0/lib/QtGui.framework/Headers
-I/usr/local/Cellar/qt/5.12.0/lib/QtSql.framework/Headers
-I/usr/local/Cellar/qt/5.12.0/lib/QtXml.framework/Headers
-I/usr/local/Cellar/qt/5.12.0/lib/QtCore.framework/Headers -fPIC
-I/usr/local/opt/readline/include -I/usr/local/opt/sqlite/include
-I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include
-I/usr/local/opt/icu4c/include -I/usr/local/opt/sundials27/include
-I/usr/local/opt/zlib/include conftest.cpp >&5
In file included from conftest.cpp:507:
In file included from
/usr/local/Cellar/qt/5.12.0/lib/QtCore.framework/Headers/QAbstractItemModel:1:
/usr/local/Cellar/qt/5.12.0/lib/QtCore.framework/Headers/qabstractitemmodel.h:43:10:
fatal error: 'QtCore/qvariant.h' file not found
#include <QtCore/qvariant.h>
^~~~~~~~~~~~~~~~~~~
1 error generated.
For each, the include files are where they belong, and in equivalent
locations. However, the configure process produces include entries that drill
down into the frameworks on qt5.11 differently than on qt5.12.
For 5.11.2, the include files for QtCore are in each location below
(sym-linkded).
/usr/local/Cellar/qt/5.11.2/lib/QtCore.framework/Headers/qvariant.h
/usr/local/Cellar/qt/5.11.2/include/QtCore/qvariant.h
For 5.12.0, the include files for QtCore are in each location below
(sym-linkded).
/usr/local/Cellar/qt/5.12.0/lib/QtCore.framework/Headers/qvariant.h
/usr/local/Cellar/qt/5.12.0/include/QtCore/qvariant.h
For 5.11.2, the include entry is
-I/usr/local/Cellar/qt/5.11.2/include/QtCore
my configure includes a reference to the Qt frameworks.
LDFLAGS="$LDFLAGS -F/usr/local/opt/qt/lib"
For 5.12.0, the include entry is
-I/usr/local/Cellar/qt/5.12.0/lib/QtCore.framework/Headers
I've tried using a reference to the frameworks.
LDFLAGS="$LDFLAGS -F/usr/local/opt/qt/lib"
Also tried using a reference to the libs.
LDFLAGS="$LDFLAGS -L/usr/local/opt/qt/lib"
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55187>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, (continued)
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Mike Miller, 2018/12/14
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Stefan Husmann, 2018/12/14
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Rik, 2018/12/15
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Mike Miller, 2018/12/15
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Rik, 2018/12/15
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Stefan Husmann, 2018/12/15
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Rik, 2018/12/15
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Stefan Husmann, 2018/12/16
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Mike Miller, 2018/12/16
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Ben Abbott, 2018/12/24
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists,
Ben Abbott <=
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Ben Abbott, 2018/12/24
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Ben Abbott, 2018/12/25
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Ben Abbott, 2018/12/29
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Rik, 2018/12/30
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Rik, 2018/12/30
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Ben Abbott, 2018/12/30
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Rik, 2018/12/30
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Ben Abbott, 2018/12/30
- [Octave-bug-tracker] [bug #55187] build: fails to work with Qt 5.12, qcollectiongenerator no longer exists, Ben Abbott, 2018/12/30