Juste une petite précision, lors de l'exécution de ./configure, une erreur peut survenir :
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
So, check this please and use another prefix!
J'ai résolu ce problème en installant le paquet suivant : kdelibs4-dev
A rajouter donc :
sudo apt-get install kdelibs4-dev
En revanche, le make ne fonctionne pas par la suite :
Good - your configure finished. Start make now
adji@linux-workstation:~/Bureau/moodin$ make
make all-recursive
make[1]: entrant dans le répertoire « /home/adji/Bureau/moodin »
Making all in src
make[2]: entrant dans le répertoire « /home/adji/Bureau/moodin/src »
if /bin/bash ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/share/qt3/include -I. -I/usr/include/kde/ksplash -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT thememoodin.lo -MD -MP -MF ".deps/thememoodin.Tpo" \
-c -o thememoodin.lo `test -f 'thememoodin.cpp' || echo './'`thememoodin.cpp; \
then mv -f ".deps/thememoodin.Tpo" ".deps/thememoodin.Plo"; \
else rm -f ".deps/thememoodin.Tpo"; exit 1; \
fi
In file included from thememoodin.cpp:32:
thememoodin.h:20:25: error: themeengine.h: No such file or directory
thememoodin.h:21:24: error: objkstheme.h: No such file or directory
In file included from /usr/share/qt3/include/qwindowdefs.h:47,
from /usr/share/qt3/include/qwidget.h:45,
from /usr/share/qt3/include/qdesktopwidget.h:43,
from /usr/share/qt3/include/qapplication.h:45,
from /usr/include/kde/kapplication.h:38,
from thememoodin.cpp:12:
/usr/share/qt3/include/qstring.h: In member function 'char QChar::latin1() const':
/usr/share/qt3/include/qstring.h:197: warning: conversion to 'char' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In member function 'void QChar::setCell(uchar)':
/usr/share/qt3/include/qstring.h:222: warning: conversion to 'ushort' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In member function 'void QChar::setRow(uchar)':
/usr/share/qt3/include/qstring.h:223: warning: conversion to 'ushort' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)':
/usr/share/qt3/include/qstring.h:267: warning: conversion to 'ushort' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)':
/usr/share/qt3/include/qstring.h:365: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
/usr/share/qt3/include/qstring.h:365: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
In file included from /usr/share/qt3/include/qobject.h:48,
from /usr/share/qt3/include/qwidget.h:46,
from /usr/share/qt3/include/qdesktopwidget.h:43,
from /usr/share/qt3/include/qapplication.h:45,
from /usr/include/kde/kapplication.h:38,
from thememoodin.cpp:12:
/usr/share/qt3/include/qevent.h: In member function 'void QDropEvent::setAction(QDropEvent::Action)':
/usr/share/qt3/include/qevent.h:523: warning: conversion to 'unsigned char' from 'uint' may alter its value
In file included from /usr/share/qt3/include/qwidget.h:52,
from /usr/share/qt3/include/qdesktopwidget.h:43,
from /usr/share/qt3/include/qapplication.h:45,
from /usr/include/kde/kapplication.h:38,
from thememoodin.cpp:12:
/usr/share/qt3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()':
/usr/share/qt3/include/qsizepolicy.h:125: warning: conversion to 'uchar' from 'uint' may alter its value
/usr/share/qt3/include/qsizepolicy.h:125: warning: conversion to 'uchar' from 'uint' may alter its value
In file included from thememoodin.cpp:24:
/usr/share/qt3/include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
/usr/share/qt3/include/qimage.h:61: warning: suggest parentheses around && within ||
In file included from thememoodin.cpp:32:
thememoodin.h: At global scope:
thememoodin.h:34: error: expected class-name before '{' token
thememoodin.h:41: warning: type qualifiers ignored on function return type
thememoodin.cpp: In constructor 'ThemeMoodin::ThemeMoodin(QWidget*, const char*, const QStringList&)':
thememoodin.cpp:38: error: class 'ThemeMoodin' does not have any field named 'ThemeEngine'
thememoodin.cpp: In member function 'void ThemeMoodin::readSettings()':
thememoodin.cpp:47: error: 'mTheme' was not declared in this scope
thememoodin.cpp:77: warning: conversion to 'float' from 'double' may alter its value
thememoodin.cpp: In member function 'void ThemeMoodin::init()':
thememoodin.cpp:114: error: 'NoBackground' was not declared in this scope
thememoodin.cpp:114: error: 'setBackgroundMode' was not declared in this scope
thememoodin.cpp:115: error: 'setFixedSize' was not declared in this scope
thememoodin.cpp:117: error: no matching function for call to 'QWidget::QWidget(ThemeMoodin* const)'
/usr/share/qt3/include/qwidget.h:741: note: candidates are: QWidget::QWidget(const QWidget&)
/usr/share/qt3/include/qwidget.h:142: note: QWidget::QWidget(QWidget*, const char*, uint)
thememoodin.cpp:118: error: 'size' was not declared in this scope
thememoodin.cpp:120: error: 'mTheme' was not declared in this scope
thememoodin.cpp:133: error: 'move' was not declared in this scope
thememoodin.cpp: In member function 'void ThemeMoodin::initBackground(QPainter*)':
thememoodin.cpp:156: error: 'mTheme' was not declared in this scope
thememoodin.cpp:160: error: 'mTheme' was not declared in this scope
thememoodin.cpp:160: error: 'width' was not declared in this scope
thememoodin.cpp:160: error: 'height' was not declared in this scope
thememoodin.cpp:163: error: 'mTheme' was not declared in this scope
thememoodin.cpp:167: error: no matching function for call to 'KMessageBox::error(ThemeMoodin* const, QString)'
/usr/include/kde/kmessagebox.h:601: note: candidates are: static void KMessageBox::error(QWidget*, const QString&, const QString&, int)
thememoodin.cpp: In member function 'void ThemeMoodin::initEffectWidgets()':
thememoodin.cpp:235: error: 'mTheme' was not declared in this scope
thememoodin.cpp: In member function 'void ThemeMoodin::arrangeWidget(QWidget*, int)':
thememoodin.cpp:270: error: 'width' was not declared in this scope
thememoodin.cpp:270: error: 'height' was not declared in this scope
thememoodin.cpp: In member function 'void ThemeMoodin::slotSetPixmap(const QString&)':
thememoodin.cpp:349: error: 'repaint' was not declared in this scope
In file included from thememoodin.cpp:389:
thememoodin.moc: In static member function 'static QMetaObject* ThemeMoodin::staticMetaObject()':
thememoodin.moc:54: error: 'ThemeEngine' has not been declared
thememoodin.moc: In member function 'virtual void* ThemeMoodin::qt_cast(const char*)':
thememoodin.moc:84: error: 'ThemeEngine' has not been declared
thememoodin.moc: In member function 'virtual bool ThemeMoodin::qt_invoke(int, QUObject*)':
thememoodin.moc:93: error: 'ThemeEngine' has not been declared
thememoodin.moc: In member function 'virtual bool ThemeMoodin::qt_emit(int, QUObject*)':
thememoodin.moc:100: error: 'ThemeEngine' has not been declared
thememoodin.moc: In member function 'virtual bool ThemeMoodin::qt_property(int, int, QVariant*)':
thememoodin.moc:106: error: 'ThemeEngine' has not been declared
/usr/include/kde/kgenericfactory.h: In member function 'QObject* KGenericFactory<Product, ParentType>::createObject(QObject*, const char*, const char*, const QStringList&) [with Product = ThemeMoodin, ParentType = QObject]':
thememoodin.moc:109: instantiated from here
/usr/include/kde/kgenericfactory.h:194: error: cannot convert 'ThemeMoodin*' to 'QObject*' in return
/usr/include/kde/kgenericfactory.tcc: In static member function 'static Product* KDEPrivate::ConcreteFactory<Product, ParentType>::create(QWidget*, const char*, QObject*, const char*, const QStringList&, KDEPrivate::Type2Type<QObject>) [with Product = ThemeMoodin, ParentType = QObject]':
/usr/include/kde/kgenericfactory.tcc:133: instantiated from 'static Product* KDEPrivate::ConcreteFactory<Product, ParentType>::create(QWidget*, const char*, QObject*, const char*, const char*, const QStringList&) [with Product = ThemeMoodin, ParentType = QObject]'
/usr/include/kde/kgenericfactory.h:194: instantiated from 'QObject* KGenericFactory<Product, ParentType>::createObject(QObject*, const char*, const char*, const QStringList&) [with Product = ThemeMoodin, ParentType = QObject]'
thememoodin.moc:109: instantiated from here
/usr/include/kde/kgenericfactory.tcc:167: error: invalid conversion from 'QObject*' to 'QWidget*'
/usr/include/kde/kgenericfactory.tcc:167: error: initializing argument 1 of 'ThemeMoodin::ThemeMoodin(QWidget*, const char*, const QStringList&)'
make[2]: *** [thememoodin.lo] Erreur 1
make[2]: quittant le répertoire « /home/adji/Bureau/moodin/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/adji/Bureau/moodin »
make: *** [all] Erreur 2
Quelqu'un aurait-il une idée ???