[MacPorts] #20390: building qcadlib failed - Qt errors ?
#20390: building qcadlib failed - Qt errors ? ---------------------------+------------------------------------------------ Reporter: ewira@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: Qt ---------------------------+------------------------------------------------ {{{ -------- Building qcadlib -------- make prepare test -d ./include || mkdir -p ./include ( cd ./include; rm -f *.h; \ for hf in `find ../src -name '*.h'`; do \ if [ "x$OS" = "xWindows_NT" ]; then \ cp "$hf" .; \ else \ ln -s "$hf" 2> /dev/null; \ fi \ done ) rm -f ./lib/libqcad.a make ./lib/libqcad.a make src/Makefile make[2]: `src/Makefile' is up to date. cd src && make g++ -c -pipe -pedantic -Os -Wall -W -fPIC -DRS_NO_COMPLEX_ENTITIES -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../libexec/qt4-x11/mkspecs/macx-g++ -I. -I../../../libexec/qt4-x11/include/QtCore -I../../../libexec/qt4-x11/include/QtCore -I../../../libexec/qt4-x11/include/QtGui -I../../../libexec/qt4-x11/include/QtGui -I../../../libexec/qt4-x11/include -I../include -I../../dxflib/include -I../../fparser/include -I../../qcadcmd/include -Imoc -I. -o obj/rs_actioninterface.o actions/rs_actioninterface.cpp In file included from ../include/rs_entity.h:33, from ../include/rs_atomicentity.h:31, from ../include/rs_arc.h:30, from ../include/rs_entitycontainer.h:31, from actions/rs_actioninterface.h:34, from actions/rs_actioninterface.cpp:28: ../include/rs_dict.h:31:19: error: qdict.h: No such file or directory In file included from ../include/rs_entitycontainer.h:37, from actions/rs_actioninterface.h:34, from actions/rs_actioninterface.cpp:28: ../include/rs_ptrlist.h:32:22: error: qptrlist.h: No such file or directory ../../../libexec/qt4-x11/include/QtCore/qglobal.h:741: error: ISO C++ does not support ‘long long’ ../../../libexec/qt4-x11/include/QtCore/qglobal.h:742: error: ISO C++ does not support ‘long long’ ../../../libexec/qt4-x11/include/QtCore/qglobal.h:1832: error: redefinition of ‘class QTypeInfo<long int>’ ../../../libexec/qt4-x11/include/QtCore/qglobal.h:1830: error: previous definition of ‘class QTypeInfo<long int>’ ../../../libexec/qt4-x11/include/QtCore/qglobal.h:1833: error: redefinition of ‘class QTypeInfo<ulong>’ ../../../libexec/qt4-x11/include/QtCore/qglobal.h:1831: error: previous definition of ‘class QTypeInfo<ulong>’ ../../../libexec/qt4-x11/include/QtCore/qstring.h:134: error: ‘QString QString::arg(long int, int, int, const QChar&) const’ and ‘QString QString::arg(qlonglong, int, int, const QChar&) const’ cannot be overloaded ../../../libexec/qt4-x11/include/QtCore/qstring.h:136: error: ‘QString QString::arg(ulong, int, int, const QChar&) const’ and ‘QString QString::arg(qulonglong, int, int, const QChar&) const’ cannot be overloaded ../../../libexec/qt4-x11/include/QtCore/qstring.h:356: error: ‘QString& QString::setNum(qlonglong, int)’ and ‘QString& QString::setNum(long int, int)’ cannot be overloaded ../../../libexec/qt4-x11/include/QtCore/qstring.h:357: error: ‘QString& QString::setNum(qulonglong, int)’ and ‘QString& QString::setNum(ulong, int)’ cannot be overloaded ../../../libexec/qt4-x11/include/QtCore/qstring.h:365: error: ‘static QString QString::number(qlonglong, int)’ and ‘static QString QString::number(long int, int)’ cannot be overloaded ../../../libexec/qt4-x11/include/QtCore/qstring.h:366: error: ‘static QString QString::number(qulonglong, int)’ and ‘static QString QString::number(ulong, int)’ cannot be overloaded ../../../libexec/qt4-x11/include/QtCore/qmetatype.h:302: error: redefinition of ‘struct QMetaTypeId2<long int>’ ../../../libexec/qt4-x11/include/QtCore/qmetatype.h:292: error: previous definition of ‘struct QMetaTypeId2<long int>’ ../../../libexec/qt4-x11/include/QtCore/qmetatype.h:303: error: redefinition of ‘struct QMetaTypeId2<ulong>’ ../../../libexec/qt4-x11/include/QtCore/qmetatype.h:295: error: previous definition of ‘struct QMetaTypeId2<ulong>’ ../include/rs.h:597: error: ‘ShiftButton’ is not a member of ‘Qt’ ../include/rs.h:598: error: ‘ControlButton’ is not a member of ‘Qt’ ../include/rs.h:599: error: ‘AltButton’ is not a member of ‘Qt’ ../include/rs.h:601: error: ‘MetaButton’ is not a member of ‘Qt’ ../include/rs.h:603: error: ‘KeyButtonMask’ is not a member of ‘Qt’ ../include/rs.h:604: error: ‘Keypad’ is not a member of ‘Qt’ ../include/rs.h:610: error: ‘ButtonState’ in namespace ‘Qt’ does not name a type ../include/rs.h:617: error: ‘Qt::ButtonState’ has not been declared ../include/rs.h: In static member function ‘static Qt::CursorShape RS2::rsToQtCursorType(RS2::CursorType)’: ../include/rs.h:952: error: ‘IbeamCursor’ is not a member of ‘Qt’ ../include/rs_color.h: In function ‘std::ostream& operator<<(std::ostream&, const RS_Color&)’: ../include/rs_color.h:87: error: ‘class QString’ has no member named ‘latin1’ ../include/rs_math.h: In static member function ‘static double RS_Math::eval(const QString&, bool*)’: ../include/rs_math.h:107: error: ‘class QString’ has no member named ‘find’ ../include/rs_math.h:109: error: ‘class QString’ has no member named ‘find’ ../include/rs_math.h:117: error: ‘class QString’ has no member named ‘latin1’ ../include/rs_entity.h: At global scope: ../include/rs_entity.h:522: error: ISO C++ forbids declaration of ‘QDict’ with no type ../include/rs_entity.h:522: error: expected ‘;’ before ‘<’ token ../include/rs_entitycontainer.h:104: error: ISO C++ forbids declaration of ‘QPtrListIterator’ with no type ../include/rs_entitycontainer.h:104: error: expected ‘;’ before ‘<’ token ../include/rs_entitycontainer.h:188: error: ISO C++ forbids declaration of ‘QPtrList’ with no type ../include/rs_entitycontainer.h:188: error: expected ‘;’ before ‘<’ token ../include/rs_layerlist.h:114: error: ISO C++ forbids declaration of ‘QPtrList’ with no type ../include/rs_layerlist.h:114: error: expected ‘;’ before ‘<’ token ../include/rs_layerlist.h:116: error: ISO C++ forbids declaration of ‘QPtrList’ with no type ../include/rs_layerlist.h:116: error: expected ‘;’ before ‘<’ token ../include/rs_layerlist.h: In member function ‘uint RS_LayerList::count() const’: ../include/rs_layerlist.h:55: error: ‘layers’ was not declared in this scope ../include/rs_layerlist.h: In member function ‘RS_Layer* RS_LayerList::at(uint)’: ../include/rs_layerlist.h:62: error: ‘layers’ was not declared in this scope ../include/rs_undocycle.h: At global scope: ../include/rs_undocycle.h:123: error: ISO C++ forbids declaration of ‘QPtrList’ with no type ../include/rs_undocycle.h:123: error: expected ‘;’ before ‘<’ token ../include/rs_undocycle.h: In constructor ‘RS_UndoCycle::RS_UndoCycle()’: ../include/rs_undocycle.h:58: error: ‘undoables’ was not declared in this scope ../include/rs_undocycle.h: In member function ‘void RS_UndoCycle::addUndoable(const RS_Undoable*)’: ../include/rs_undocycle.h:66: error: ‘undoables’ was not declared in this scope ../include/rs_undocycle.h: In member function ‘void RS_UndoCycle::removeUndoable(RS_Undoable*)’: ../include/rs_undocycle.h:73: error: ‘undoables’ was not declared in this scope ../include/rs_undocycle.h: In member function ‘RS_Undoable* RS_UndoCycle::getFirstUndoable()’: ../include/rs_undocycle.h:80: error: ‘undoables’ was not declared in this scope ../include/rs_undocycle.h: In member function ‘RS_Undoable* RS_UndoCycle::getNextUndoable()’: ../include/rs_undocycle.h:87: error: ‘undoables’ was not declared in this scope ../include/rs_undo.h: At global scope: ../include/rs_undo.h:74: error: ISO C++ forbids declaration of ‘QPtrList’ with no type ../include/rs_undo.h:74: error: expected ‘;’ before ‘<’ token ../include/rs_block.h: In function ‘std::ostream& operator<<(std::ostream&, const RS_Block&)’: ../include/rs_block.h:147: error: ‘class QString’ has no member named ‘latin1’ ../include/rs_blocklist.h: At global scope: ../include/rs_blocklist.h:121: error: ISO C++ forbids declaration of ‘QPtrList’ with no type ../include/rs_blocklist.h:121: error: expected ‘;’ before ‘<’ token ../include/rs_blocklist.h:123: error: ISO C++ forbids declaration of ‘QPtrList’ with no type ../include/rs_blocklist.h:123: error: expected ‘;’ before ‘<’ token ../include/rs_blocklist.h: In member function ‘uint RS_BlockList::count()’: ../include/rs_blocklist.h:54: error: ‘blocks’ was not declared in this scope ../include/rs_blocklist.h: In member function ‘RS_Block* RS_BlockList::at(uint)’: ../include/rs_blocklist.h:61: error: ‘blocks’ was not declared in this scope ../include/rs_variabledict.h: At global scope: ../include/rs_variabledict.h:69: error: ISO C++ forbids declaration of ‘QDict’ with no type ../include/rs_variabledict.h:69: error: expected ‘;’ before ‘<’ token ../include/rs_variabledict.h:75: error: expected `;' before ‘friend’ ../include/rs_variabledict.h:79: error: ISO C++ forbids declaration of ‘QDict’ with no type ../include/rs_variabledict.h:79: error: expected ‘;’ before ‘<’ token ../include/rs_variabledict.h: In member function ‘int RS_VariableDict::count()’: ../include/rs_variabledict.h:54: error: ‘variables’ was not declared in this scope ../include/rs_graphic.h: At global scope: ../include/rs_graphic.h:214: error: ISO C++ forbids declaration of ‘QDict’ with no type ../include/rs_graphic.h:214: error: expected ‘;’ before ‘<’ token ../include/rs_graphic.h:218: error: expected `;' before ‘RS2’ ../../qcadcmd/include/rs_commands.h:78: error: ISO C++ forbids declaration of ‘QDict’ with no type ../../qcadcmd/include/rs_commands.h:78: error: expected ‘;’ before ‘<’ token ../../qcadcmd/include/rs_commands.h:79: error: ISO C++ forbids declaration of ‘QDict’ with no type ../../qcadcmd/include/rs_commands.h:79: error: expected ‘;’ before ‘<’ token make[2]: *** [obj/rs_actioninterface.o] Error 1 make[1]: *** [lib/libqcad.a] Error 2 make: *** [all] Error 2 Building qcadlib failed }}} -- Ticket URL: <http://trac.macports.org/ticket/20390> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20390: building qcadlib failed - Qt errors ? ---------------------------+------------------------------------------------ Reporter: ewira@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: qt4-x11 ---------------------------+------------------------------------------------ Changes (by macsforever2000@…): * owner: macports-tickets@… => mcalhoun@… * port: Qt => qt4-x11 -- Ticket URL: <http://trac.macports.org/ticket/20390#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts