PDA

View Full Version : Qt 4.6.2. compilation error



b1
16th May 2010, 02:32
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):

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:

/usr/lib/qt-4.6.2s/src/tools/uic/cpp/cppwriteiconinitialization.cpp
Configure finished without errors. The command line was:

/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.

b1
23rd May 2010, 07:54
Solved!

The #include utils.h line needed to be changed to #include ../utils.h in two files.

B1.

b1
23rd May 2010, 10:03
G'Day,

Now i get this error:

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.

b1
13th June 2010, 08:22
Solved the second problem by adding -no-webkit to the configure script

b1.