Тема qt4 как gtk2 [SOLVED]
Kami31 26 июня, 2011 - 20:24
Доброе время суток, уважаемые форумчане!
Появился следующий вопрос: существует ли вменяемый способ настроить внешний вид qt-приложений, чтобы те отрисовывались полностью аналогично текущей теме gtk? Гуглёж натолкнул лишь на попытку поставить x11-themes/qgtkstyle, безуспешную (ибо блокируется x11-libs/qt-gui, от которого и зависит). Пробовал задать тему gtk в qtconfig, но результат не очень радостный -- тема отрисовывается криво, диалог работы с файлами qt-шный... Кто настраивал -- поделитесь опытом, пожалуйста (использовать другую тему не хо, настроить gtk под qt -- тем более, как-то вид qt не нравится, и всё тут...) Спасибо :)
»
- Для комментирования войдите или зарегистрируйтесь

Юз флаги у qt-gui, наверняка
Юз флаги у qt-gui, наверняка не смотрели.
А какой должен быть?
O_o Ну, гтк-шный, вестимо
O_o Ну, гтк-шный, вестимо
Per aspera ad astra
tuupic написал(а): Юз флаги у
Смотрел, да не высмотрел, может, чего?
Per aspera ad astra
home ~ # equery u qt-gui |
home ~ # equery u qt-gui | grep gtk
-gtkstyle
home ~ #
~ ◾ equery u qt-gui
~ ◾ equery u qt-gui 20:13 Вск 2011-06-26 root@l4n732nu5 [ Legend : U - flag is set in make.conf ] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for x11-libs/qt-gui-4.7.2: U I - + accessibility : Adds support for accessibility (eg 'at-spi' library) - - aqua : Include support for the Mac OS X Aqua (Carbon/Cocoa) GUI - - cups : Add support for CUPS (Common Unix Printing System) + + dbus : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc) - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml - - egl : Use EGL instead of default GLX to manage OpenGL contexts on the desktop - + exceptions : Add support for exceptions - like catching them inside the event loop (recommended by Nokia) - + glib : Enable dev-libs/glib eventloop support - + gtkstyle : Build a Qt style called GTK+ that mimics the active GTK+ theme + + mng : Adds support for libmng (MNG images) - - nas : Adds support for network audio sound - - nis : Support for NIS/YP services + + pch : Enable precompiled header support for faster compilation at the expense of disk space and memory (>=sys-devel/gcc-3.4 only) - - private-headers : Install Qt declarative private headers required by Qt-creator QmlDesigner and QmlInspector plugins" - + qt3support : Enable the Qt3Support libraries for Qt4. Note that this does not mean you can compile pure Qt3 programs with Qt4. - - raster : Use the alternative raster graphicssystem as default rendering engine + + tiff : Adds support for the TIFF image format - - trace : Build the new 'trace' graphicsssytem engine which allows to record all drawing operations into a trace buffer. Later it can be replayed with the qttracereplay utility - - xinerama : Add support for the xinerama X11 extension, which is mandatory if you work in multiple monitors setup ~ ◾ 20:14 Вск 2011-06-26 root@l4n732nu5Ну, собран с gtkstyle, а как должно быть? Пасисал же -- гтк тема подхватывается криво... Читал, что есть способ отображать qt как полноценное gtk, с такими же диалогами и виджетами (тот же qgtkstyle, который не собирается). Только как сие настроить????
Per aspera ad astra
Тот же gtkstyle, который не
Тот же gtkstyle, который не собирается - это и есть данный USE флаг как бэ (можете багзиллу почитать почему так). Диалоги qt никак не будет подхватывать, емнип. А виджеты себе вполне. Во всяком случае у меня подхватывал.
Только мне gtk темы не нравятся и я в xfce использую qt-curve
Спасибо за разъясниния :)
Спасибо за разъясниния :) Жаль, значит, похоже, оно не все темы корректно может отображать. А замена диалогов где-то была наверняка, буду гуглить.
Per aspera ad astra