- Status Closed
- Percent Complete
- Task Type Bug Report
- Category QCAD (main)
-
Assigned To
Andrew - Operating System All
- Severity Low
- Priority Very Low
- Reported Version 3.3.4
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: QCAD Bugtracker
Opened by Tamas TEVESZ - 18.10.2013
Last edited by Andrew - 18.10.2013
Opened by Tamas TEVESZ - 18.10.2013
Last edited by Andrew - 18.10.2013
FS#946 - a79f70 broke examples/mainwindow/
I suspect it was a79f70, that’s when setCustomProperty() and friends changed.
(slightly reformatted so it doesn’t completely break preformatted display)
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -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/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../../../src/core -I../../../src/core/math -I../../../src/grid -I../../../src/snap -I../../../src/gui -I../../../src/entity -I../../../src/operations -I../../../src/scripting -I../../../src/stemmer -I../../../src/scripting/ecmaapi -I../../../src/scripting/ecmaapi/generated -I../../../src/scripting/ecmaapi/adapters -I../../../src/io/dxf -I../../../src/spatialindex -I../../../src/3rdparty -I/usr/X11R6/include -Irelease -o release/MainWindow.o MainWindow.cpp In file included from MainWindow.cpp:13:0: ../../../src/spatialindex/RSpatialIndexNavel.h: In member function ‘virtual void RSpatialIndexNavel::Visitor::visitData(std::vector<const SpatialIndex::IData*>&)’: ../../../src/spatialindex/RSpatialIndexNavel.h:191:77: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 2 has type ‘SpatialIndex::id_type {aka long int}’ [-Wformat] MainWindow.cpp: In constructor ‘MainWindow::MainWindow(QWidget*)’: MainWindow.cpp:79:54: error: no matching function for call to ‘RLineEntity::setCustomProperty(const char [14], int)’ MainWindow.cpp:79:54: note: candidate is: ../../../src/core/RObject.h:165:10: note: void RObject::setCustomProperty(const QString&, const QString&, const QVariant&) ../../../src/core/RObject.h:165:10: note: candidate expects 3 arguments, 2 provided MainWindow.cpp:80:66: error: no matching function for call to ‘RLineEntity::setCustomProperty(const char [17], const char [10])’ MainWindow.cpp:80:66: note: candidate is: ../../../src/core/RObject.h:165:10: note: void RObject::setCustomProperty(const QString&, const QString&, const QVariant&) ../../../src/core/RObject.h:165:10: note: candidate expects 3 arguments, 2 provided make[4]: *** [release/MainWindow.o] Error 1
Linux, Qt 4.8.1, GCC 4.6.4
Closed by Andrew
18.10.2013 20:38
Reason for closing: Fixed
Additional comments about closing:
18.10.2013 20:38
Reason for closing: Fixed
Additional comments about closing:
https://github.com/qcad/qcad/commit /a593bd0f7b2c8f0484c7244d32c37b122a5963f 8