nowrep/QupZilla — Issue #16: git version 2011-10-19: Won't compile
Author: JHooverman
Created: 2011-10-19 14:36:22+00:00
State: open

Hello,

I was just trying to compile the latest git version, but it fails with this error:

g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG_OUTPUT -DUSE_DATADIR="/usr/share/qupzilla/" -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_DBUS_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include/QtDBus -I/usr/include/QtWebKit -I/usr/include -I3rdparty -Iapp -Iautofill -Ibookmarks -Icookies -Idownloads -Ihistory -Inavigation -Inetwork -Iother -Ipreferences -Irss -Itools -Iutils -Iwebview -Iplugins -Isidebar -Idata -Iadblock -Idesktopnotifications -I3rdparty -I../build -I../build -o ../build/mainapplication.o app/mainapplication.cpp
app/mainapplication.cpp: In constructor 'MainApplication::MainApplication(const QList&, int&, char**)':
app/mainapplication.cpp:67:15: error: expected primary-expression before '/' token
app/mainapplication.cpp:67:15: error: 'usr' was not declared in this scope
app/mainapplication.cpp:67:15: error: 'share' was not declared in this scope
app/mainapplication.cpp:67:15: error: 'qupzilla' was not declared in this scope
app/mainapplication.cpp:67:26: error: expected primary-expression before ';' token
make: *** [../build/mainapplication.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.CAb4wU (%build)