Qt-interest Archive, May 2007
Problems building Qt 4.3 on Cent OS 4.3 final
Message 1 in thread
I have following errors while compiling Qt 4.3 on Cent OS 4.3 final.
I've tested rc1 and latest snapshot, both with same errors:
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h: In
member function `virtual QRect QStyleSheetStyle::subElementRect
(QStyle::SubElement, const QStyleOption*, const QWidget*) const':
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:103:
error: inconsistent operand constraints in an `asm'
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:103:
error: inconsistent operand constraints in an `asm'
Any sugestions?
--
[ signature omitted ]
Message 2 in thread
> ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h: In
> member function `virtual QRect QStyleSheetStyle::subElementRect
> (QStyle::SubElement, const QStyleOption*, const QWidget*) const':
> ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:103:
> error: inconsistent operand constraints in an `asm'
> ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:103:
> error: inconsistent operand constraints in an `asm'
We've had this problem in the Gentoo world as well.
The Qt task tracker has this bug in it:
http://www.trolltech.com/developer/task-tracker/index_html?method=entry&id=161994
The solution is to either compile without -O2 optimization, use the -fno-gcse, or
use a more current compiler (gcc 4.1, for example). This would be set in one of the
.conf files in the mkspecs directory (possibly qmake.conf, g++.conf, or
linux.conf...it depends based on the architecture).
Caleb
--
[ signature omitted ]
Message 3 in thread
Anyone knows how to build recently released Qt 4.3 using MSVC? qtnode had the patches for release 4.2.3. Anyone has similar patches?
http://qtnode.net/wiki/Main_Page
Regards
---------------------------------
Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV.
Message 4 in thread
> Anyone knows how to build recently released Qt 4.3 using MSVC? qtnode
had
Qt 4.3 isn't released yet. you're probably referring to Qt4.3.0rc1
- the release *candidate* 1
> the patches for release 4.2.3. Anyone has similar patches?
> http://qtnode.net/wiki/Main_Page http://qtnode.net/wiki/Main_Page
i didn't see any. did you try it with the old instructions?
Cheers,
Peter
--
[ signature omitted ]
Message 5 in thread
Yes, it's the rc1. Qt 4.3 beta open source is available here for download
http://trolltech.com/developer/downloads/qt/qt43-betadownload
Here is the patch instructions for 4.2.3. This will not patch the new .pro and the sources. There are many additions in 4.3.
http://qtnode.net/wiki/Qt4_with_Visual_Studio
Regards
Peter Prade <prade@xxxxxxxxxxx> wrote:
> Anyone knows how to build recently released Qt 4.3 using MSVC? qtnode
had
Qt 4.3 isn't released yet. you're probably referring to Qt4.3.0rc1
- the release *candidate* 1
> the patches for release 4.2.3. Anyone has similar patches?
> http://qtnode.net/wiki/Main_Page http://qtnode.net/wiki/Main_Page
i didn't see any. did you try it with the old instructions?
Cheers,
Peter
--
[ signature omitted ]