[SOLVED] compile error with current master (19)

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
hinckel
Posts: 111
Joined: Fri Nov 21, 2014 11:45 am
Location: SJCAMPOS, SP - BR

[SOLVED] compile error with current master (19)

Post by hinckel »

Code: Select all

/home/hinckel/FreeCAD/FreeCAD/src/Gui/DlgParameterImp.cpp:415:58: error: conversion from ‘QByteArray’ to non-scalar type ‘std::__cxx11::string {aka std::__cxx11::basic_string<char>}’ requested
             std::string groupName = sel->text(0).toLatin1();
                                     ~~~~~~~~~~~~~~~~~~~~~^~
make[2]: *** [src/Gui/CMakeFiles/FreeCADGui.dir/build.make:2105: src/Gui/CMakeFiles/FreeCADGui.dir/DlgParameterImp.cpp.o] Error 1
Last edited by hinckel on Sat Oct 19, 2019 11:21 pm, edited 1 time in total.
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: compile error with current master (19)

Post by vocx »

hinckel wrote: Fri Oct 18, 2019 4:59 pm

Code: Select all

             std::string groupName = sel->text(0).toLatin1();
The problem was already solved in git commit 4614eb92a22.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Post Reply