Küçük bir araştırma sonucu temanın timthumb.php dosyasında CutyCapt kurulumu hakkında bilgilendirme yapılmış bende yükleme çalışırken aşağıdaki hatayı aldım. libqt4 paketini kuramadım sorun ondan kaynaklanıyor sanırım.
Alıntı
make
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include/QtWebKit -I/usr/include -I. -o CutyCapt.o CutyCapt.cpp
CutyCapt.cpp:27:20: error: QtWebKit: No such file or directory
In file included from CutyCapt.cpp:39:
CutyCapt.hpp:8: error: expected class-name before ‘{’ token
CutyCapt.hpp:12: error: ‘QWebSettings’ has not been declared
CutyCapt.hpp:12: error: expected ‘,’ or ‘...’ before ‘option’
CutyCapt.hpp:20: error: ‘QWebFrame’ has not been declared
CutyCapt.hpp:22: error: ‘QWebFrame’ has not been declared
CutyCapt.hpp:23: error: ‘QWebFrame’ has not been declared
CutyCapt.hpp:24: error: ‘QWebFrame’ has not been declared
CutyCapt.hpp:57: error: ‘QNetworkReply’ has not been declared
CutyCapt.hpp:57: error: ‘QSslError’ was not declared in this scope
CutyCapt.hpp:57: error: template argument 1 is invalid
CutyCapt.cpp:80: error: ‘QString CutyPage::chooseFile’ is not a static member of ‘class CutyPage’
CutyCapt.cpp:80: error: ‘QWebFrame’ was not declared in this scope
CutyCapt.cpp:80: error: expected primary-expression before ‘,’ token
CutyCapt.cpp:80: error: expected primary-expression before ‘const’
CutyCapt.cpp:80: error: expected ‘,’ or ‘;’ before ‘{’ token
CutyCapt.cpp:85: error: ‘bool CutyPage::javaScriptConfirm’ is not a static member of ‘class CutyPage’
CutyCapt.cpp:85: error: ‘QWebFrame’ was not declared in this scope
CutyCapt.cpp:85: error: expected primary-expression before ‘,’ token
CutyCapt.cpp:85: error: expected primary-expression before ‘const’
CutyCapt.cpp:85: error: initializer expression list treated as compound expression
CutyCapt.cpp:85: error: expected ‘,’ or ‘;’ before ‘{’ token
CutyCapt.cpp:90: error: ‘bool CutyPage::javaScriptPrompt’ is not a static member of ‘class CutyPage’
CutyCapt.cpp:90: error: ‘QWebFrame’ was not declared in this scope
CutyCapt.cpp:90: error: expected primary-expression before ‘,’ token
CutyCapt.cpp:91: error: expected primary-expression before ‘const’
CutyCapt.cpp:92: error: expected primary-expression before ‘const’
CutyCapt.cpp:93: error: expected primary-expression before ‘*’ token
CutyCapt.cpp:93: error: expected primary-expression before ‘)’ token
CutyCapt.cpp:93: error: initializer expression list treated as compound expression
CutyCapt.cpp:93: error: expected ‘,’ or ‘;’ before ‘{’ token
CutyCapt.cpp:105: error: variable or field ‘javaScriptAlert’ declared void
CutyCapt.cpp:105: error: ‘QWebFrame’ was not declared in this scope
CutyCapt.cpp:105: error: expected primary-expression before ‘,’ token
CutyCapt.cpp:105: error: expected primary-expression before ‘const’
make: *** [CutyCapt.o] Error 1
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include/QtWebKit -I/usr/include -I. -o CutyCapt.o CutyCapt.cpp
CutyCapt.cpp:27:20: error: QtWebKit: No such file or directory
In file included from CutyCapt.cpp:39:
CutyCapt.hpp:8: error: expected class-name before ‘{’ token
CutyCapt.hpp:12: error: ‘QWebSettings’ has not been declared
CutyCapt.hpp:12: error: expected ‘,’ or ‘...’ before ‘option’
CutyCapt.hpp:20: error: ‘QWebFrame’ has not been declared
CutyCapt.hpp:22: error: ‘QWebFrame’ has not been declared
CutyCapt.hpp:23: error: ‘QWebFrame’ has not been declared
CutyCapt.hpp:24: error: ‘QWebFrame’ has not been declared
CutyCapt.hpp:57: error: ‘QNetworkReply’ has not been declared
CutyCapt.hpp:57: error: ‘QSslError’ was not declared in this scope
CutyCapt.hpp:57: error: template argument 1 is invalid
CutyCapt.cpp:80: error: ‘QString CutyPage::chooseFile’ is not a static member of ‘class CutyPage’
CutyCapt.cpp:80: error: ‘QWebFrame’ was not declared in this scope
CutyCapt.cpp:80: error: expected primary-expression before ‘,’ token
CutyCapt.cpp:80: error: expected primary-expression before ‘const’
CutyCapt.cpp:80: error: expected ‘,’ or ‘;’ before ‘{’ token
CutyCapt.cpp:85: error: ‘bool CutyPage::javaScriptConfirm’ is not a static member of ‘class CutyPage’
CutyCapt.cpp:85: error: ‘QWebFrame’ was not declared in this scope
CutyCapt.cpp:85: error: expected primary-expression before ‘,’ token
CutyCapt.cpp:85: error: expected primary-expression before ‘const’
CutyCapt.cpp:85: error: initializer expression list treated as compound expression
CutyCapt.cpp:85: error: expected ‘,’ or ‘;’ before ‘{’ token
CutyCapt.cpp:90: error: ‘bool CutyPage::javaScriptPrompt’ is not a static member of ‘class CutyPage’
CutyCapt.cpp:90: error: ‘QWebFrame’ was not declared in this scope
CutyCapt.cpp:90: error: expected primary-expression before ‘,’ token
CutyCapt.cpp:91: error: expected primary-expression before ‘const’
CutyCapt.cpp:92: error: expected primary-expression before ‘const’
CutyCapt.cpp:93: error: expected primary-expression before ‘*’ token
CutyCapt.cpp:93: error: expected primary-expression before ‘)’ token
CutyCapt.cpp:93: error: initializer expression list treated as compound expression
CutyCapt.cpp:93: error: expected ‘,’ or ‘;’ before ‘{’ token
CutyCapt.cpp:105: error: variable or field ‘javaScriptAlert’ declared void
CutyCapt.cpp:105: error: ‘QWebFrame’ was not declared in this scope
CutyCapt.cpp:105: error: expected primary-expression before ‘,’ token
CutyCapt.cpp:105: error: expected primary-expression before ‘const’
make: *** [CutyCapt.o] Error 1