Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.

Qt 4.7 beta compile

Rich_F_1
Beginner
163 Views

In case anyone else is using icpc to try to compile the QT 4.7 beta and runs into
the asm volatile error the easy work around is to disable script javascript-jit and webkit.

../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp(483): error: expected an identifier
asm volatile (
^

The configure string I have had success with is.

./configure -prefix /usr/local/Trolltech/Qt-4.7.0 -debug -platform linux-icc-64 -static -qt-sql-mysql -qt-sql-tds -I/CDs/usr/local/include -L/CDs/usr/local/lib -confirm-license -nomake demos -nomake examples -no-script -no-javascript-jit -no-webkit

The bug is reported
http://bugreports.qt.nokia.com/browse/QTBUG-10078
and being tracked here
https://bugs.webkit.org/show_bug.cgi?id=36422
0 Kudos
1 Reply
Dale_S_Intel
Employee
163 Views
Thanks for the tip. I've built 4.6, but I haven't tried 4.7. Is this issue new with 4.7?

Thanks!
Dale
Reply