Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, April 2008
Qt4.4 snapshot WebKit build problem


Message 1 in thread

I have a problem building webkit.  I configured Qt like this:

 

% uname

Linux gui4 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:56:44 EST 2007 x86_64
x86_64 x86_64 GNU/Linux

% cat /etc/issue

Red Hat Enterprise Linux WS release 4 (Nahant Update 6)

Kernel \r on an \m

%  ./configure

 ....

Build type:    linux-g++-64

Architecture:  x86_64

Platform notes:

 

            - Also available for Linux: linux-kcc linux-icc linux-cxx

        

Build ............... libs tools examples demos docs translations

Configuration .......  release shared dll largefile stl
precompile_header separate_debug_info mmx 3dnow sse sse2  qt3support
accessibility opengl minimal-config small-config medium-config
large-config full-config reduce_exports ipv6 clock-gettime
clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs system-jpeg
system-png png system-tiff system-freetype system-zlib nis cups iconv
glib openssl x11sm xshape xrandr xrender fontconfig tablet xkb
xmlpatterns svg webkit release

Debug ............... no

Qt 3 compatibility .. yes

QtDBus module ....... no

QtXmlPatterns module  yes

Phonon module ....... no

SVG module .......... yes

WebKit module ....... yes

STL support ......... yes

PCH support ......... yes

MMX/3DNOW/SSE/SSE2..  yes/yes/yes/yes

IPv6 support ........ yes

IPv6 ifname support . yes

getaddrinfo support . yes

getifaddrs support .. yes

Accessibility ....... yes

NIS support ......... yes

CUPS support ........ yes

Iconv support ....... yes

Glib support ........ yes

GStreamer support ... no

Large File support .. yes

GIF support ......... plugin

TIFF support ........ plugin (system)

JPEG support ........ plugin (system)

PNG support ......... yes (system)

MNG support ......... plugin (qt)

zlib support ........ system

OpenGL support ...... yes

NAS sound support ... no

Session management .. yes

XShape support ...... yes

Xinerama support .... runtime

Xcursor support ..... runtime

Xfixes support ...... runtime

Xrandr support ...... yes

Xrender support ..... yes

FontConfig support .. yes

XKB Support ......... yes

immodule support .... yes

MySQL support ....... plugin

PostgreSQL support .. plugin

ODBC support ........ plugin

SQLite support ...... plugin (qt)

OpenSSL support ..... yes (run-time)

% make

....

gcc -c -include .pch/release-shared/QtWebKit -m64 -pipe -g -O2
-fvisibility=hidden -D_REENTRANT -fPIC -DQT_SHARED
-DQT_EDITION=QT_EDITION_DESKTOP -DBUILDING_QT__=1 -DUSE_SYSTEM_MALLOC
-DNDEBUG -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT
-DQT_MOC_COMPAT -DHAVE_STDINT_H -DBUILD_WEBKIT -DENABLE_ICONDATABASE=1
-DENABLE_XPATH=1 -DENABLE_SVG=1 -DWTF_CHANGES=1 -DBUILDING_QT__
-DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-I../../../../mkspecs/linux-g++-64 -I. -I../../../../include/QtCore
-I../../../../include/QtCore -I../../../../include/QtNetwork
-I../../../../include/QtNetwork -I../../../../include/QtGui
-I../../../../include/QtGui -I../../../../include -I../WebKit/qt/Api
-I../JavaScriptCore -I../JavaScriptCore/kjs -I../JavaScriptCore/bindings
-I../JavaScriptCore/bindings/c -I../JavaScriptCore/wtf
-I../JavaScriptCore/ForwardingHeaders -I. -IForwardingHeaders -Iplatform
-Iplatform/network -Iplatform/graphics -Iloader -Ipage -Icss -Idom
-Ibridge -Iediting -Irendering -Ihistory -Ixml -Ihtml -Iplugins
-I../../../../include/QtWebKit -I.rcc/release-shared -Igenerated -Itmp
-I../JavaScriptCore -I../JavaScriptCore/kjs -I../JavaScriptCore/bindings
-I../JavaScriptCore/bindings/c -I../JavaScriptCore/wtf
-I../JavaScriptCore/bindings/qt -I../JavaScriptCore/pcre
-I/remote/ekki2/pfurnanz/p4/qt/Qt_p4/QSCA/4.4/20080415/linux_debug/src/3
rdparty/webkit/WebKitBuild/Debug/JavaScriptCore/kjs/tmp -Iplatform/qt
-Iplatform/network/qt -Iplatform/graphics/qt -Iplatform/graphics/svg/qt
-Iloader/qt -Ipage/qt -I../WebKit/qt/WebCoreSupport -I../WebKit/qt/Api
-I. -IForwardingHeaders -I../../webkit -I../JavaScriptCore/kjs
-I../JavaScriptCore/bindings -Iplatform -Iplatform/network
-Iplatform/graphics -Iplatform/graphics/svg
-Iplatform/graphics/svg/filters -Iloader -Iloader/icon -Icss -Idom
-Ipage -Ibridge -Iediting -Irendering -Ihistory -Ixml -Ihtml
-Ibindings/js -Iksvg2 -Iksvg2/css -Iksvg2/svg -Iksvg2/misc
-Iksvg2/events -Iplatform/image-decoders -I../../sqlite
-I.moc/release-shared -I.uic/release-shared -o
.obj/release-shared/date_object.lut.o
/remote/ekki2/pfurnanz/p4/qt/Qt_p4/QSCA/4.4/20080415/qt_main/src/3rdpart
y/webkit/WebCore/generated/date_object.lut.h

In file included from ../JavaScriptCore/kjs/JSImmediate.h:26,

                 from ../JavaScriptCore/kjs/value.h:27,

                 from ../JavaScriptCore/kjs/ExecState.h:27,

                 from ../JavaScriptCore/kjs/interpreter.h:27,

                 from ../JavaScriptCore/kjs/lookup.h:26,

                 from
/remote/ekki2/pfurnanz/p4/qt/Qt_p4/QSCA/4.4/20080415/qt_main/src/3rdpart
y/webkit/WebCore/generated/date_object.lut.h:3:

../JavaScriptCore/kjs/JSType.h:25: error: expected '=', ',', ';', 'asm'
or '__attribute__' before 'KJS'

In file included from ../JavaScriptCore/kjs/value.h:27,

                 from ../JavaScriptCore/kjs/ExecState.h:27,

                 from ../JavaScriptCore/kjs/interpreter.h:27,

                 from ../JavaScriptCore/kjs/lookup.h:26,

                 from
/remote/ekki2/pfurnanz/p4/qt/Qt_p4/QSCA/4.4/20080415/qt_main/src/3rdpart
y/webkit/WebCore/generated/date_object.lut.h:3:

../JavaScriptCore/kjs/JSImmediate.h:33: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'KJS'

...

 

It seems that data_object.lut.h should not be compiled in the makefile
separately, because it is included into data_object.cpp.  This problem
occurs for a number of files.

 

-Paul

 


Message 2 in thread

Hello,

I am chasing a bug in my application that is new with 4.4 release 
candidate. In the process of doing so, thought it good to create a bare 
bones demo app. I did not get very far before encountering this error 
that comes from the qt/msvc integration. The error comes from the QT 
Forms Editor just trying to access a QTextEdit control. This is a brand 
new project and there is not any code behind the control (yet).

The error says, "Try to set property: autoFormatting 
System.OverflowExeption: Value was either too large or too small for an 
Int32....." -- The attached image shows all the details.

I am working on XP with Visual Studio 2005 Professional and Qt Visual 
Studio Integration (1.4.0-RC1).

I've been working with this combination (or similar) for quite a while 
and have never seen such a thing.

So, can anyone shed some light??

regards
Jim Thompson




Attachment:

Attachment: QT4.4_issue.JPG
Description: JPEG image


Message 3 in thread

Hi Jim,

thanks for the report. The issue has been fixed for the final Qt 4.4.0 
release.


Kind regards,

Thomas


> Hello,
>
> I am chasing a bug in my application that is new with 4.4 release 
> candidate. In the process of doing so, thought it good to create a 
> bare bones demo app. I did not get very far before encountering this 
> error that comes from the qt/msvc integration. The error comes from 
> the QT Forms Editor just trying to access a QTextEdit control. This is 
> a brand new project and there is not any code behind the control (yet).
>
> The error says, "Try to set property: autoFormatting 
> System.OverflowExeption: Value was either too large or too small for 
> an Int32....." -- The attached image shows all the details.
>
> I am working on XP with Visual Studio 2005 Professional and Qt Visual 
> Studio Integration (1.4.0-RC1).
>
> I've been working with this combination (or similar) for quite a while 
> and have never seen such a thing.
>
> So, can anyone shed some light??
>
> regards
> Jim Thompson
>
>

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx