MikeK's software notebook

MikeK's software notebook

What you will find

This used to be the place where I wrote stuff I was thinking about while working on the Mozilla project.

Maybe in the near future I'll start to update it again as I'm involved in a couple of new open-source projects - updates pending...

mozilla-central/widget/src/qt/nsWindow.cpp:259: error: 'OpenGL2' is not a member of 'QPaintEngine'

Why did I reboot?Posted by Mike Kristoffersen 28 May, 2010 16:03:24
This was one of the more easy errors to fix - that is _after_ I realized what the problem was, because the error message didn't help at all...

So if you get something like:

mozilla-central/widget/src/qt/nsWindow.cpp:259: error: 'OpenGL2' is not a member of 'QPaintEngine'

when you build in Scratchbox (Fremantle), then the problem is that your Qt dev files are out of date, to fix it, log into scratchbox and do:

> apt-get update
> fakeroot apt-get upgrade

After this you will need to re-install some of the Qt stuff

> apt-get install libqt4-gui

I had to delete my build directory (the one MOZ_OBJDIR points to in your mozconfig) afterwards too.


This post is also available in Belorussian, translated by Patricia Clausnitzer, posted on Fatcow.

  • Comments(0)

Fill in only if you are not real

The following XHTML tags are allowed: <b>, <br/>, <em>, <i>, <strong>, <u>. CSS styles and Javascript are not permitted.