fail build on bsd
Hi,
I have troubles with build qelectrotech 0.3 on FreeBSD. I ported 0.22 before on FreeBSD, but now... It doesn\'t build:
/usr/local/bin/moc-qt4 -DQET_ALLOW_OVERRIDE_CED_OPTION -DQET_ALLOW_OVERRIDE_CTBTD_OPTION -DQET_ALLOW_OVERRIDE_CD_OPTION -DQET_LANG_PATH=/usr/local/share/qelectrotech/lang/ -DQET_COMMON_COLLECTION_PATH=/usr/local/share/qelectrotech/elements/ -DQET_COMMON_TBT_PATH=/usr/local/share/qelectrotech/titleblocks/ -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtSvg -I/usr/local/include/qt4 -Isources -Isources/editor -Isources/titleblock -Idebug -Isources/ui -I/usr/local/include/qt4 -I/usr/local/include sources/closediagramsdialog.h -o debug/moc_closediagramsdialog.cpp
g++ -c -pipe -g -Wall -W -pthread -D_THREAD_SAFE -DQET_ALLOW_OVERRIDE_CED_OPTION -DQET_ALLOW_OVERRIDE_CTBTD_OPTION -DQET_ALLOW_OVERRIDE_CD_OPTION -DQET_LANG_PATH=/usr/local/share/qelectrotech/lang/ -DQET_COMMON_COLLECTION_PATH=/usr/local/share/qelectrotech/elements/ -DQET_COMMON_TBT_PATH=/usr/local/share/qelectrotech/titleblocks/ -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtSvg -I/usr/local/include/qt4 -Isources -Isources/editor -Isources/titleblock -Idebug -Isources/ui -I/usr/local/include/qt4 -I/usr/local/include -o debug/closediagramsdialog.o sources/closediagramsdialog.cpp
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)
/usr/local/include/qt4/QtGui/qwindowdefs.h:148: error: provided for \'template class QHash\'
sources/nameslist.h:59: error: default argument missing for parameter 3 of \'void NamesList::fromXml(const QDomElement&, const QHash&, QString)\'
sources/nameslist.h:60: error: wrong number of template arguments (1, should be 2)
/usr/local/include/qt4/QtGui/qwindowdefs.h:148: error: provided for \'template class QHash\'
sources/nameslist.h:60: error: default argument missing for parameter 3 of \'QDomElement NamesList::toXml(QDomDocument&, const QHash&, QString) const\'
sources/nameslist.h:63: error: wrong number of template arguments (1, should be 2)
/usr/local/include/qt4/QtGui/qwindowdefs.h:148: error: provided for \'template class QHash\'
sources/nameslist.h:63: error: default argument missing for parameter 2 of \'QHash NamesList::getXmlOptions(const QHash&, QString) const\'
*** [debug/bordertitleblock.o] Error code 1
et ça resemble bien a l'erreur de paolo sur son mac !
Hi, I'm trying to compile QElecroTech 0.3 under Mac OS X Lion, but stops
on this error:
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)
/Library/Frameworks/QtGui.framework/Headers/qwindowdefs.h:148: 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)
/Library/Frameworks/QtGui.framework/Headers/qwindowdefs.h:148: 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)
/Library/Frameworks/QtGui.framework/Headers/qwindowdefs.h:148: 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
Compiler is llvm-gcc42 provided by apple (and supported by QT 4.8), if I try to compile with gcc46 (from macports) the executable is created but crash after the splash screen.
QElectroTech 0.22 compile just fine under the same environment.
https://redports.org/~zloidemon/2013101 … -0.3,1.log
"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !