You are not logged in.

#1 2006-01-02 15:21:48

evdvelde
Member
From: Antwerp - BELGIUM
Registered: 2005-12-02
Posts: 57

Firefox with QT interface

I heard that it should be possible to use the QT toolkit for firefox and it is configurable in the .mozconfig file, but it does not seem to work with firefox-1.5 in testing. Can anyone provide me with a working .mozconfig file (and QT enabled that is :-) ) ?

Error I get now:

c++ -o nsFreeType.o -c -I../../../dist/include/system_wrappers -include ../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DOSTYPE="Linux2.6" -DOSARCH="Linux" -DBUILD_ID=0000000000 -I../.. -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/gfx -I../../../dist/include -I/usr/include/nspr    -I../../../dist/sdk/include -I/usr/include/freetype2 -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -march=pentium4 -O2 -pipe -fomit-frame-pointer -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -march=pentium4 -Os -pipe -fomit-frame-pointer  -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsFreeType.pp nsFreeType.cpp
../../../dist/include/gfx/nsIFreeType2.h:53: error: 'FTC_Image_Cache' has not been declared
../../../dist/include/gfx/nsIFreeType2.h:92: error: 'FTC_Image_Cache' has not been declared
../../../dist/include/gfx/nsIFreeType2.h:92: error: 'FTC_Image_Desc' has not been declared
../../../dist/include/gfx/nsIFreeType2.h:104: error: 'FTC_Image_Cache' has not been declared
nsFreeType.h:57: warning: 'FT_Face': visibility attribute ignored because it
/usr/include/freetype2/freetype/freetype.h:387: warning: conflicts with previous declaration here
nsFreeType.h:123: error: typedef 'FTC_Image_Cache_Lookup_t' is initialized (use __typeof__ instead)
nsFreeType.h:123: error: 'FTC_Image_Cache' was not declared in this scope
nsFreeType.h:123: error: 'FTC_Image_Desc' was not declared in this scope
nsFreeType.h:123: error: expected primary-expression before ',' token
nsFreeType.h:123: error: expected primary-expression before ',' token
nsFreeType.h:123: error: expected primary-expression before '*' token
nsFreeType.h:123: error: expected primary-expression before ')' token
nsFreeType.h:129: error: 'FTC_Image_Cache' has not been declared
nsFreeType.h:161: error: 'FTC_Image_Cache' has not been declared
nsFreeType.h:161: error: 'FTC_Image_Cache' has not been declared
nsFreeType.h:161: error: 'FTC_Image_Desc' has not been declared
nsFreeType.h:161: error: 'FTC_Image_Cache' has not been declared
nsFreeType.h:232: error: 'FTC_Image_Cache' does not name a type
nsFreeType.cpp:101: warning: invalid access to non-static data member 'nsFreeType2::nsFT_Done_Face' of NULL object
nsFreeType.cpp:101: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:102: warning: invalid access to non-static data member 'nsFreeType2::nsFT_Done_FreeType' of NULL object
nsFreeType.cpp:102: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:103: warning: invalid access to non-static data member 'nsFreeType2::nsFT_Done_Glyph' of NULL object
nsFreeType.cpp:103: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:104: warning: invalid access to non-static data member 'nsFreeType2::nsFT_Get_Char_Index' of NULL object
nsFreeType.cpp:104: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:105: warning: invalid access to non-static data member 'nsFreeType2::nsFT_Get_Glyph' of NULL object
nsFreeType.cpp:105: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:106: warning: invalid access to non-static data member 'nsFreeType2::nsFT_Get_Sfnt_Table' of NULL object
nsFreeType.cpp:106: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:107: warning: invalid access to non-static data member 'nsFreeType2::nsFT_Glyph_Get_CBox' of NULL object
nsFreeType.cpp:107: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:108: warning: invalid access to non-static data member 'nsFreeType2::nsFT_Init_FreeType' of NULL object
nsFreeType.cpp:108: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:109: warning: invalid access to non-static data member 'nsFreeType2::nsFT_Load_Glyph' of NULL object
nsFreeType.cpp:109: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:110: warning: invalid access to non-static data member 'nsFreeType2::nsFT_New_Face' of NULL object
nsFreeType.cpp:110: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:111: warning: invalid access to non-static data member 'nsFreeType2::nsFT_Outline_Decompose' of NULL object
nsFreeType.cpp:111: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:112: warning: invalid access to non-static data member 'nsFreeType2::nsFT_Set_Charmap' of NULL object
nsFreeType.cpp:112: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:113: warning: invalid access to non-static data member 'nsFreeType2::nsFTC_Image_Cache_Lookup' of NULL object
nsFreeType.cpp:113: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:114: warning: invalid access to non-static data member 'nsFreeType2::nsFTC_Manager_Lookup_Size' of NULL object
nsFreeType.cpp:114: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:115: warning: invalid access to non-static data member 'nsFreeType2::nsFTC_Manager_Done' of NULL object
nsFreeType.cpp:115: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:116: warning: invalid access to non-static data member 'nsFreeType2::nsFTC_Manager_New' of NULL object
nsFreeType.cpp:116: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:117: warning: invalid access to non-static data member 'nsFreeType2::nsFTC_Image_Cache_New' of NULL object
nsFreeType.cpp:117: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:119: warning: invalid access to non-static data member 'nsFreeType2::nsFT_Glyph_Transform' of NULL object
nsFreeType.cpp:119: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:120: warning: invalid access to non-static data member 'nsFreeType2::nsFT_Get_Kerning' of NULL object
nsFreeType.cpp:120: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:121: warning: invalid access to non-static data member 'nsFreeType2::nsFT_Glyph_Copy' of NULL object
nsFreeType.cpp:121: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:122: warning: invalid access to non-static data member 'nsFreeType2::nsFT_Glyph_To_Bitmap' of NULL object
nsFreeType.cpp:122: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:124: warning: invalid access to non-static data member 'nsFreeType2::nsFT_Get_First_Char' of NULL object
nsFreeType.cpp:124: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:125: warning: invalid access to non-static data member 'nsFreeType2::nsFT_Get_Next_Char' of NULL object
nsFreeType.cpp:125: warning: (perhaps the 'offsetof' macro was used incorrectly)
nsFreeType.cpp:291: error: 'nsresult nsFreeType2::ImageCacheLookup' is not a static member of 'class nsFreeType2'
nsFreeType.cpp:291: error: 'FTC_Image_Cache' was not declared in this scope
nsFreeType.cpp:291: error: 'FTC_Image_Desc' was not declared in this scope
nsFreeType.cpp:291: error: 'desc' was not declared in this scope
nsFreeType.cpp:292: error: expected primary-expression before 'glyphID'
nsFreeType.cpp:292: error: expected primary-expression before '*' token
nsFreeType.cpp:292: error: 'glyph' was not declared in this scope
nsFreeType.cpp:292: error: initializer expression list treated as compound expression
nsFreeType.cpp:293: error: expected ',' or ';' before '{' token
nsFreeType.cpp:329: error: 'FTC_Image_Cache' has not been declared
nsFreeType.cpp:398: error: 'nsresult nsFreeType2::GetImageCache' is not a static member of 'class nsFreeType2'
nsFreeType.cpp:398: error: 'FTC_Image_Cache' was not declared in this scope
nsFreeType.cpp:398: error: 'aCache' was not declared in this scope
nsFreeType.cpp:399: error: expected ',' or ';' before '{' token
nsFreeType.cpp: In member function 'void nsFreeType2::ClearGlobals()':
nsFreeType.cpp:435: error: 'mImageCache' was not declared in this scope
nsFreeType.cpp: In member function 'PRBool nsFreeType2::InitLibrary()':
nsFreeType.cpp:671: error: 'mImageCache' was not declared in this scope
make[5]: *** [nsFreeType.o] Error 1
make[5]: Leaving directory `/var/abs/testing/network/mozilla-firefox/src/mozilla/gfx/src/freetype'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/var/abs/testing/network/mozilla-firefox/src/mozilla/gfx/src'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/var/abs/testing/network/mozilla-firefox/src/mozilla/gfx'
make[2]: *** [tier_9] Error 2
make[2]: Leaving directory `/var/abs/testing/network/mozilla-firefox/src/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/var/abs/testing/network/mozilla-firefox/src/mozilla'
make: *** [build] Error 2
==> ERROR: Build Failed.  Aborting...

Offline

#2 2006-01-02 19:54:51

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

Re: Firefox with QT interface

Well, I've successfully built Firefox from CVS somewhere in December 2004. It didn't do wonders,some toolbars were a bit big, not all themes worked as they ought, but it worked.

However, AFAIK the qt toolkit tree saw no commits since early 2005. Almost nothing changed since then, and judging from the posts I've read at MozillaZine Forums - QT toolkit for Mozilla is regarded as broken since then.

For example:
http://www.pryan.org/mozilla/firefox/he … irefox-qt/

I'm using Firefox on GTK2+XFT+SVG@Cairo at the moment with GTK-QT pseudo-style. It works great.

Offline

Board footer

Powered by FluxBB