Kirjoittaja Aihe: GTK teemat KDE4:ssa [RATKAISTU]  (Luettu 1848 kertaa)

Exitium

  • Käyttäjä
  • Viestejä: 1013
    • Profiili
GTK teemat KDE4:ssa [RATKAISTU]
« : 24.04.08 - klo:18.54 »
Nyt on uusi Kubuntu 8.04 KDE4 alla. Muuten näyttää toimivan suhteellisen hyvin, vaikkakin pientä häikkää välillä esiitnyy (noh, KDE4.1 odotellessa). Mutta kuitenkin, olisi kova hinku käyttää näitä GTK:lla toteutettuja ohjelmia täällä Kubuntun puolella (mm. Mozilla Firefox). Googlettamisen jälkeen löysin kaksi lupaavaa vaihtoehtoa, eli

http://w.kdelook.org/content/show.php/gtk-kde4?content=74689&PHPSESSID=14105b2517250edc0df7604f4fef765b

sekä

http://www.kde-look.org/content/show.php/GTK-QT+Theme+Engine?content=9714

Mutta kun ei toimi. Ensimmäisen kohdalla herjaa tämmöistä:

Koodia: [Valitse]
henkka@alquzar:~/gtk-kde4$ cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/
CMake Error: ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/henkka/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps
-- Configuring done
henkka@alquzar:~/gtk-kde4$ nano readme
henkka@alquzar:~/gtk-kde4$ sudo make install
make: *** Kohteen "install" tuottamiseen ei ole sääntöä. Seis.
henkka@alquzar:~/gtk-kde4$

Tässä tämän readme:
Lainaus
Created by Konchunas "Apocalypse" Yulian
Ukraine, Khartsizsk, muwee@gala.net
Copyright (C) 2008

Requirements:
cmake 2.4
KDE4
Qt4
If you haven't GNOME, install gtk-engines-pixmap and gtk2-engines-pixbuf.


To install:
cd <path_to_app>
cmake -DCMAKE_INSTALL_PREFIX= <here_you_must_write_your_KDE_installation_directory,_for_example /usr/lib/kde4 etc.>
sudo make install

If this way give no results, try:
Copy kcm_gk4.so into <kde_path>/lib/kde4
Copy kcm_gk4.desktop into <kde_path>/share/kde4/services
Copy gk4icon.png into <kd_path>/share/icons

Notice: You needn't triangle brackets anywhere
Coood luck! ;)

Ja toisessa puolestaan:
Koodia: [Valitse]
henkka@alquzar:~/qt4-gtk$ cmake .
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
CMake Error: Qt qmake not found!
-- Configuring done
henkka@alquzar:~/qt4-gtk$ make
make: *** Kohteita ei ole annettu, eikä makefileä löytynyt. Seis.
henkka@alquzar:~/qt4-gtk$ sudo make install
make: *** Kohteen "install" tuottamiseen ei ole sääntöä. Seis.
henkka@alquzar:~/qt4-gtk$

Ja tässä puolestaan tämän readme:
Lainaus
Prerequisites:
    CMake 2.4
    Qt 4.3 developement package
    GTK developement package

To compile, run the following commands:
    cmake .
    make
    sudo make install

Mielestäni kaikki pitäisi olla asennettuna, joten missä vika?

Kubuntu 8.04 KDE4 64bit
« Viimeksi muokattu: 25.04.08 - klo:16.11 kirjoittanut Tyranido »
Welcome to my signature!

Please note that this signature is licensed under the General Public License. By embedding the signature, or parts of it, into your brain other than by mere aggregation, your brain becomes a combined, and therefore derived, work and thus must be licensed under the GPL too

Exitium

  • Käyttäjä
  • Viestejä: 1013
    • Profiili
Vs: GTK teemat KDE4:ssa
« Vastaus #1 : 25.04.08 - klo:15.38 »
Bump.

Tarvisin yhä apua. Nuo defaultti GTK teemat ovat järkyttävän rumia. :(
Welcome to my signature!

Please note that this signature is licensed under the General Public License. By embedding the signature, or parts of it, into your brain other than by mere aggregation, your brain becomes a combined, and therefore derived, work and thus must be licensed under the GPL too

Exitium

  • Käyttäjä
  • Viestejä: 1013
    • Profiili
Vs: GTK teemat KDE4:ssa
« Vastaus #2 : 25.04.08 - klo:16.10 »
Nonnih. Vihdoin ja viimein internetin syvälle hautautuneiden salaisuuksien pohjalta löytyi ratkaisu. Eli:

Koodia: [Valitse]
sudo apt-get install gtk-qt-engine-kde4
Nyt on hot, GTK ohjelmissa sama teema kuin KDE4:ssa yleensä. Eli ongelma ratkaistu.
Welcome to my signature!

Please note that this signature is licensed under the General Public License. By embedding the signature, or parts of it, into your brain other than by mere aggregation, your brain becomes a combined, and therefore derived, work and thus must be licensed under the GPL too