Closed Bug 130725 Opened 23 years ago Closed 22 years ago

can't compile mozilla 0.9.9 enabling qt

Categories

(Core :: Printing: Output, defect)

x86
Linux
defect
Not set
blocker

Tracking

()

VERIFIED DUPLICATE of bug 144216

People

(Reporter: tbfg, Assigned: rods)

References

Details

I have downloaded the mozilla-source-0.9.9.tar.bz2and configured it with ./configure --enable-toolkit-qt usingGNU Make version 3.79.1 andgcc version 2.95.3 20010315 (release) andqt 2.3.1but a make results in:make[4]: Entering directory `/home/src/mozilla/0.9.9/mozilla/gfx/src/qt'nsGfxFactoryQT.cppc++ -o nsGfxFactoryQT.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -D_IMPL_NS_GFXNONXP -D_BSD_SOURCE -I./. -I./..  -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget -I../../../dist/include/view -I../../../dist/include/gfx2 -I../../../dist/include/uconv -I../../../dist/include/pref -I../../../dist/include/dom -I../../../dist/include/util -I../../../dist/include/js -I../../../dist/include/appshell -I../../../dist/include/mozcomps -I../../../dist/include/windowwatcher -I../../../dist/include/unicharutil -I../../../dist/include/intl -I../../../dist/include/locale -I../../../dist/include/gfx -I../../../dist/include -I/usr/src/mozilla/0.9.9/mozilla/dist/include/nspr   -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -pedantic -Wno-long-long -pthread -pipe  -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g -I/usr/local/qt/include -DQT_GENUINE_STR  -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../config-defs.h -Wp,-MD,.deps/nsGfxFactoryQT.pp nsGfxFactoryQT.cppIn file included from nsRenderingContextQT.h:43,                 from nsGfxFactoryQT.cpp:47:../../../dist/include/gfx/nsIRenderingContext.h:716: warning: `nsIRenderingContext::DrawImage(nsIImage *, const nsRect &, const nsRect &)' was hidden../../../dist/include/gfx/nsRenderingContextImpl.h:132: warning:   by `nsRenderingContextImpl::DrawImage(imgIContainer *, const nsRect *, const nsPoint *)'../../../dist/include/gfx/nsIRenderingContext.h:709: warning: `nsIRenderingContext::DrawImage(nsIImage *, const nsRect &)' was hidden../../../dist/include/gfx/nsRenderingContextImpl.h:132: warning:   by `nsRenderingContextImpl::DrawImage(imgIContainer *, const nsRect *, const nsPoint *)'../../../dist/include/gfx/nsIRenderingContext.h:703: warning: `nsIRenderingContext::DrawImage(nsIImage *, int, int, int, int)' was hidden../../../dist/include/gfx/nsRenderingContextImpl.h:132: warning:   by `nsRenderingContextImpl::DrawImage(imgIContainer *, const nsRect *, const nsPoint *)'../../../dist/include/gfx/nsIRenderingContext.h:693: warning: `nsIRenderingContext::DrawImage(nsIImage *, int, int)' was hidden../../../dist/include/gfx/nsRenderingContextImpl.h:132: warning:   by `nsRenderingContextImpl::DrawImage(imgIContainer *, const nsRect *, const nsPoint *)'In file included from nsGfxFactoryQT.cpp:47:../../../dist/include/gfx/nsRenderingContextImpl.h:132: warning: `nsRenderingContextImpl::DrawImage(imgIContainer *, const nsRect *, const nsPoint *)' was hiddennsRenderingContextQT.h:190: warning:   by `nsRenderingContextQT::DrawImage(nsIImage *, const nsRect &, const nsRect &)'../../../dist/include/gfx/nsRenderingContextImpl.h:134: warning: `nsRenderingContextImpl::DrawTile(imgIContainer *, int, int, const nsRect *)' was hiddennsRenderingContextQT.h:195: warning:   by `nsRenderingContextQT::DrawTile(nsIImage *, int, int, const nsRect &)'In file included from nsGfxFactoryQT.cpp:48:../../../dist/include/gfx/nsIDeviceContextSpecPS.h:128: warning: `nsIDeviceContextSpecPS::GetPrinterName(const char **)' was hiddennsDeviceContextSpecQT.h:84: warning:   by `nsDeviceContextSpecQT::GetPrinterName(char **)'../../../dist/include/gfx/nsIDeviceContextSpecPS.h:120: warning: `nsIDeviceContextSpecPS::GetCommand(const char **)' was hiddennsDeviceContextSpecQT.h:100: warning:   by `nsDeviceContextSpecQT::GetCommand(char **)'../../../dist/include/gfx/nsIDeviceContextSpecPS.h:144: warning: `nsIDeviceContextSpecPS::GetPath(const char **)' was hiddennsDeviceContextSpecQT.h:102: warning:   by `nsDeviceContextSpecQT::GetPath(char **)'nsGfxFactoryQT.cpp: In function `nsresult nsDeviceContextSpecQTConstructor(nsISupports *, const nsIID &, void **)':nsGfxFactoryQT.cpp:64: cannot allocate an object of type `nsDeviceContextSpecQT'nsGfxFactoryQT.cpp:64:   since the following virtual functions are abstract:../../../dist/include/gfx/nsIDeviceContextSpecPS.h:120:         nsresult nsIDeviceContextSpecPS::GetCommand(const char **)../../../dist/include/gfx/nsIDeviceContextSpecPS.h:128:         nsresult nsIDeviceContextSpecPS::GetPrinterName(const char **)../../../dist/include/gfx/nsIDeviceContextSpecPS.h:144:         nsresult nsIDeviceContextSpecPS::GetPath(const char **)../../../dist/include/gfx/nsIDeviceContextSpecPS.h:157:         nsresult nsIDeviceContextSpecPS::GetPageSizeInTwips(PRInt32 *, PRInt32 *)make[4]: *** [nsGfxFactoryQT.o] Error 1make[4]: Leaving directory `/home/src/mozilla/0.9.9/mozilla/gfx/src/qt'make[3]: *** [libs] Error 2make[3]: Leaving directory `/home/src/mozilla/0.9.9/mozilla/gfx/src'make[2]: *** [libs] Error 2make[2]: Leaving directory `/home/src/mozilla/0.9.9/mozilla/gfx'make[1]: *** [tier_9] Error 2make[1]: Leaving directory `/home/src/mozilla/0.9.9/mozilla'make: *** [default] Error 2
can you try again and hit enter to force it to wrap?  some browsers don't handle
the wrap by themselves...
The nsIPrintSettings changes never made it into the Qt frontend.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Over to Printing.
Assignee: seawood → rods
Component: Build Config → Printing
QA Contact: granrose → sujay
My suggestion is to create one unified version of the
nsDeviceContextSpec{GTK|Qt|Xlib}.{cpp|h} stuff in gfx/src/x11shared/ ...
Filed bug 130857 ("Create unified version of
nsDeviceContextSpec{GTK|Qt|Xlib}.{cpp|h} stuff in gfx/src/unixshared/") ...
Depends on: 130857
What does this mean "The nsIPrintSettings changes never made it into the Qt
frontend." specifically?
"someone"(=me?!) forgot to update gfx/src/qt/nsDeviceContextSpecQt.{cpp|h} to
match the changes in gfx/src/ps/nsIDeviceContextSpecPS.h ... ;-(

I wish we would have a Qt tinderbox ...
*** Bug 132596 has been marked as a duplicate of this bug. ***
This is a must-fix for 1.0 (IMHO).  I am now talking with gisburn over IRC about
a possible fix. 
Keywords: mozilla1.0
this stops QT builds in the cvs.

*** This bug has been marked as a duplicate of 144216 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.