Re: [qet] Compiling on Mac OS X

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Le mercredi 2 octobre 2013 16:33:04 Paolo a écrit :

> 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.

>

> BTW the captcha in the bug tracker is broken so I cannot register there...

 

 

Hi paolo,

 

Thanks to build Qet on Mac OS X Lion

 

I found this page which help you but is in french

http://qelectrotech.org/forum/viewtopic.php?pid=947#p947

 

update g++ is can solve this problem

 

 

regards,

laurent

we are looking for a packer for Mac OS X

 

 

 



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/