Bonjour,
Voici un retour sur la compilation de la 0.3 sur Mac :
J'utilise avec succès la version 0.3 avec Wine sous Mac OS 10.6.8 et j'ai tenté la compilation des sources de la 0.3 à partir du svn (release 1624). La compilation n'aboutit pas et voici l'erreur que j'obtiens :
In file included from sources/titleblockcell.h:20,
from sources/titleblocktemplate.h:23,
from sources/bordertitleblock.cpp:19:
sources/nameslist.h:59: error: expected ‘,’ or ‘...’ before ‘>’ token
sources/nameslist.h:60: error: expected ‘,’ or ‘...’ before ‘>’ token
sources/nameslist.h:63: error: expected ‘,’ or ‘...’ before ‘>’ token
sources/nameslist.h:59: error: wrong number of template arguments (1, should be 2)
/opt/local/libexec/qt4-mac/include/QtGui/qwindowdefs.h:142: error: provided for ‘template<class K, class V> class QHash’
sources/nameslist.h:59: error: default argument missing for parameter 3 of ‘void NamesList::fromXml(const QDomElement&, const QHash<QString, QString>&, QString)’
sources/nameslist.h:60: error: wrong number of template arguments (1, should be 2)
/opt/local/libexec/qt4-mac/include/QtGui/qwindowdefs.h:142: error: provided for ‘template<class K, class V> class QHash’
sources/nameslist.h:60: error: default argument missing for parameter 3 of ‘QDomElement NamesList::toXml(QDomDocument&, const QHash<QString, QString>&, QString) const’
sources/nameslist.h:63: error: wrong number of template arguments (1, should be 2)
/opt/local/libexec/qt4-mac/include/QtGui/qwindowdefs.h:142: error: provided for ‘template<class K, class V> class QHash’
sources/nameslist.h:63: error: default argument missing for parameter 2 of ‘QHash<QString, QString> NamesList::getXmlOptions(const QHash<QString, QString>&, QString) const’
make[1]: *** [release/bordertitleblock.o] Error 1
make: *** [release] Error 2
Si vous avez une idée ...
J'ai installé le SDK de Qt :
QMake version 2.01a
Using Qt version 4.6.3 in /opt/local/libexec/qt4-mac/lib
En revanche, la compilation de la version trunk se passe parfaitement ...
Bravo pour le soft ! Simple et efficace ...