Using google protobuf with Qt Creator
-
Hey,.. Great. I have done re-installing protobuf using Msys following the steps below
https://stackoverflow.com/a/73287395/10432503Now I can able to run using plain g++ command in the terminal.
But when I do the same in QT , the following error occurs
:-1: error: Dwarf Error: Can't find .debug_ranges section.My .pro file
QT += core guigreaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++17
INCLUDEPATH += C:/protobuf-3.21.11/src
LIBS += -LC:/protobuf-3.21.11/src/.libs -lprotobuf
SOURCES +=
main.cpp
mainwindow.cpp
m.pb.ccHEADERS +=
mainwindow.h
m.pb.hFORMS +=
mainwindow.uiShould I add anything more.?