trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: August 2012

Re: [trinity-devel] TQt3-3.5.0 Broken?

From: "Timothy Pearson" <kb9vqf@...>
Date: Sat, 11 Aug 2012 16:03:13 -0500
> I'm seeing the following build errors:
>
> g++: .obj/qcompactstyle.o: No such file or directory
> mv: cannot stat `libqcompactstyle.so': No such file or directory
> g++: .obj/qcompactstyle.o: No such file or directory
> mv: cannot stat `libqcompactstyle.so': No such file or directory
>
> ../../../../src/styles/qcompactstyle.cpp:152: error: 'CEF_HasWidget' was
> not declared in this scope
> ../../../../src/styles/qcompactstyle.cpp:238: error: no matching function
> for call to 'TQCompactStyle::drawPrimitive(TQStyle::PrimitiveElement,
> TQPainter*&, TQRect, TQColorGroup&, uint&, const TQStyleOption&)'
> ../../../../src/styles/qcompactstyle.cpp:305: error: no matching function
> for call to 'TQCompactStyle::drawPrimitive(TQStyle::PrimitiveElement,
> TQPainter*&, TQRect, TQColorGroup&, TQStyle::StyleFlags)'
> ../../../../src/styles/qcompactstyle.cpp:308: error: no matching function
> for call to 'TQCompactStyle::drawPrimitive(TQStyle::PrimitiveElement,
> TQPainter*&, TQRect, const TQColorGroup&, TQStyle::StyleFlags)'
> ../../../../src/styles/qcompactstyle.cpp:152: error: 'CEF_HasWidget' was
> not declared in this scope
> ../../../../src/styles/qcompactstyle.cpp:238: error: no matching function
> for call to 'TQCompactStyle::drawPrimitive(TQStyle::PrimitiveElement,
> TQPainter*&, TQRect, TQColorGroup&, uint&, const TQStyleOption&)'
> ../../../../src/styles/qcompactstyle.cpp:305: error: no matching function
> for call to 'TQCompactStyle::drawPrimitive(TQStyle::PrimitiveElement,
> TQPainter*&, TQRect, TQColorGroup&, TQStyle::StyleFlags)'
> ../../../../src/styles/qcompactstyle.cpp:308: error: no matching function
> for call to 'TQCompactStyle::drawPrimitive(TQStyle::PrimitiveElement,
> TQPainter*&, TQRect, const TQColorGroup&, TQStyle::StyleFlags)'
> ../../../../src/styles/qcompactstyle.cpp:152: error: 'CEF_HasWidget' was
> not declared in this scope
> ../../../../src/styles/qcompactstyle.cpp:238: error: no matching function
> for call to 'TQCompactStyle::drawPrimitive(TQStyle::PrimitiveElement,
> TQPainter*&, TQRect, TQColorGroup&, uint&, const TQStyleOption&)'
> ../../../../src/styles/qcompactstyle.cpp:305: error: no matching function
> for call to 'TQCompactStyle::drawPrimitive(TQStyle::PrimitiveElement,
> TQPainter*&, TQRect, TQColorGroup&, TQStyle::StyleFlags)'
> ../../../../src/styles/qcompactstyle.cpp:308: error: no matching function
> for call to 'TQCompactStyle::drawPrimitive(TQStyle::PrimitiveElement,
> TQPainter*&, TQRect, const TQColorGroup&, TQStyle::StyleFlags)'
> ../../../../src/styles/qcompactstyle.cpp:152: error: 'CEF_HasWidget' was
> not declared in this scope
> ../../../../src/styles/qcompactstyle.cpp:238: error: no matching function
> for call to 'TQCompactStyle::drawPrimitive(TQStyle::PrimitiveElement,
> TQPainter*&, TQRect, TQColorGroup&, uint&, const TQStyleOption&)'
> ../../../../src/styles/qcompactstyle.cpp:305: error: no matching function
> for call to 'TQCompactStyle::drawPrimitive(TQStyle::PrimitiveElement,
> TQPainter*&, TQRect, TQColorGroup&, TQStyle::StyleFlags)'
> ../../../../src/styles/qcompactstyle.cpp:308: error: no matching function
> for call to 'TQCompactStyle::drawPrimitive(TQStyle::PrimitiveElement,
> TQPainter*&, TQRect, const TQColorGroup&, TQStyle::StyleFlags)'
>
> Full build log:
>
> http://humanreadable.nfshost.com/trinity/build_logs/tqt3-R14.0.0-i486-13.1_32_git_7818-build.log
>
> The errors occur in Slackware 13.1 32-bit and 14 RC1 64-bit. Therefore the
> error is consistent with both older and newer gcc/g++.
>
> Darrell

Looks like the TQt3 build process is pulling in old headers from your
system.  Try temporarily removing the TQt3 headers from your system and
recompile TQt3.

Tim