Firefox под QT
Модератор: /dev/random
-
- Сообщения: 1537
- Статус: Оказывается и без KDE есть жизнь
- ОС: FreeBSD 8.0-RC2
Firefox под QT
Узнал, что можно скомпилить firefox с использованием QT. Попробовал - ошибка на этапе компиляции. Вдаваться в подробности пока не стал - отложил это дело до следующих выходных. Но вот возник вопрос - кто-нибудь компилил? Какие глюки наблюдаются? Может скорость загрузки возросла? Вообщем хочется услышать мнение уже опробовавших.
Rock'n'roll мертв © БГ
-
- Сообщения: 1575
- Статус: Pygoscelis papua
- ОС: Gentoo Linux, FreeBSD
Re: Firefox под QT
Прочитал вопрос и решил попробовать.

Собрался нормально. Субъективно стал запускаться гораздо быстрее (я КДЕ пользую). Мне понравилось. Глюков пока не наблюдаю.
Единственный вопрос. Как бы точно посмотреть, с какими опциями он собрался? Я вручную правил ебилд, вдруг сделал что-нибудь не то и он просто проигнорировал мои добавления... :o
Убить всех человеков!
-
- Бывший модератор
- Сообщения: 2521
- Статус: статус, статус, статус
Re: Firefox под QT
Компилил, после нескольких тыков лис вылетал...
-
- Сообщения: 51
Re: Firefox под QT
Единственный вопрос. Как бы точно посмотреть, с какими опциями он собрался? Я вручную правил ебилд, вдруг сделал что-нибудь не то и он просто проигнорировал мои добавления.
firefox-config --defines.
вывод сортируем
-
- Сообщения: 1575
- Статус: Pygoscelis papua
- ОС: Gentoo Linux, FreeBSD
-
- Сообщения: 51
Re: Firefox под QT
а в /usr/lib/mozilla-firefox/firefox-config?
-
- Сообщения: 1575
- Статус: Pygoscelis papua
- ОС: Gentoo Linux, FreeBSD
Re: Firefox под QT
Нашел.
Гм. Странно...
firefox-config говорит:
Код: Выделить всё
-DMOZ_DEFAULT_TOOLKIT="qt" -DMOZ_WIDGET_QT=1
А about:buildconfig:
Код: Выделить всё
--enable-default-toolkit=gtk2
Так кому верить?
Убить всех человеков!
-
- Сообщения: 51
Re: Firefox под QT
ы 
а поддержку gtk из ебилда убирал?
теоретически, firefox-config должен быть точнее

а поддержку gtk из ебилда убирал?
теоретически, firefox-config должен быть точнее

-
- Сообщения: 3
Re: Firefox под QT
ой - а подскажите где взять ебилд для BonEcho - исходники тут - это фирефокс из которой тормознутость убрали - мне надо найти такой ебилд что-б с qt компилился, потому что из исходников оно только с gtk собирается а с qt вылазит вот такая досадная ошибка:
gmake[4]: Entering directory `/ARCHIV/INST/fire/mozilla/gfx/src/freetype'
nsFreeType.cpp
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../../../dist/include/nspr -I../../../dist/sdk/include -I/usr/include/freetype2 -fPIC -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 -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O3 -freorder-blocks -fno-reorder-functions -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsFreeType.pp nsFreeType.cpp
../../../dist/include/gfx/nsCoord.h: In function ‘float NS_IEEEPositiveInfinity()’:
../../../dist/include/gfx/nsCoord.h:65: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../dist/include/gfx/nsCoord.h: In function ‘PRBool NS_IEEEIsNan(float)’:
../../../dist/include/gfx/nsCoord.h:69: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../dist/include/gfx/nsIFreeType2.h: At global scope:
../../../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
gmake[4]: Entering directory `/ARCHIV/INST/fire/mozilla/gfx/src/freetype'
nsFreeType.cpp
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../../../dist/include/nspr -I../../../dist/sdk/include -I/usr/include/freetype2 -fPIC -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 -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O3 -freorder-blocks -fno-reorder-functions -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsFreeType.pp nsFreeType.cpp
../../../dist/include/gfx/nsCoord.h: In function ‘float NS_IEEEPositiveInfinity()’:
../../../dist/include/gfx/nsCoord.h:65: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../dist/include/gfx/nsCoord.h: In function ‘PRBool NS_IEEEIsNan(float)’:
../../../dist/include/gfx/nsCoord.h:69: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../dist/include/gfx/nsIFreeType2.h: At global scope:
../../../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
-
- Сообщения: 1537
- Статус: Оказывается и без KDE есть жизнь
- ОС: FreeBSD 8.0-RC2
-
- Сообщения: 3
Re: Firefox под QT
все равно то-же самое
In file included from nsDeviceContextQt.cpp:56:
nsDeviceContextSpecQt.h:69:2: warning: #warning is a GCC extension
nsDeviceContextSpecQt.h:69:2: warning: #warning "postscript hardcore disabled"
../../../dist/include/gfx/nsCoord.h: In function ‘float NS_IEEEPositiveInfinity()’:
../../../dist/include/gfx/nsCoord.h:65: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../dist/include/gfx/nsCoord.h: In function ‘PRBool NS_IEEEIsNan(float)’:
../../../dist/include/gfx/nsCoord.h:69: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../dist/include/gfx/nsIRenderingContext.h: At global scope:
../../../dist/include/gfx/nsIRenderingContext.h:705: warning: ‘virtual nsresult nsIRenderingContext::RetrieveCurrentNativeGraphicData(void**)’ was hidden
nsRenderingContextQt.h:212: warning: by ‘virtual nsresult nsRenderingContextQt::RetrieveCurrentNativeGraphicData(PRUint32*)’
nsDeviceContextQt.cpp: In member function ‘virtual nsresult nsDeviceContextQt::CreateRenderingContext(nsIRenderingContext*&)’:
nsDeviceContextQt.cpp:189: error: cannot allocate an object of abstract type ‘nsRenderingContextQt’
nsRenderingContextQt.h:66: note: because the following virtual functions are pure within ‘nsRenderingContextQt’:
../../../dist/include/gfx/nsIRenderingContext.h:705: note: virtual nsresult nsIRenderingContext::RetrieveCurrentNativeGraphicData(void**)
gmake[4]: *** [nsDeviceContextQt.o] Ошибка 1
gmake[4]: Leaving directory `/ARCHIV/INST/fire/mozilla/gfx/src/qt'
gmake[3]: *** [libs] Ошибка 2
gmake[3]: Leaving directory `/ARCHIV/INST/fire/mozilla/gfx/src'
gmake[2]: *** [libs] Ошибка 2
gmake[2]: Leaving directory `/ARCHIV/INST/fire/mozilla/gfx'
gmake[1]: *** [tier_9] Ошибка 2
gmake[1]: Leaving directory `/ARCHIV/INST/fire/mozilla'
make: *** [default] Ошибка 2
Для продолжения нажмите любую клавишу...
-
- Сообщения: 358
- ОС: Linux
Re: Firefox под QT
эммм... попробуй убрать "= 0;" в колнце у этой "RetrieveCurrentNativeGraphicData" и поставить {return nsresult(0);}
Образование - это вовсе не то, чему человека учили, а то, чему он научился.
-----
Время, необходимое на компиляцию пакета обратно пропорционально его полезности и важности его наличия в системе.
-----
Время, необходимое на компиляцию пакета обратно пропорционально его полезности и важности его наличия в системе.
-
- Сообщения: 49
- ОС: Gentoo
Re: Firefox под QT
А у меня на этапе конфигурирования говорит что ему надо QT >=3.2.0, а у меня 3.3.3 (libqt3-mt-dev 3.3.3.7-3). Кто нибуть знает как исправит глюк?
Athlon64 3800+ X2 | 1GB | 400GB | Gentoo Linux | KDE 4.3.1
Eee PC 1005HA | Sabayon Linux 5.0 | KDE 4.3.1
Eee PC 1005HA | Sabayon Linux 5.0 | KDE 4.3.1
-
- Сообщения: 49
- ОС: Gentoo
Re: Firefox под QT
Все таки собрал, но при sh /usr/local/lib/firefox-2.0.0.2/run-mozilla выдает: Cannot execute. Чего это вдруг?
Athlon64 3800+ X2 | 1GB | 400GB | Gentoo Linux | KDE 4.3.1
Eee PC 1005HA | Sabayon Linux 5.0 | KDE 4.3.1
Eee PC 1005HA | Sabayon Linux 5.0 | KDE 4.3.1
-
- Сообщения: 436
- ОС: Gentoo 2008.0
Re: Firefox под QT
Народ, объясните толком как собирать огнелиса с qt или скажите где почитать об этом. Скачал firefox-2.0.0.3-source.tar.bz2, что дальше?
Что то вроде ./configure --with-qt ??????
Что то вроде ./configure --with-qt ??????
GNU/Linux forever! [Gentoo 2008.0]