LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How to install gtk-qt-engine-1.1 in KDE 4.1.2? (https://www.linuxquestions.org/questions/slackware-14/how-to-install-gtk-qt-engine-1-1-in-kde-4-1-2-a-678723/)

rangertang 10-24-2008 12:22 AM

How to install gtk-qt-engine-1.1 in KDE 4.1.2?
 
Is there anybody has installed gtk-qt-engine-1.1 in KDE 4.1.2 successfully?
I tried both compiling with source code downloaded from official website and installing with slackbuilds(of course i modified something to fit the new version). But both failed with the same compile errors.

The error message is:

[ 12%] Building C object src/CMakeFiles/qt4engine.dir/qt_theme_draw.o
/usr/src/gtk-qt-engine/src/qt_theme_draw.c: In function ‘get_shadowType’:
/usr/src/gtk-qt-engine/src/qt_theme_draw.c:64: warning: unused parameter ‘style’
/usr/src/gtk-qt-engine/src/qt_theme_draw.c: In function ‘draw_hline’:
/usr/src/gtk-qt-engine/src/qt_theme_draw.c:119: error: implicit declaration of function ‘abs’
/usr/src/gtk-qt-engine/src/qt_theme_draw.c:111: warning: unused parameter ‘area’
......(blablabla, a lot of warnings)
/usr/src/gtk-qt-engine/src/qt_theme_draw.c: In function ‘set_background’:
/usr/src/gtk-qt-engine/src/qt_theme_draw.c:1631: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[2]: *** [src/CMakeFiles/qt4engine.dir/qt_theme_draw.o] Error 1
make[1]: *** [src/CMakeFiles/qt4engine.dir/all] Error 2
make: *** [all] Error 2

Anyone has any solution? Thanks!:)

BTW, I have upgraded to current(l directory).

David the H. 10-24-2008 02:14 AM

Is the engine even compatible with kde4? It's my impression that it's a kde3 theming engine.

rangertang 10-24-2008 02:54 AM

Quote:

Originally Posted by David the H. (Post 3320525)
Is the engine even compatible with kde4? It's my impression that it's a kde3 theming engine.

I read the CHANGELOGS, and it says:

Changes in version 1.1

New features and general improvements:
Renamed the Qt4 version to be different from the old Qt3 version so that both can be installed at the same time.

Changes in version 1.0

New features and general improvements:
Ported the theme engine to Qt4. The Qt3 version will no longer be developed, but can still be downloaded in the "Older versions" section.
i18n:
Updated .pot file
Czech translation by David Watzke
Italian translation by Davide Madrisan

So I think it's compatible with KDE 4, or at least it should be...:p

rangertang 10-27-2008 08:06 PM

OK, now I know how to install...

The primary problem is about bonobo, which means you have to get libbonobo and libbonoboui. Of course you have to install a lot of other packages before you can get libbonobo and libbonoboui to work.

BTW, there are still some bugs with gtk-qt-engine-1.1 (in KDE 4.1.2). Such as FireFox-3.0.3 will not display properly, specially when you opened more than two tabs, the same prolem is with scroll bar too.


All times are GMT -5. The time now is 06:46 PM.