qt-interest@trolltech.com
[Top] [All Lists]

Re: QT 4.3.0 beta building error for Windows

Subject: Re: QT 4.3.0 beta building error for Windows
From: Heiko Steindl
Date: Sat, 24 Mar 2007 09:24:59 +0100
Hello !

I had the same problem and I looked two days but now it works !

the solution is:

Update the win32-api from mingw and it should work (w32api-3.6).


Heiko


Marcelo Estanislau Geyer schrieb:
Hello friends,

I'm trying build QT 4.3.0 for Microsoft Windows XP and the following errors happen:

styles\qwindowsvistastyle.cpp: In member function `virtual void QWindowsVistaSty
le::drawControl(QStyle::ControlElement, const QStyleOption*, QPainter*, const QW
idget*) const':
styles\qwindowsvistastyle.cpp:773: warning: passing `float' for converting 2 of
`QRect::QRect(int, int, int, int)'
styles\qwindowsvistastyle.cpp:776: warning: passing `float' for converting 1 of
`QRect::QRect(int, int, int, int)'
styles\qwindowsvistastyle.cpp:821: warning: passing `float' for converting 2 of
`QRect::QRect(int, int, int, int)'
styles\qwindowsvistastyle.cpp:825: warning: passing `float' for converting 1 of
`QRect::QRect(int, int, int, int)'
styles\qwindowsvistastyle.cpp: In member function `virtual void QWindowsVistaSty
le::drawComplexControl(QStyle::ComplexControl, const QStyleOptionComplex*, QPain
ter*, const QWidget*) const':
styles\qwindowsvistastyle.cpp:1152: warning: unused variable 'slider'
styles\qwindowsvistastyle.cpp:1319: warning: comparison between `const enum Qt::
LayoutDirection' and `enum Qt::Orientation'
styles\qwindowsvistastyle.cpp:1380: error: `TMT_SIZINGMARGINS' undeclared (first
 use this function)
styles\qwindowsvistastyle.cpp:1380: error: (Each undeclared identifier is report
ed only once for each function it appears in.)
styles\qwindowsvistastyle.cpp: In member function `virtual QSize QWindowsVistaSt
yle::sizeFromContents(QStyle::ContentsType, const QStyleOption*, const QSize&, c
onst QWidget*) const':
styles\qwindowsvistastyle.cpp:1498: error: `TMT_CONTENTMARGINS' undeclared (firs
t use this function)
styles\qwindowsvistastyle.cpp: In member function `virtual QRect QWindowsVistaSt
yle::subElementRect(QStyle::SubElement, const QStyleOption*, const QWidget*) con
st':
styles\qwindowsvistastyle.cpp:1567: error: `TMT_CONTENTMARGINS' undeclared (firs
t use this function)
make[2]: *** [tmp\obj\debug_shared\qwindowsvistastyle.o] Error 1
make[1]: *** [debug-all] Error 2
make: *** [sub-gui-make_default-ordered] Error 2


thanks,

Marcelo Estanislau Geyer
Standard Net Tecnologia e Informação


Obtenha o novo Windows Live Messenger! Experimente!

<Prev in Thread] Current Thread [Next in Thread>