Andy Shaw

Qt Support Weekly Holiday 2011 Special: Qt 4.8.0 Build Issues

12/23/2011 11:55 AM  | Posted by: Andy Shaw

I know earlier this week I said it would be the last post of the year, but a couple of Qt 4.8.0 build issues have come up and as an extra support weekly post before the holidays I thought it would be good to give the details of the build issues and the fixes for them. That way if any of you have problems with building Qt 4.8.0 that we are aware of then it is easy to get hold of the fix.

 

First up is Windows. If you configure Qt with the -ltcg option, then you will probably hit a problem with linking QtWebKit due to it being too big for the linker to cope.  To fix this you can apply the patch that is here

 

Also, there is a problem with the lack of Perl causing configure not to run on Windows. If you don't have Perl installed, then it is not able to run the syncqt script which copies the include files into the right places.  This is not a strict requirement because if you use the packages available from the customer portal then it will have the include files in the default location already for you.  However, if you want to do a shadow build, then you need to have Perl installed.

 

If you don't want to do shadow building, then all you need to do is rename the file syncqt, which is in qt\bin, to something else and then configure and it will carry on without a problem.

 

And finally on Mac, there is an issue that although is not a build issue per se it is related to the build where it will not compile in the qnetworkproxy_mac.cpp file.  Therefore,  it will not have any system proxy support available on Mac.  To fix this issue you can apply the patch that is here

 

Once again, I hope you all have a happy holiday period from all of us in the Qt Commercial Support team.

Comments:

Stephen Kelly | 12/23/2011 4:42 PM
It also doesn't build with GCC 4.1 anymore with my embedded toolchain. That is probably unintentional.

Andy Shaw | 12/23/2011 9:50 PM
Stephen: Have you reported this at all via the customer portal? With details of the actual build failure we can look into it further.

Stephen Kelly | 12/28/2011 2:16 AM
I have now: https://bugreports.qt.nokia.com/browse/QTBUG-23364

Andy Shaw | 12/29/2011 1:17 PM
Stephen: By customer portal I meant the one at http://qt.digia.com/customerportal as this will go straight to support then. The bug reports is another way to report it, but then it is not entered into our system for support and therefore we cannot answer it there. If you have a valid support contract then in future I suggest you go via that, as for the problem you reported, this has come up before and hopefully we can do something about this in the form of a config.test in 4.8.1

Witek Tyszkowski | 1/3/2012 1:24 PM
It does not compile on older linuxes: https://bugreports.qt.nokia.com/browse/QTBUG-23336

Andy Shaw | 1/6/2012 1:32 PM
Witek: I would report it via the customer portal if you have a valid support contract so we can investigate it further, the developers in both Nokia and Digia at least can see the bug report but support can look at it sooner. dorian: If you specify qt-libjpeg then it will compile it into the QtGui library and not make it a separate library so you don't need to search for the jpeg plugin at all.

dorian | 3/28/2012 9:39 PM
again, why does static build of qt 4.8 only build svg, ico, and tga. are there no static libs for jpeg and gif? i read in another forum that this used to exist in 4.7.3 and got removed in 4.7.4. but the documenation on static plugins does not reflect this. It give examples on how to static link jpegs that are not build when i use -qt-libjpeg anyone?

Beats By De Shop | 5/17/2012 12:20 PM
Beats By De Shop is the reference headphone designed by audio professionals for audio professionals. Particularly, those who prefer a clean yet forceful sound. Built from strong yet lightweight aluminum for rugged use on-the-go, flip up ear cups let you monitor the room without taking beats headphones off your head. And dual input/output cable Cheap Beats By Dre enable you to share mixes by daisy-chaining Dre Beats .Beats headphones isolate the listener from external noise, So every detail in your music comes through clearly. cheap beats by dre can maintain sonic quality at high volume without distortion.

air max bw classic | 5/17/2012 12:37 PM
dans les nombreux modèles de Nike formation croisée des lignes,

air max pas cher

sont utilisés quelques grandes unités amorti Air au talon, ce sont affichés du c?té de la semelle à tous les modèles. Basé en cuir avec un motif matelassé, peut non seulement fournir le mode de

nike pas cher

, mais seulement pour le style classique et élégant. Il peut permettre aux personnes se détendre et confiance en soi. Nous avons non seulement l'inventaire stable, mais aussi avoir des prix bas.

air max chaussures

de la vente verser dans le caoutchouc, qui soutiennent, de fournir une bonne adhérence et durable sur la semelle extérieure.

air max bw

de sortie viennent de cuir léger, texture douce et respirer matériel librement maillage avoir le soutien par les air max bw classic bien plus, et aussi pour les hommes et les femmes.

Add new comment:

User verification Image for user verification  
     

Tags

Archive

Authors

Pasi Matilainen

Pasi is a Software Specialist working at Digia, Qt Commercial R&D and he concentrates on Mac OS X development. Pasi holds an M.Sc. degree in Information Technology from the Tampere University of Technology, Finland.

Tarja Sundqvist

Tarja is a Senior Software Engineer in the Digia, Qt Commercial Support team. She has been working in Digia for over 10 years in various positions: software development, testing, error management. Now, Tarja is focusing on helping Qt Commercial customers with their daily Qt problems on Windows and Linux platforms. Tarja holds an M.Sc. degree in Information Processing Science from the University of Oulu, Finland.

Akseli Salovaara

Akseli is a Software Specialist at Digia, Qt Commercial R&D and is responsible for the Qt Commercial releases and deliveries. Akseli holds an B.Sc. degree in Information Technology from the University of Applied Sciences in Jyväskylä, Finland.

Samuli Piippo

Samuli is a Software Specialist at Digia, Qt Commercial R&D with a concentration on  embedded Linux and RTOS development. Samuli holds an M.Sc. degree in Information Processing Science from the University of Oulu, Finland.

Katherine Barrios

Katherine is the Marketing Manager at Digia, Qt Commercial. She is responsible for getting the word out about Qt Commercial to the Qt ecosystem and working together with our customers and the Qt community to further extend the love for Qt on desktop and embedded. She was previously employed at Nokia, Qt Development Frameworks as Program Marketing Manager and is based in Oslo, Norway.

Sami Makkonen

Sami is a Senior Product Manager working at Digia, Qt Commercial R&D and he is responsible for the product planning including new feature development and enhancements to existing functionality. Sami holds an M.Sc.(Econ.) degree in Computer Science.

Andy Shaw

Andy is the Head of Support at Digia, Qt Commercial and has been working with Qt and supporting customers using Qt for 11 years.  He thrives on solving customer problems and getting feedback from them.

Tuukka Turunen

Tuukka is the Director of R&D at Digia, Qt Commercial and is responsible for the planning, creation, verification and delivery of the Qt Commercial product. Tuukka holds a M.Sc.(Eng) and Licentiate of Technology degrees in Computer Science.

Qt Commercial Team