Qt 4.6.2. compilation error
G'Day,
I am trying to compile Qt 4.6.2 on Slackware 13.1. I am getting this error when running gmake (or make):
Quote:
cpp/cppwriteiconinitialization.cpp: In member function 'virtual void CPP::WriteIconInitialization::acceptImage(DomImage *)':
cpp/cppwriteiconinitialization.cpp:109: error: 'fixString' was not declared in this scope
The path to the file is:
Quote:
/usr/lib/qt-4.6.2s/src/tools/uic/cpp/cppwriteiconinitialization.cpp
Configure finished without errors. The command line was:
Quote:
/usr/lib/qt-4.6.2s/configure -platform linux-g++ -prefix /usr/lib/qt-4.6.2s -static -release -qt-sql-mysql -qt-sql-sqlite -I /usr/include/mysql -L /usr/lib/mysql
I am running gcc v4.4.4 and gmake v3.81.
Any thoughts would be greatly appreciated,
Thank you, B1.
Re: Qt 4.6.2. compilation error
Solved!
The #include utils.h line needed to be changed to #include ../utils.h in two files.
B1.
Re: Qt 4.6.2. compilation error
G'Day,
Now i get this error:
Code:
bindings/js/ScriptValue.h:49: error: conversion from 'JSC::UString' to non-scalar type 'WebCore::String' requested
It occurs when it gets down to the webkit files.
Thanks, B1.
Re: Qt 4.6.2. compilation error
Solved the second problem by adding -no-webkit to the configure script
b1.