Coder Social home page Coder Social logo

Comments (7)

m-kuhn avatar m-kuhn commented on July 20, 2024

There is a pull request open for an update of qtwebkit to 5.9 in osgeo4mac, but the Formula still needs to be fixed.

OSGeo/homebrew-osgeo4mac#234

from homebrew-qgisdev.

dakcarto avatar dakcarto commented on July 20, 2024

Should be fixed now with recent changes to qt5-webkit, now at 5.9.1 like Homebrew's qt. Please try again.

from homebrew-qgisdev.

m-kuhn avatar m-kuhn commented on July 20, 2024

Thanks Larry, travis compiles qgis a lot happier again with these updates

from homebrew-qgisdev.

timlinux avatar timlinux commented on July 20, 2024

Thanks for the fixes @dakcarto

I get the correct qt5-webkit version installed now, but still have some compilation issues relating to WebKit:

[58/1824 3.9/sec] Building CXX object src/core/CMakeFiles/qgis_core.dir/moc_qgswebpage.cpp.o
FAILED: src/core/CMakeFiles/qgis_core.dir/moc_qgswebpage.cpp.o 
/usr/local/opt/ccache/libexec/clang++  -DQGISDEBUG=1 -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DWITH_BINDINGS -DWITH_QTWEBKIT -D_HAVE_PTHREAD_ -D_TTY_POSIX_ -Dqgis_core_EXPORTS -I. -I/Users/timlinux/dev/cpp/QGIS/src/core -Isrc/core -isystem /usr/local/include -I/Users/timlinux/dev/cpp/QGIS/src/core/annotations -I/Users/timlinux/dev/cpp/QGIS/src/core/auth -I/Users/timlinux/dev/cpp/QGIS/src/core/composer -I/Users/timlinux/dev/cpp/QGIS/src/core/dxf -I/Users/timlinux/dev/cpp/QGIS/src/core/effects -I/Users/timlinux/dev/cpp/QGIS/src/core/expression -I/Users/timlinux/dev/cpp/QGIS/src/core/fieldformatter -I/Users/timlinux/dev/cpp/QGIS/src/core/geometry -I/Users/timlinux/dev/cpp/QGIS/src/core/geonode -I/Users/timlinux/dev/cpp/QGIS/src/core/layertree -I/Users/timlinux/dev/cpp/QGIS/src/core/layout -I/Users/timlinux/dev/cpp/QGIS/src/core/metadata -I/Users/timlinux/dev/cpp/QGIS/src/core/pal -I/Users/timlinux/dev/cpp/QGIS/src/core/processing -I/Users/timlinux/dev/cpp/QGIS/src/core/processing/models -I/Users/timlinux/dev/cpp/QGIS/src/core/providers -I/Users/timlinux/dev/cpp/QGIS/src/core/providers/memory -I/Users/timlinux/dev/cpp/QGIS/src/core/raster -I/Users/timlinux/dev/cpp/QGIS/src/core/renderer -I/Users/timlinux/dev/cpp/QGIS/src/core/scalebar -I/Users/timlinux/dev/cpp/QGIS/src/core/symbology -I/Users/timlinux/dev/cpp/QGIS/src/core/gps/qextserialport -isystem /usr/local/opt/spatialindex/include/spatialindex -isystem /usr/local/opt/proj/include -isystem /usr/local/opt/geos/include -isystem /usr/local/opt/gdal2/include -isystem /usr/local/opt/expat/include -isystem /usr/local/opt/sqlite/include -isystem /usr/local/opt/libspatialite/include -isystem /usr/local/opt/qca/lib/qca-qt5.framework/Headers -isystem /usr/local/include/qt5keychain -iframework /usr/local/opt/qt5/lib -isystem /usr/local/opt/qt5/lib/QtXml.framework/Headers -isystem /usr/local/opt/qt5/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt5/./mkspecs/macx-clang -isystem /usr/local/opt/qt5/lib/QtConcurrent.framework/Headers -isystem /usr/local/opt/qt5/lib/QtGui.framework/Headers -isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/OpenGL.framework/Headers -isystem /usr/local/opt/qt5/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt5/lib/QtPrintSupport.framework/Headers -isystem /usr/local/opt/qt5/lib/QtSvg.framework/Headers -isystem /usr/local/opt/qt5/lib/QtNetwork.framework/Headers -iframework /usr/local/opt/qt5-webkit/lib -isystem /usr/local/opt/qt5-webkit/lib/QtWebKit.framework/Headers -isystem /usr/local/opt/qt5-webkit/lib/QtWebKitWidgets.framework/Headers -isystem /usr/local/opt/qt5/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt5/lib/QtPositioning.framework/Headers -DSPATIALITE_VERSION_GE_4_0_0 -DSPATIALITE_VERSION_G_4_1_1 -DSPATIALITE_HAS_INIT_EX -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -fPIC -fvisibility=hidden   -DTEST_DATA_DIR="\"/Users/timlinux/dev/cpp/QGIS/tests/testdata\"" -F/usr/local/opt/qca/lib  -fPIC -std=gnu++11 -Wno-deprecated-declarations -MD -MT src/core/CMakeFiles/qgis_core.dir/moc_qgswebpage.cpp.o -MF src/core/CMakeFiles/qgis_core.dir/moc_qgswebpage.cpp.o.d -o src/core/CMakeFiles/qgis_core.dir/moc_qgswebpage.cpp.o -c src/core/moc_qgswebpage.cpp
src/core/moc_qgswebpage.cpp:57:20: error: out-of-line definition of 'qt_static_metacall' does not match any declaration in 'QWebSettings'
void QWebSettings::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
                   ^~~~~~~~~~~~~~~~~~
src/core/moc_qgswebpage.cpp:65:33: error: no member named 'staticMetaObject' in 'QWebSettings'
const QMetaObject QWebSettings::staticMetaObject = {
                  ~~~~~~~~~~~~~~^
src/core/moc_qgswebpage.cpp:67:35: error: use of undeclared identifier 'qt_static_metacall'
      qt_meta_data_QWebSettings,  qt_static_metacall, nullptr, nullptr}
                                  ^
src/core/moc_qgswebpage.cpp:71:34: error: out-of-line definition of 'metaObject' does not match any declaration in 'QWebSettings'
const QMetaObject *QWebSettings::metaObject() const
                                 ^~~~~~~~~~
src/core/moc_qgswebpage.cpp:73:21: error: invalid use of non-static data member 'd_ptr'
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
           ~~~~~~~~~^~~~~
src/core/moc_qgswebpage.cpp:73:21: error: 'd_ptr' is a protected member of 'QObject'
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qobject.h:438:33: note: declared protected here
    QScopedPointer<QObjectData> d_ptr;
                                ^
src/core/moc_qgswebpage.cpp:73:50: error: invalid use of non-static data member 'd_ptr'
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
                                        ~~~~~~~~~^~~~~
src/core/moc_qgswebpage.cpp:73:50: error: 'd_ptr' is a protected member of 'QObject'
/usr/local/opt/qt5/lib/QtCore.framework/Headers/qobject.h:438:33: note: declared protected here
    QScopedPointer<QObjectData> d_ptr;
                                ^
src/core/moc_qgswebpage.cpp:76:21: error: out-of-line definition of 'qt_metacast' does not match any declaration in 'QWebSettings'
void *QWebSettings::qt_metacast(const char *_clname)
                    ^~~~~~~~~~~
src/core/moc_qgswebpage.cpp:81:21: error: call to non-static member function without an object argument
    return QObject::qt_metacast(_clname);
           ~~~~~~~~~^~~~~~~~~~~
src/core/moc_qgswebpage.cpp:84:19: error: out-of-line definition of 'qt_metacall' does not match any declaration in 'QWebSettings'
int QWebSettings::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
                  ^~~~~~~~~~~
src/core/moc_qgswebpage.cpp:86:20: error: call to non-static member function without an object argument
    _id = QObject::qt_metacall(_c, _id, _a);
          ~~~~~~~~~^~~~~~~~~~~
12 errors generated.

from homebrew-qgisdev.

timlinux avatar timlinux commented on July 20, 2024

Ok sorry for the noise - I did a clean then build and it all works nicely now!

from homebrew-qgisdev.

timlinux avatar timlinux commented on July 20, 2024

@RobDeBagel can you test and close if it builds for you?

from homebrew-qgisdev.

dakcarto avatar dakcarto commented on July 20, 2024

Closing. Please reopen if needed.

from homebrew-qgisdev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.