[Development] Compiling Qt5 on Ubuntu Oneiric

Thiago Macieira thiago.macieira at intel.com
Thu Jan 5 14:12:25 CET 2012


On Thursday, 5 de January de 2012 14.32.55, Kate Alhola wrote:
> Has anyone succeeded to compile current git snapshot with Ubuntu oneiric ?
> Least, using ./configure -prefix $PWD/qtbase -opensource -confirm-license
> it does not work.
> 
> I noticed that i get errors
> 
> First try fails with error from wekbit that "nullpointer" will be
> reserved word g++0x ( -Werror causes this )
> 
> That could be fixed turning -Werror off on Linux

Try the attached patch. It's been sitting on my tree for close to 6 months. 
When Qt 4.8 is in Gerrit, I'll be able to submit it (© me, not Intel).

> Then there is linking error because it links -lpthread -ljscore when
> it should be -ljscore -lpthread

Link what? I guess you mean WebKit.

src/3rdparty/webkit/Source/WebKit/qt/Makefile:LIBS          = $(SUBLIBS)  -
L/home/thiago/obj/qt/qt-4.8-release/lib -L../../WebCore/release -
L../../JavaScriptCore/release -L/usr/X11R6/lib -lwebcore -ljscore -lsqlite3 -
lXrender -lQtGui -L/home/thiago/obj/qt/qt-4.8-release/lib -L/usr/X11R6/lib -
lQtNetwork -lQtCore -lpthread -lXrender -lfontconfig -lfreetype -lXext -lX11 -
lm

For me, -lpthread appears after -ljscore.

> I have tried ./configure -prefix /home/kate/qt5/qt5/qtbase -opensource
> -confirm-license -nomake tests -no-webkit
> but that does not help, it still compiles jscore.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Reapply-the-change-that-removes-C-0x-mode-from-QtWeb.patch
Type: text/x-patch
Size: 2137 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120105/0c1d4f9b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120105/0c1d4f9b/attachment.sig>


More information about the Development mailing list