QCAD

QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

Please search for existing tasks (also closed ones) before opening a new task.

Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help - Check for Updates)

Tasklist

FS#960 - Pinch gesture support bindings broke FreeBSD build

Attached to Project: QCAD
Opened by Tamas TEVESZ (kazmer) - Monday, 28 October 2013, 12:08 GMT+1
Last edited by Andrew (andrew) - Monday, 28 October 2013, 12:26 GMT+1
Task Type Bug Report
Category Main
Status Closed
Assigned To Andrew (andrew)
Operating System All
Severity Low
Priority Normal
Reported Version 3.4.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

g++ -c -pipe -O2 -Wall -W -pthread -D_THREAD_SAFE -fPIC -DQCAD_DLL -DPTHREADS 
  -DHAVE_PTHREAD_H -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SCRIPT_LIB
  -DQT_SCRIPTTOOLS_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB
  -DQT_OPENGL_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/QtHelp
  -I/usr/local/include/qt4/QtDesigner -I/usr/local/include/qt4/QtUiTools
  -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtNetwork
  -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtOpenGL
  -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtXmlPatterns
  -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtSvg
  -I/usr/local/include/qt4/QtScriptTools -I/usr/local/include/qt4/QtScript
  -I/usr/local/include/qt4/QtWebKit -I/usr/local/include/qt4 -I../../../../core
  -I../../../../core/math -I../../../../grid -I../../../../snap -I../../../../gui
  -I../../../../entity -I../../../../operations -I../../../../scripting
  -I../../../../stemmer -I../../../../scripting/ecmaapi
  -I../../../../scripting/ecmaapi/generated
  -I../../../../scripting/ecmaapi/adapters -I../../../../io/dxf
  -I../../../../spatialindex -I../../../../3rdparty -I. -I/usr/local/include
  -Irelease -I/usr/local/include/qt4 -I/usr/local/include -o
  release/qtscript_QPinchGesture.o
  ../../generated_cpp/com_trolltech_qt_gui/qtscript_QPinchGesture.cpp
../../generated_cpp/com_trolltech_qt_gui/qtscript_QPinchGesture.cpp:53: error: 
  redefinition of 'struct QMetaTypeId<QFlags<QPinchGesture::ChangeFlag> >'
/usr/local/include/qt4/QtGui/qgesture.h:202: error: previous definition of 
  'struct QMetaTypeId<QFlags<QPinchGesture::ChangeFlag> >'
../../generated_cpp/com_trolltech_qt_gui/qtscript_QPinchGesture.cpp:240: 
  warning: 'QScriptValue qtscript_QPinchGesture_prototype_call(QScriptContext*,
  QScriptEngine*)' defined but not used
*** [release/qtscript_QPinchGesture.o] Error code 1
$ sed '202!d' /usr/local/include/qt4/QtGui/qgesture.h
Q_DECLARE_METATYPE(QPinchGesture::ChangeFlags)
$ sed '53!d' <...>/qt-labs-qtscriptgenerator-4.8.5/<...>/qtscript_QPinchGesture.cpp
Q_DECLARE_METATYPE(QFlags<QPinchGesture::ChangeFlag>)

Using Qt version 4.8.5 in /usr/local/lib/qt4.

This task depends upon

Closed by  Andrew (andrew)
Monday, 28 October 2013, 12:26 GMT+1
Reason for closing:  Fixed
Additional comments about closing:  https://github.com/qcad/qcad/commit/6c5d 86a426732c660d7133e3d6b234b42079ee6b

Loading...