QupZilla / qupzilla

Cross-platform Qt web browser
http://www.qupzilla.com
GNU General Public License v3.0
1.12k stars 348 forks source link

Build error: ‘m_websettings’ #1257

Closed ghost closed 10 years ago

ghost commented 10 years ago

Trying to build the latest git version, but that's occurs:

g++ -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g -Wall -W -D_REENTRANT -fPIC -DQUPZILLA_SHAREDLIBRARY -DUSE_QTWEBKIT_2_2 -DUSE_QTWEBKIT_2_3 -DQT_NO_URL_CAST_FROM_STRING -DQT_USE_QSTRINGBUILDER -DQUPZILLA_DEBUG_BUILD -DUSE_WEBGL -DGNOME_INTEGRATION -DNONBLOCK_JS_DIALOGS -DUSE_LIBPATH=\"/opt/qupzilla/lib64\" -DUSE_DATADIR=\"/opt/qupzilla//share/qupzilla\" -DGIT_REVISION=\"6598885538\" -DQZ_WS_X11 -DQT_STATICPLUGIN -DUSE_HUNSPELL -DQT_WEBKIT_LIB -DQT_DBUS_LIB -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/qt/lib64/qt4/mkspecs/linux-g++ -I. -I/opt/qt/include/QtCore -I/opt/qt/include/QtNetwork -I/opt/qt/include/QtGui -I/opt/qt/include/QtSql -I/opt/qt/include/QtScript -I/opt/qt/include/QtDBus -I/opt/qt/include/QtWebKit -I/opt/qt/include -I3rdparty -I../../tests/modeltest -I3rdparty -Iapp -Iautofill -Ibookmarks -Icookies -Isession -Idownloads -Ihistory -Inavigation -Inetwork -Iother -Ipreferences -Irss -Itools -Iutils -Iwebview -Iplugins -Isidebar -Idata -Iadblock -Idesktopnotifications -Iopensearch -Ipopupwindow -I../../build -I../../build -o ../../build/downloadmanager.o downloads/downloadmanager.cpp
app/mainapplication.cpp: In member function 'void MainApplication::loadSettings()':
app/mainapplication.cpp:843: error: 'm_websettings' was not declared in this scope
nowrep commented 10 years ago

It builds just fine https://travis-ci.org/QupZilla/qupzilla You may need to do full rebuild though

Edit: Sorry, actually it does not :D With USE_WEBGL define

ghost commented 10 years ago

It compiles now, thanks!